Compartilhar via


AssociationResource.UpdateAsync(AssociationPatch, CancellationToken) Método

Definição

Atualizar uma associação

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}
  • IdAssociationsInterface_Update de operação
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

As propriedades do recurso a serem atualizadas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a