Aracılığıyla paylaş


MockableApiManagementSubscriptionResource.GetApiManagementDeletedServicesAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/deletedservices
  • Operation Id: DeletedServices_ListBySubscription
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementDeletedServiceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceResource> GetApiManagementDeletedServicesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiManagementDeletedServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceResource>
override this.GetApiManagementDeletedServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceResource>
Public Overridable Function GetApiManagementDeletedServicesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApiManagementDeletedServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ApiManagementDeletedServiceResource that may take multiple service requests to iterate over.

Applies to