ITagOperations.CreateOrUpdateAsync(String, CancellationToken) Method

Definition

Create a subscription resource tag.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.TagCreateResult> CreateOrUpdateAsync (string tagName, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.TagCreateResult>
Public Function CreateOrUpdateAsync (tagName As String, cancellationToken As CancellationToken) As Task(Of TagCreateResult)

Parameters

tagName
String

The name of the tag.

cancellationToken
CancellationToken

Cancellation token.

Returns

Tag information.

Applies to