diff --git a/src/azure-cli/azure/cli/command_modules/storage/_help.py b/src/azure-cli/azure/cli/command_modules/storage/_help.py index 4cda492a7e8..9f7f76f5308 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_help.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_help.py @@ -731,6 +731,9 @@ - name: Copy a blob asynchronously. Use `az storage blob show` to check the status of the blobs. text: | az storage blob copy start --account-name MyAccount --destination-blob MyDestinationBlob --destination-container MyDestinationContainer --sas-token $sas --source-uri https://storage.blob.core.windows.net/photos + - name: Copy a blob specific version + text: | + az storage blob copy start --account-name MyAccount --destination-blob MyDestinationBlob --destination-container MyDestinationContainer --source-uri https://my-account.blob.core.windows.net/my-container/my-blob?versionId=2022-03-21T18:28:44.4431011Z --auth-mode login """ helps['storage blob copy start-batch'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/storage/commands.py b/src/azure-cli/azure/cli/command_modules/storage/commands.py index edf77112728..2809cb7ce0f 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/commands.py +++ b/src/azure-cli/azure/cli/command_modules/storage/commands.py @@ -95,7 +95,7 @@ def get_custom_sdk(custom_module, client_factory, resource_type=ResourceType.DAT with self.command_group('storage', command_type=block_blob_sdk, custom_command_type=get_custom_sdk('azcopy', blob_data_service_factory)) as g: - g.storage_custom_command('remove', 'storage_remove', is_preview=True) + g.storage_custom_command('remove', 'storage_remove') with self.command_group('storage', custom_command_type=get_custom_sdk('azcopy', None)) as g: from ._validators import validate_azcopy_credential