EndpointsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a Traffic Manager endpoint.

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

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 created or updated.

profileName
String

The name of the Traffic Manager profile.

endpointType
String

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.

parameters
Endpoint

The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to