共用方式為


HostingEnvironmentMultiRolePoolResource.GetMultiRoleUsages Method

Definition

Description for Get usage metrics for a multi-role pool of an App Service Environment.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to