Dela via


HostingEnvironmentWorkerPoolResource.GetWebWorkerUsagesAsync Method

Definition

Description for Get usage metrics for a worker pool of an App Service Environment.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to