locations
Creates, updates, deletes, gets or lists a locations
resource.
Overview
Name | locations |
Type | Resource |
Id | azure.security.locations |
Fields
- vw_locations
- locations
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource name |
ascLocation | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Resource type |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
properties | object | An empty set of properties |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | ascLocation, subscriptionId | Details of a specific location |
list | SELECT | subscriptionId | The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID. |
SELECT
examples
The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.
- vw_locations
- locations
SELECT
id,
name,
ascLocation,
subscriptionId,
type
FROM azure.security.vw_locations
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure.security.locations
WHERE subscriptionId = '{{ subscriptionId }}';