locations
Creates, updates, deletes, gets or lists a locations resource.
Overview
| Name | locations |
| Type | Resource |
| Id | azure.datalake_analytics.locations |
Fields
The following fields are returned by SELECT queries:
- get_capability
| Name | Datatype | Description |
|---|---|---|
accountCount | integer | The current number of accounts under this subscription. |
maxAccountCount | integer | The maximum supported number of accounts under this subscription. |
migrationState | boolean | The Boolean value of true or false to indicate the maintenance state. |
state | string | The subscription state. Known values are: "Registered", "Suspended", "Deleted", "Unregistered", and "Warned". |
subscriptionId | string | The subscription credentials that uniquely identifies the subscription. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_capability | select | location, subscription_id | Gets subscription-level properties and limits for Data Lake Analytics specified by resource 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 resource location without whitespace. Required. |
subscription_id | string |
SELECT examples
- get_capability
Gets subscription-level properties and limits for Data Lake Analytics specified by resource location.
SELECT
accountCount,
maxAccountCount,
migrationState,
state,
subscriptionId
FROM azure.datalake_analytics.locations
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;