CmdID / az / az storage / az storage share-rm
az storage share-rm snapshot
Create a snapshot of an existing share under the specified account. Azure CLI reference
1 example 5 options Its page in the Azure CLI reference
Examples
Create a snapshot of an existing share under the specified account.
az storage share-rm snapshot -g MyResourceGroup --storage-account mystorageaccount --name myfileshareIdentify-gName of resource group.--storage-accountThe name or ID of the storage account.--nameThe file share name.Options
--access-tierAccess tier for specific share.--enabled-protocolsImmutable property for file shares protocol.--metadataMetadata in space-separated key=value pairs that is associated with the share.--quota, -qThe maximum size of the share in gigabytes.--root-squashReduction of the access rights for the remote superuser.