Freigeben über


TrafficManagerEndpointResource.UpdateAsync Methode

Definition

Aktualisieren eines Traffic Manager-Endpunkts.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Vorgangs-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))

Parameter

data
TrafficManagerEndpointData

Die Traffic Manager-Endpunktparameter, die für den Updatevorgang bereitgestellt werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: