Share via


VirtualNetworksOperationsExtensions.UpdateTagsAsync Method

Definition

Updates a virtual network tags.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VirtualNetwork> UpdateTagsAsync (this Microsoft.Azure.Management.Network.IVirtualNetworksOperations operations, string resourceGroupName, string virtualNetworkName, Microsoft.Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateTagsAsync : Microsoft.Azure.Management.Network.IVirtualNetworksOperations * string * string * Microsoft.Azure.Management.Network.Models.TagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VirtualNetwork>
<Extension()>
Public Function UpdateTagsAsync (operations As IVirtualNetworksOperations, resourceGroupName As String, virtualNetworkName As String, parameters As TagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualNetwork)

Parameters

operations
IVirtualNetworksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkName
String

The name of the virtual network.

parameters
TagsObject

Parameters supplied to update virtual network tags.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to