AzureStorage.FileShare (ExAzureStorage v0.1.0) View Source

Azure File Service

ref. https://docs.microsoft.com/en-us/rest/api/storageservices/file-service-rest-api

Link to this section Summary

Functions

The Create Share operation creates a new share under the specified account. If the share with the same name already exists, the operation fails.

The Delete Share operation marks the specified share or share snapshot for deletion. The share or share snapshot and any files contained within it are later deleted during garbage collection.

The List Directories and Files operation returns a list of files or directories under the specified share or directory. It lists the contents only for a single level of the directory hierarchy.

The List Shares operation returns a list of the shares and share snapshots under the specified account.

Link to this section Functions

Link to this function

create_share(context, share)

View Source

The Create Share operation creates a new share under the specified account. If the share with the same name already exists, the operation fails.

Link to this function

delete_share(context, share)

View Source

The Delete Share operation marks the specified share or share snapshot for deletion. The share or share snapshot and any files contained within it are later deleted during garbage collection.

Link to this function

dir(context, share, path, options \\ [])

View Source

The List Directories and Files operation returns a list of files or directories under the specified share or directory. It lists the contents only for a single level of the directory hierarchy.

ref. https://docs.microsoft.com/en-us/rest/api/storageservices/list-directories-and-files

The List Shares operation returns a list of the shares and share snapshots under the specified account.