Skip to content

az storage blob list --include option: (d) tag conflict between deleted and deletedwithversions #32223

@ByteBetta

Description

@ByteBetta

Describe the bug

The --include option uses short tags for datasets, like (d)eleted.
However, both deleted and deletedwithversions use the same tag (d).

Because of this, it’s not possible to select deletedwithversions — the command always treats (d) as deleted.

Related command

az storage blob list --include d

Errors

No actual error message.
The command runs, but (d) is always interpreted as deleted, not deletedwithversions.

Issue script & Debug output

Command use az storage blob list --include (d)

Expected behavior

Each include option should have its own unique tag. (d) should only represent deleted, and deletedwithversions should have a different tag. This would let users include deletedwithversions without any conflict.

Environment Summary

azure-cli 2.77.0

core 2.77.0
telemetry 1.1.0

Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0

Additional context

No response

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamStorageaz storagecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions