共用方式為


HostingEnvironmentWorkerPoolResource.GetWorkerPoolSkusAsync Method

Definition

Description for Get available SKUs for scaling a worker pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus
  • Operation Id: AppServiceEnvironments_ListWorkerPoolSkus
  • Default Api Version: 2024-04-01
  • Resource: HostingEnvironmentWorkerPoolResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServicePoolSkuInfo> GetWorkerPoolSkusAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkerPoolSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServicePoolSkuInfo>
override this.GetWorkerPoolSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServicePoolSkuInfo>
Public Overridable Function GetWorkerPoolSkusAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppServicePoolSkuInfo)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to