Skip to main content

plans_usages

Creates, updates, deletes, gets or lists a plans_usages resource.

Overview

Nameplans_usages
TypeResource
Idazure.app_service.plans_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
nameobjectQuota name.
currentValueinteger (int64)The current value of the resource counter.
limitinteger (int64)The resource limit.
nextResetTimestring (date-time)Next reset time for the resource counter.
unitstringUnits of measurement for the quota resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, name, subscriptionId$filterDescription for Gets server farm usage information

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestringName of App Service Plan
resourceGroupNamestringName of the resource group to which the resource belongs.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
$filterstringReturn only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2').

SELECT examples

Description for Gets server farm usage information

SELECT
name,
currentValue,
limit,
nextResetTime,
unit
FROM azure.app_service.plans_usages
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $filter = '{{ $filter }}'
;