location_usages
Creates, updates, deletes, gets or lists a location_usages resource.
Overview
| Name | location_usages |
| Type | Resource |
| Id | azure.container_instances.location_usages |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Id of the usage result |
name | object | The name object of the resource |
currentValue | integer (int32) | The current usage of the resource |
limit | integer (int32) | The maximum permitted usage of the resource. |
unit | string | Unit of the usage result |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, location | Get the usage for a subscription |
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 identifier for the physical azure location. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT examples
- list
Get the usage for a subscription
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.container_instances.location_usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;