Share via


MockableApiManagementSubscriptionResource.GetApiManagementServices 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.Pageable<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource> GetApiManagementServices (System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiManagementServices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource>
override this.GetApiManagementServices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource>
Public Overridable Function GetApiManagementServices (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ApiManagementServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to