VpnSitesOperationsExtensions.UpdateTagsAsync(IVpnSitesOperations, String, String, IDictionary<String,String>, CancellationToken) 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
System.String

The resource group name of the VpnSite.

vpnSiteName
System.String

The name of the VpnSite being updated.

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

Resource tags.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<VpnSiteInner>

Applies to