WebAppsOperationsExtensions.ListUsagesSlot(IWebAppsOperations, String, String, String, String) Method

Definition

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

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.CsmUsageQuota> ListUsagesSlot (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string slot, string filter = null);
static member ListUsagesSlot : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.CsmUsageQuota>
<Extension()>
Public Function ListUsagesSlot (operations As IWebAppsOperations, resourceGroupName As String, name As String, slot As String, Optional filter As String = null) As 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.

slot
System.String

Name of the deployment slot. If a slot is not specified, the API will get quota information of the production slot.

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]'.

Returns

Microsoft.Rest.Azure.IPage<CsmUsageQuota>

Remarks

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

Applies to