共用方式為


AppServiceEnvironmentResource.GetAppServicePlansAsync Method

Definition

Description for Get all App Service plans in an App Service Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms
  • Operation Id: AppServiceEnvironments_ListAppServicePlans
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServicePlanResource> GetAppServicePlansAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppServicePlansAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServicePlanResource>
override this.GetAppServicePlansAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServicePlanResource>
Public Overridable Function GetAppServicePlansAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppServicePlanResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to