Partager via


AssociationResource.UpdateAsync(AssociationPatch, CancellationToken) Méthode

Définition

Mettre à jour une association

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}
  • Opération IdAssociationsInterface_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.AssociationResource>> UpdateAsync (Azure.ResourceManager.ServiceNetworking.Models.AssociationPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ServiceNetworking.Models.AssociationPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.AssociationResource>>
override this.UpdateAsync : Azure.ResourceManager.ServiceNetworking.Models.AssociationPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.AssociationResource>>
Public Overridable Function UpdateAsync (patch As AssociationPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AssociationResource))

Paramètres

patch
AssociationPatch

Propriétés de ressource à mettre à jour.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à