Share via


EndpointsOperationsExtensions.UpdateAsync Method

Definition

Update a Traffic Manager endpoint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointInner> UpdateAsync (this Microsoft.Azure.Management.TrafficManager.Fluent.IEndpointsOperations operations, string resourceGroupName, string profileName, string endpointType, string endpointName, Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.TrafficManager.Fluent.IEndpointsOperations * string * string * string * string * Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointInner>
<Extension()>
Public Function UpdateAsync (operations As IEndpointsOperations, resourceGroupName As String, profileName As String, endpointType As String, endpointName As String, parameters As EndpointInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EndpointInner)

Parameters

operations
IEndpointsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group containing the Traffic Manager endpoint to be updated.

profileName
String

The name of the Traffic Manager profile.

endpointType
String

The type of the Traffic Manager endpoint to be updated.

endpointName
String

The name of the Traffic Manager endpoint to be updated.

parameters
EndpointInner

The Traffic Manager endpoint parameters supplied to the Update operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to