1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/az-tag.md
Sebastiaan Speck 3e53d171bd
az-*: update links and page description (#10963)
* az-*: update links and page description

* az-aks: update link and page description

* az-*: fix typos in Spanish translation

* az-*: update links and description in Spanish translation
2023-10-15 13:12:29 +05:30

595 B

az tag

Manage tags on a resource. Part of azure-cli (also known as az). More information: https://learn.microsoft.com/cli/azure/tag.

  • Create a tag value:

az tag add-value --name {{tag_name}} --value {{tag_value}}

  • Create a tag in the subscription:

az tag create --name {{tag_name}}

  • Delete a tag from the subscription:

az tag delete --name {{tag_name}}

  • List all tags on a subscription:

az tag list --resource-id /subscriptions/{{subscription_id}}

  • Delete a tag value for a specific tag name:

az tag remove-value --name {{tag_name}} --value {{tag_value}}