az-tag

Manage tags on a resource.

TLDR

Create a tag value

$ az tag add-value --name [tag_name] --value [tag_value]
copy


Create a tag in the subscription
$ az tag create --name [tag_name]
copy


Delete a tag from the subscription
$ az tag delete --name [tag_name]
copy


List all tags on a subscription
$ az tag list --resource-id /subscriptions/[subscription_id]
copy


Delete a tag value for a specific tag name
$ az tag remove-value --name [tag_name] --value [tag_value]
copy

Copied to clipboard