Partilhar via


TrafficManagerEndpointResource.UpdateAsync Método

Definição

Atualizar um ponto de extremidade do Gerenciador de Tráfego.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Operação IdEndpoints_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>> UpdateAsync (Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>>
override this.UpdateAsync : Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>>
Public Overridable Function UpdateAsync (data As TrafficManagerEndpointData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TrafficManagerEndpointResource))

Parâmetros

data
TrafficManagerEndpointData

Os parâmetros de ponto de extremidade do Gerenciador de Tráfego fornecidos para a operação De atualização.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a