Share via


VpnSitesOperationsExtensions.UpdateTagsAsync Method

Definition

Updates VpnSite tags.

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

Parameters

operations
IVpnSitesOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VpnSite.

vpnSiteName
String

The name of the VpnSite being updated.

tags
IDictionary<String,String>

Resource tags.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to