Skip to content

az resource list -o table --query "[].{name:name, location:location, type:type}" not displaying the type #24520

@brupelo

Description

@brupelo

If you run az resource list -o table --query "[].{name:name, location:location, type:type}" it won't display the type column while
if you do az resource list -o table --query "[].{name:name, location:location, kind:type}" will be shown.

I guess it's because it's conflicting somehow with the reserved python's keyword type? Is this a bug?

Btw, I don't see in the help any way to sort this table by column... is it possible to achieve somehow?

Metadata

Metadata

Assignees

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamService AttentionThis issue is responsible by Azure service team.act-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionThis issue needs attention from Azure service team or SDK teamquestionThe 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