Share via


MockableApiManagementSubscriptionResource.GetApiManagementServicesAsync Method

Definition

Lists all API Management services within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service
  • Operation Id: ApiManagementService_List
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementServiceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource> GetApiManagementServicesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiManagementServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource>
override this.GetApiManagementServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource>
Public Overridable Function GetApiManagementServicesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApiManagementServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to