CmdID / az / az storage
az storage share-rm
Manage Azure file shares using the Microsoft.Storage resource provider. Azure CLI reference
9 commands 4 options Its page in the Azure CLI reference
Commands
createCreate a new share under the specified account as described by request body.deleteDelete the specified Azure file share or share snapshot.existsCheck for the existence of an Azure file share.listList all shares.restoreRestore a file share within a valid retention days if share soft delete is enabled.showShow the properties for a specified Azure file share or share snapshot.snapshotCreate a snapshot of an existing share under the specified account.statsGet the usage bytes of the data stored on the share.updateUpdate a new share under the specified account as described by request body.Options
--name, -nThe file share name.--resource-group-name, --expand--snapshotThe DateTime value that specifies the share snapshot to retrieve.--storage-accountThe name or ID of the storage account.