Compartilhar via


TrafficManagerProfileResource.UpdateAsync Método

Definição

Atualizar um perfil do Gerenciador de Tráfego.

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

Parâmetros

data
TrafficManagerProfileData

Os parâmetros de perfil 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