usages
Creates, updates, deletes, gets or lists a usages
resource.
Overview
Name | usages |
Type | Resource |
Id | azure.storage.usages |
Fields
Name | Datatype | Description |
---|---|---|
name | object | The usage names that can be used; currently limited to StorageAccount. |
currentValue | integer | Gets the current count of the allocated resources in the subscription. |
limit | integer | Gets the maximum count of the resources that can be allocated in the subscription. |
unit | string | Gets the unit of measurement. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_by_location | SELECT | location, subscriptionId | Gets the current usage count and the limit for the resources of the location under the subscription. |
SELECT
examples
Gets the current usage count and the limit for the resources of the location under the subscription.
SELECT
name,
currentValue,
limit,
unit
FROM azure.storage.usages
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';