Sdílet prostřednictvím


TagOperationsExtensions.CreateOrUpdateValue Method

Definition

Create a subscription resource tag value.

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

Parameters

operations
ITagOperations

Reference to the Microsoft.Azure.Management.Resources.ITagOperations.

tagName
String

Required. The name of the tag.

tagValue
String

Required. The value of the tag.

Returns

Tag information.

Applies to