Share via


DeletedServicesOperationsExtensions.ListBySubscriptionAsync Method

Definition

Lists all soft-deleted services available for undelete for the given subscription.

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

Parameters

operations
IDeletedServicesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to