Sdílet prostřednictvím


ProfilesOperationsExtensions.DeleteAsync Method

Definition

Deletes a Traffic Manager profile.

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

Parameters

operations
IProfilesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group containing the Traffic Manager profile to be deleted.

profileName
String

The name of the Traffic Manager profile to be deleted.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to