Share via


AppServiceEnvironmentsOperationsExtensions.ListCapacitiesAsync Method

Definition

Get the used, available, and total worker capacity an App Service Environment.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.StampCapacity>> ListCapacitiesAsync (this Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, System.Threading.CancellationToken cancellationToken = default);
static member ListCapacitiesAsync : Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.StampCapacity>>
<Extension()>
Public Function ListCapacitiesAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of StampCapacity))

Parameters

operations
IAppServiceEnvironmentsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the App Service Environment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Get the used, available, and total worker capacity an App Service Environment.

Applies to