locations_usages
Creates, updates, deletes, gets or lists a locations_usages resource.
Overview
| Name | locations_usages |
| Type | Resource |
| Id | azure.data_lake_store.locations_usages |
Fields
The following fields are returned by SELECT queries:
- get
OK -- current usage count and limit retrieved and returned successfully.
| Name | Datatype | Description |
|---|---|---|
id | string | Resource identifier. |
name | object | Gets the name of the type of usage. |
currentValue | integer (int32) | Gets the current count of the allocated resources in the subscription. |
limit | integer (int32) | Gets the maximum count of the resources that can be allocated in the subscription. |
unit | string | Gets the unit of measurement. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, location | Gets the current usage count and the limit for the resources of the location under the 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 resource location without whitespace. |
subscriptionId | string | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT examples
- get
Gets the current usage count and the limit for the resources of the location under the subscription.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.data_lake_store.locations_usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;