resourceGroupName=""Īz storage account file-service-properties update \ Remember to replace and with the appropriate values for your environment. The following example enables soft delete for all file shares in a storage account. To enable soft delete, you must update a file client's service properties. You can verify if soft delete is enabled and view its retention policy with the following command: Get-AzStorageFileServiceProperty ` EnableShareDeleteRetentionPolicy $true ` StorageAccountName $storageAccountName ` To enable soft delete, you must update the settings for all Azure file shares, also known as the FileService properties. Select Save to confirm your data retention settings. Select File share retention period in days and enter a number of your choosing. Select Enabled for Soft delete for all file shares. Navigate to your storage account and select File shares under Data storage.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |