Skip to main content

subscriptions_locations

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

Overview

Namesubscriptions_locations
TypeResource
Idazure.subscription.subscriptions_locations

Fields

The following fields are returned by SELECT queries:

OK - Returns an array of locations.

NameDatatypeDescription
idstringThe fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
namestringThe location name.
displayNamestringThe display name of the location.
latitudestringThe latitude of the location.
longitudestringThe longitude of the location.
subscriptionIdstringThe subscription ID.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionIdThis operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.

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
subscriptionIdstringThe ID of the target subscription.

SELECT examples

This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.

SELECT
id,
name,
displayName,
latitude,
longitude,
subscriptionId
FROM azure.subscription.subscriptions_locations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;