Skip to main content

locations

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

Overview

Namelocations
TypeResource
Idazure_stack.deployment_admin.locations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringID of the resource.
namestringName of the resource.
eTagstringEntity tag of the resource
locationstringLocation of the resource.
propertiesobjectLocation Properties
typestringType of Resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionIdGets the location
listselectsubscriptionIdGets the list of locations

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
subscriptionIdstringSubscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Gets the location

SELECT
id,
name,
eTag,
location,
properties,
type
FROM azure_stack.deployment_admin.locations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;