usages_slots
Creates, updates, deletes, gets or lists a usages_slots
resource.
Overview
Name | usages_slots |
Type | Resource |
Id | azure.app_service.usages_slots |
Fields
The following fields are returned by SELECT
queries:
- list
Name | Datatype | Description |
---|---|---|
name | object | Quota name. |
currentValue | integer (int64) | The current value of the resource counter. |
limit | integer (int64) | The resource limit. |
nextResetTime | string (date-time) | Next reset time for the resource counter. |
unit | string | Units of measurement for the quota resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , name , slot , subscriptionId | $filter | Description for Gets the quota usage information of an app (or deployment slot, if specified). |
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.
Name | Datatype | Description |
---|---|---|
name | string | Name of the app. |
resourceGroupName | string | Name of the resource group to which the resource belongs. |
slot | string | Name of the deployment slot. If a slot is not specified, the API will get quota information of the production slot. |
subscriptionId | string | Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
$filter | 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]'. |
SELECT
examples
- list
Description for Gets the quota usage information of an app (or deployment slot, if specified).
SELECT
name,
currentValue,
limit,
nextResetTime,
unit
FROM azure.app_service.usages_slots
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND slot = '{{ slot }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $filter = '{{ $filter }}'
;