TrafficManagerEndpointCollection.CreateOrUpdateAsync Method

Definition

Creates or updates a Traffic Manager endpoint.

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointType endpointType, string endpointName, Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointType * string * Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointType * string * Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, endpointType As TrafficManagerEndpointType, endpointName As String, data As TrafficManagerEndpointData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of TrafficManagerEndpointResource))

Parameters

waitUntil
WaitUntil

Completion option.

endpointType
TrafficManagerEndpointType

The type of the Traffic Manager endpoint to be created or updated.

endpointName
String

The name of the Traffic Manager endpoint to be created or updated.

data
TrafficManagerEndpointData

The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to