共用方式為


AppServicePlanCollection.GetAllAsync(CancellationToken) Method

Definition

Description for Get all App Service plans in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms
  • Operation Id: AppServicePlans_ListByResourceGroup
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServicePlanResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServicePlanResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServicePlanResource>
Public Overridable Function GetAllAsync (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