All tags are missing in the JSON result when listing resources while using the tag argument.
This is the default listing that I get when running without "tag" attribute:
# az resource list
{
"id": xxxx,
"identity": null,
"kind": null,
"location": xxxx,
"managedBy": null,
"name": xxxx,
"plan": null,
"properties": null,
"resourceGroup": xxxx,
"sku": null,
"tags": {
"company": "Foo",
"owner": "kubernetes",
"type": "aks-slb-managed-outbound-ip"
},
"type": "Microsoft.Network/publicIPAddresses"
}
When running with --tag attribute I get empty tags array:
# az resource list --tag company
{
"id": xxxx,
"identity": null,
"kind": null,
"location": xxxx,
"managedBy": null,
"name": xxxx,
"plan": null,
"properties": null,
"resourceGroup": xxxx,
"sku": null,
"tags": null,
"type": "Microsoft.Network/publicIPAddresses"
}
Is this the expected behaviour? I would really like to get the complete result.