Compartir a través de


AssociationResource.UpdateAsync(AssociationPatch, CancellationToken) Método

Definición

Actualizar una asociación

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}
  • IdAssociationsInterface_Update de operación
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))

Parámetros

patch
AssociationPatch

Propiedades de recursos que se van a actualizar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a