Skip to main content

locations

Creates, updates, deletes, gets or lists a locations resource.

Overview

Namelocations
TypeResource
Idazure.datalake_analytics.locations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
accountCountintegerThe current number of accounts under this subscription.
maxAccountCountintegerThe maximum supported number of accounts under this subscription.
migrationStatebooleanThe Boolean value of true or false to indicate the maintenance state.
statestringThe subscription state. Known values are: "Registered", "Suspended", "Deleted", "Unregistered", and "Warned".
subscriptionIdstringThe subscription credentials that uniquely identifies the subscription.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_capabilityselectlocation, subscription_idGets 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.

NameDatatypeDescription
locationstringThe resource location without whitespace. Required.
subscription_idstring

SELECT examples

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
;