OpenShiftManagedClustersOperationsExtensions.UpdateTagsAsync(IOpenShiftManagedClustersOperations, String, String, IDictionary<String,String>, CancellationToken) Method

Definition

Updates tags on an OpenShift managed cluster.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftManagedClusterInner> UpdateTagsAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateTagsAsync : Microsoft.Azure.Management.ContainerService.Fluent.IOpenShiftManagedClustersOperations * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftManagedClusterInner>
<Extension()>
Public Function UpdateTagsAsync (operations As IOpenShiftManagedClustersOperations, resourceGroupName As String, resourceName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OpenShiftManagedClusterInner)

Parameters

operations
IOpenShiftManagedClustersOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

resourceName
System.String

The name of the OpenShift managed cluster resource.

tags
System.Collections.Generic.IDictionary<System.String,System.String>

Resource tags.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<OpenShiftManagedClusterInner>

Remarks

Updates an OpenShift managed cluster with the specified tags.

Applies to