Share via


DeletedServicesOperationsExtensions.PurgeAsync Method

Definition

Purges Api Management Service (deletes it with no option to undelete).

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.DeletedServiceContract> PurgeAsync (this Microsoft.Azure.Management.ApiManagement.IDeletedServicesOperations operations, string serviceName, string location, System.Threading.CancellationToken cancellationToken = default);
static member PurgeAsync : Microsoft.Azure.Management.ApiManagement.IDeletedServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.DeletedServiceContract>
<Extension()>
Public Function PurgeAsync (operations As IDeletedServicesOperations, serviceName As String, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeletedServiceContract)

Parameters

operations
IDeletedServicesOperations

The operations group for this extension method.

serviceName
String

The name of the API Management service.

location
String

The location of the deleted API Management service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to