1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 13:53:52 +02:00

az-tag: add page (#6969)

This commit is contained in:
Saikat Sengupta 2021-10-13 20:22:39 +05:30 committed by GitHub
parent b3e4eea89c
commit 7c3d6a03e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
pages/common/az-tag.md Normal file
View file

@ -0,0 +1,25 @@
# az tag
> Manage tags on a resource.
> Part of `azure-cli`.
> More information: <https://docs.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}}`