TagsOperationsExtensions.CreateOrUpdateAsync(ITagsOperations, String, CancellationToken) Method

Definition

Create a subscription resource tag.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.TagDetailsInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.ITagsOperations operations, string tagName, System.Threading.CancellationToken cancellationToken = null);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ResourceManager.Fluent.ITagsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.TagDetailsInner>

Parameters

operations
ITagsOperations

The operations group for this extension method.

tagName
String

The name of the tag.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<TagDetailsInner>

Applies to