AppServicePlansOperationsExtensions.ListUsagesAsync(IAppServicePlansOperations, String, String, String, CancellationToken) Method

Definition

Gets server farm usage information

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.CsmUsageQuota>> ListUsagesAsync (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, string resourceGroupName, string name, string filter = null, System.Threading.CancellationToken cancellationToken = null);
static member ListUsagesAsync : Microsoft.Azure.Management.WebSites.IAppServicePlansOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.CsmUsageQuota>>

Parameters

operations
IAppServicePlansOperations

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 App Service Plan

filter
System.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').

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<CsmUsageQuota>>

Remarks

Gets server farm usage information

Applies to