Open roy-work opened 2 years ago
Oh, or is it this roundaboutness:
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.
… why would I ever look for a storage blob command outside of az storage blob
…
(Why this isn't just as simple as az storage blob list
is beyond me.)
(And additionally, it doesn't even appear to work:
» az storage blob directory list -c "$CONTAINER_NAME" -d / --account-name $ACCOUNT_NAME
[]
I know there is stuff in there, I can see it in the Portal. There's just far too much to deal with from the UI, so I need the CLI to work. -d
is required, and essentially also undocumented, so I have no idea if that is the right format.)
Additionally, this is ridiculous:
» az storage blob directory list -c [snip] -d '' --account-name [snip]
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.
» az storage fs directory list --account-name [snip] -f [snip]
Command group 'storage fs' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
The old way is deprecated, the new way is not yet ready.
It'd be nice to run the simplest of operations on Azure without stumbling into umpteen different bugs.
@evelyn-ys for awareness
Related command
Describe the bug The subgroup
az storage blob directory
is missing from--help
:It does work, too:
To Reproduce Run the command.
Expected behavior Subgroups are fully documented.
Environment summary macOS
Additional context