Tags - Create Or Update Value

Creates a tag value. The name of the tag must already exist.

PUT https://management.azure.com/subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}?api-version=2017-05-10

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

The ID of the target subscription.

tagName
path True
  • string

The name of the tag.

tagValue
path True
  • string

The value of the tag to create.

api-version
query True
  • string

The API version to use for this operation.

Responses

Name Type Description
200 OK

OK - Returns information about the tag value.

201 Created

Created - Returns information about the tag value.

Definitions

TagCount

The tag value count.

TagValue

The tag value count.

Name Type Description
type
  • string

Type of count.

value
  • integer

Value of count.

Name Type Description
count

The tag value count.

id
  • string

The tag ID.

tagValue
  • string

The tag value.