WebAppsOperationsExtensions.ListUsagesAsync Method

Definition

Gets the quota usage information of an app (or deployment slot, if specified).

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

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the app.

filter
System.String

Return only information specified in the filter (using OData syntax). For 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
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<CsmUsageQuota>>

Remarks

Description for Gets the quota usage information of an app (or deployment slot, if specified).

Applies to