Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,383 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
If you try a specific resource to select like below, does that return anything?
az resource list --tag company=Foo
EDIT: Forget the above (what's strikeout command?) found this. looks like an identified bug:
https://github.com/Azure/azure-cli/issues/3180
Thank you very much :)