locations_usages
Creates, updates, deletes, gets or lists a locations_usages
resource.
Overview
Name | locations_usages |
Type | Resource |
Id | azure.hdinsight.locations_usages |
Fields
The following fields are returned by SELECT
queries:
- list
OK response definition.
Name | Datatype | Description |
---|---|---|
name | object | The details about the localizable name of the used resource. |
currentValue | integer (int64) | The current usage. |
limit | integer (int64) | The maximum allowed usage. |
unit | string | The type of measurement for usage. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , location | Lists the usages for the specified location. |
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 Azure location (region) for which to make the request. |
subscriptionId | string | The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT
examples
- list
Lists the usages for the specified location.
SELECT
name,
currentValue,
limit,
unit
FROM azure.hdinsight.locations_usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;