usages
Creates, updates, deletes, gets or lists a usages resource.
Overview
| Name | usages |
| Type | Resource |
| Id | azure.web_pubsub.usages |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified ARM resource id. |
name | object | Localizable String object containing the name and a localized value. |
currentValue | integer | Current value for the usage quota. |
limit | integer | The maximum permitted value for the usage quota. If there is no limit, this value will be -1. |
unit | string | Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location, subscription_id | List resource usage quotas by location. |
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 |
|---|---|---|
location | string | the location like "eastus". Required. |
subscription_id | string |
SELECT examples
- list
List resource usage quotas by location.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.web_pubsub.usages
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;