Delen via


VpnGatewayResource.Update Method

Definition

Updates virtual wan vpn gateway tags.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • Operation Id: VpnGateways_UpdateTags
  • Default Api Version: 2024-03-01
  • Resource: VpnGatewayResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.VpnGatewayResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.NetworkTagsObject vpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.VpnGatewayResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.VpnGatewayResource>
Public Overridable Function Update (waitUntil As WaitUntil, vpnGatewayParameters As NetworkTagsObject, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of VpnGatewayResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

vpnGatewayParameters
NetworkTagsObject

Parameters supplied to update a virtual wan vpn gateway tags.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

vpnGatewayParameters is null.

Applies to