locations
Creates, updates, deletes, gets or lists a locations
resource.
Overview
Name | locations |
Type | Resource |
Id | azure_stack.deployment_admin.locations |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Name | Datatype | Description |
---|---|---|
id | string | ID of the resource. |
name | string | Name of the resource. |
eTag | string | Entity tag of the resource |
location | string | Location of the resource. |
properties | object | Location Properties |
type | string | Type of Resource. |
Name | Datatype | Description |
---|---|---|
id | string | ID of the resource. |
name | string | Name of the resource. |
eTag | string | Entity tag of the resource |
location | string | Location of the resource. |
properties | object | Location Properties |
type | string | Type of Resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId | Gets the location | |
list | select | subscriptionId | Gets 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.
Name | Datatype | Description |
---|---|---|
subscriptionId | string | Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT
examples
- get
- list
Gets the location
SELECT
id,
name,
eTag,
location,
properties,
type
FROM azure_stack.deployment_admin.locations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
Gets the list of locations
SELECT
id,
name,
eTag,
location,
properties,
type
FROM azure_stack.deployment_admin.locations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;