asc_usages
Creates, updates, deletes, gets or lists an asc_usages
resource.
Overview
Name | asc_usages |
Type | Resource |
Id | azure.storage_cache.asc_usages |
Fields
The following fields are returned by SELECT
queries:
- list
The usage information was returned.
Name | Datatype | Description |
---|---|---|
name | object | Naming information for this resource type. |
currentValue | integer (int32) | The current usage of this resource. |
limit | integer (int32) | The limit (quota) for this resource. |
unit | string | Unit that the limit and usages are expressed in, such as 'Count'. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , location | Gets the quantity used and quota limit for resources |
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 name of the region to query for usage information. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- list
Gets the quantity used and quota limit for resources
SELECT
name,
currentValue,
limit,
unit
FROM azure.storage_cache.asc_usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;