From 7c3d6a03e8ccea126be81393240d0f45b1840833 Mon Sep 17 00:00:00 2001 From: Saikat Sengupta <41847480+s4ik4t@users.noreply.github.com> Date: Wed, 13 Oct 2021 20:22:39 +0530 Subject: [PATCH] az-tag: add page (#6969) --- pages/common/az-tag.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/az-tag.md diff --git a/pages/common/az-tag.md b/pages/common/az-tag.md new file mode 100644 index 000000000..09b3bc9d4 --- /dev/null +++ b/pages/common/az-tag.md @@ -0,0 +1,25 @@ +# az tag + +> Manage tags on a resource. +> Part of `azure-cli`. +> More information: . + +- 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}}`