usages
Creates, updates, deletes, gets or lists a usages
resource.
Overview
Name | usages |
Type | Resource |
Id | azure.quota.usages |
Fields
- vw_usages
- usages
Name | Datatype | Description |
---|---|---|
id | text | The resource ID. |
name | text | The resource name. |
is_quota_applicable | text | field from the properties object |
properties | text | Usage properties for the specified resource. |
quota_period | text | field from the properties object |
resourceName | text | field from the properties object |
resource_type | text | field from the properties object |
scope | text | field from the properties object |
type | text | The resource type. |
unit | text | field from the properties object |
usages | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | The resource ID. |
name | string | The resource name. |
properties | object | Usage properties for the specified resource. |
type | string | The resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceName, scope | Get the current usage of a resource. |
list | SELECT | scope | Get a list of current usage for all resources for the scope specified. |
SELECT
examples
Get a list of current usage for all resources for the scope specified.
- vw_usages
- usages
SELECT
id,
name,
is_quota_applicable,
properties,
quota_period,
resourceName,
resource_type,
scope,
type,
unit,
usages
FROM azure.quota.vw_usages
WHERE scope = '{{ scope }}';
SELECT
id,
name,
properties,
type
FROM azure.quota.usages
WHERE scope = '{{ scope }}';