TagsOperationsExtensions.CreateOrUpdateValue Method

Definition

Creates a predefined value for a predefined tag name.

public static Microsoft.Azure.Management.ResourceManager.Models.TagValue CreateOrUpdateValue (this Microsoft.Azure.Management.ResourceManager.ITagsOperations operations, string tagName, string tagValue);
static member CreateOrUpdateValue : Microsoft.Azure.Management.ResourceManager.ITagsOperations * string * string -> Microsoft.Azure.Management.ResourceManager.Models.TagValue
<Extension()>
Public Function CreateOrUpdateValue (operations As ITagsOperations, tagName As String, tagValue As String) As TagValue

Parameters

operations
ITagsOperations

The operations group for this extension method.

tagName
String

The name of the tag.

tagValue
String

The value of the tag to create.

Returns

Remarks

This operation allows adding a value to the list of predefined values for an existing predefined tag name. A tag value can have a maximum of 256 characters.

Applies to