Dela via


AppServiceEnvironmentResource.GetAppServicePlans(CancellationToken) 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: 2024-04-01
  • Resource: AppServiceEnvironmentResource
public virtual Azure.Pageable<Azure.ResourceManager.AppService.AppServicePlanResource> GetAppServicePlans (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppServicePlans : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.AppServicePlanResource>
override this.GetAppServicePlans : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.AppServicePlanResource>
Public Overridable Function GetAppServicePlans (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AppServicePlanResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to