locations
Creates, updates, deletes, gets or lists a locations
resource.
Overview
Name | locations |
Type | Resource |
Id | azure.cosmos_db.locations |
Fields
- vw_locations
- locations
Name | Datatype | Description |
---|---|---|
id | text | The unique resource identifier of the database account. |
name | text | The name of the database account. |
backup_storage_redundancies | text | field from the properties object |
is_residency_restricted | text | field from the properties object |
is_subscription_region_access_allowed_for_az | text | field from the properties object |
is_subscription_region_access_allowed_for_regular | text | field from the properties object |
location | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
supports_availability_zone | text | field from the properties object |
type | text | The type of Azure resource. |
Name | Datatype | Description |
---|---|---|
id | string | The unique resource identifier of the database account. |
name | string | The name of the database account. |
properties | object | Cosmos DB location metadata |
type | string | The type of Azure resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | location, subscriptionId | Get the properties of an existing Cosmos DB location |
list | SELECT | subscriptionId | List Cosmos DB locations and their properties |
SELECT
examples
List Cosmos DB locations and their properties
- vw_locations
- locations
SELECT
id,
name,
backup_storage_redundancies,
is_residency_restricted,
is_subscription_region_access_allowed_for_az,
is_subscription_region_access_allowed_for_regular,
location,
status,
subscriptionId,
supports_availability_zone,
type
FROM azure.cosmos_db.vw_locations
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure.cosmos_db.locations
WHERE subscriptionId = '{{ subscriptionId }}';