Share via


EndpointsOperationsExtensions.DeleteAsync Method

Definition

Deletes a Traffic Manager endpoint.

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

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 deleted.

profileName
String

The name of the Traffic Manager profile.

endpointType
String

The type of the Traffic Manager endpoint to be deleted.

endpointName
String

The name of the Traffic Manager endpoint to be deleted.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to