VirtualNetworksOperationsExtensions.UpdateTagsAsync(IVirtualNetworksOperations, String, String, TagsObject, CancellationToken) 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
System.String

The name of the resource group.

virtualNetworkName
System.String

The name of the virtual network.

parameters
TagsObject

Parameters supplied to update virtual network tags.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<VirtualNetwork>

Applies to