Skip to main content

file_shares

Overview

Namefile_shares
TypeResource
Idazure.storage.file_shares

Fields

NameDatatypeDescription
etagstringResource Etag.
propertiesobjectThe properties of the file share.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, resourceGroupName, shareName, subscriptionIdGets properties of a specified share.
listSELECTaccountName, resourceGroupName, subscriptionIdLists all shares.
createINSERTaccountName, resourceGroupName, shareName, subscriptionIdCreates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
deleteDELETEaccountName, resourceGroupName, shareName, subscriptionIdDeletes specified share under its account.
_listEXECaccountName, resourceGroupName, subscriptionIdLists all shares.
leaseEXECaccountName, resourceGroupName, shareName, subscriptionId, data__actionThe Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
restoreEXECaccountName, resourceGroupName, shareName, subscriptionId, data__deletedShareName, data__deletedShareVersionRestore a file share within a valid retention days if share soft delete is enabled
updateEXECaccountName, resourceGroupName, shareName, subscriptionIdUpdates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.