Partager via


VpnSiteResource.UpdateAsync(NetworkTagsObject, CancellationToken) Méthode

Définition

Mises à jour balises VpnSite.

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

Paramètres

vpnSiteParameters
NetworkTagsObject

Paramètres fournis pour mettre à jour les balises VpnSite.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

vpnSiteParameters a la valeur null.

S’applique à