CmdID / az / az backup / az backup protection
az backup protection enable-for-azurefileshare
Start protecting a previously unprotected Azure File share within an Azure Storage account as per the specified policy to a Recovery services vault. Azure CLI reference
7 options Its page in the Azure CLI reference
Options
--access-typeAuthentication type used to access the storage account.--azure-file-shareName of the Azure FileShare.--mi-system-assignedUse the Recovery Services vault's system-assigned managed identity.--mi-user-assignedARM ID of a user-assigned managed identity associated with the Recovery Services vault.--storage-accountName of the Storage Account of the FileShare.--vault-name, -vName of the Recovery services vault.--yes, -yDo not prompt for confirmation when re-registering the storage account.