Share via


VpnGatewaysOperationsExtensions.UpdateTagsAsync Method

Definition

Updates virtual wan vpn gateway tags.

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

Parameters

operations
IVpnGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VpnGateway.

gatewayName
String

The name of the gateway.

tags
IDictionary<String,String>

Resource tags.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to