Skip to content

az storage blob directory upload deprecated, but docs for az storage fs directory apply only to ADLS gen 2 #3589

@PlagueHO

Description

@PlagueHO

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az storage blob directory upload Extension Name: storage-preview. Version: 0.7.3.

Errors:

No errors, but deprecation message appears when running `az storage blob directory` commands. This advises using `az storage fs directory`, but this command is:
1. documentation says it is just for ADLS gen 2 - not Blob Storage.
1. the command is also currently in preview.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az storage blob directory upload --account-name {} -c {} -d {} --account-key {} -s {} --recursive

Expected Behavior

Environment Summary

Linux-5.4.0-1051-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.25.0

Extensions:
storage-preview 0.7.3
ai-examples 0.2.5
ssh 0.1.5

Additional Context

This appears to be more of a documentation issue than anything. The documentation for az storage fs directory ( https://docs.microsoft.com/en-us/cli/azure/storage/fs?view=azure-cli-latest) indicates that these commands are for ADLS gen 2. This should indicate that they are for StorageV2 as well - because otherwise the deprecation message is very confusing for anyone using az storage blob directory against a StorageV2 account:

This command is implicitly deprecated because command group 'storage blob directory' is deprecated and will be removed in a future release. Use 'az storage fs directory' instead.

Metadata

Metadata

Assignees

Labels

DocumentationStoragefeature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions