AppServiceEnvironmentsOperationsExtensions.ListUsagesAsync Method

Definition

Get global usage metrics of an App Service Environment.

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

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.

filter
String

Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Get global usage metrics of an App Service Environment.

Applies to