Share via


ServiceEndpointPoliciesOperationsExtensions.UpdateTagsAsync Method

Definition

Updates tags of a service endpoint policy.

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

Parameters

operations
IServiceEndpointPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceEndpointPolicyName
String

The name of the service endpoint policy.

tags
IDictionary<String,String>

Resource tags.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to