Partager via


VpnGatewayResource.UpdateAsync Méthode

Définition

Mises à jour balises de passerelle VPN virtual wan.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • IdVpnGateways_UpdateTags d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.VpnGatewayResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.NetworkTagsObject vpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.VpnGatewayResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.VpnGatewayResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, vpnGatewayParameters As NetworkTagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of VpnGatewayResource))

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre la fin de l’opération de longue durée sur le service ; Started s’il doit retourner après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations Azure.Core Long-Running.

vpnGatewayParameters
NetworkTagsObject

Paramètres fournis pour mettre à jour des balises de passerelle VPN virtual wan.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

vpnGatewayParameters a la valeur null.

S’applique à