Udostępnij za pośrednictwem


MockableApiCenterSubscriptionResource.GetApiCenterServicesAsync Method

Definition

Lists services within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiCenter/services
  • Operation Id: Services_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiCenter.ApiCenterServiceResource> GetApiCenterServicesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiCenterServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiCenter.ApiCenterServiceResource>
override this.GetApiCenterServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiCenter.ApiCenterServiceResource>
Public Overridable Function GetApiCenterServicesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApiCenterServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to