Sdílet prostřednictvím


AppPlatformExtensions.GetAppPlatformServicesAsync Method

Definition

Handles requests to list all resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/Spring
  • Operation Id: Services_ListBySubscription
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformServiceResource
public static Azure.AsyncPageable<Azure.ResourceManager.AppPlatform.AppPlatformServiceResource> GetAppPlatformServicesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAppPlatformServicesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppPlatform.AppPlatformServiceResource>
<Extension()>
Public Function GetAppPlatformServicesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppPlatformServiceResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to