restorable_database_accounts
Creates, updates, deletes, gets or lists a restorable_database_accounts
resource.
Overview
Name | restorable_database_accounts |
Type | Resource |
Id | azure.cosmos_db.restorable_database_accounts |
Fields
- vw_restorable_database_accounts
- restorable_database_accounts
Name | Datatype | Description |
---|---|---|
id | text | The unique resource identifier of the ARM resource. |
name | text | The name of the ARM resource. |
account_name | text | field from the properties object |
api_type | text | field from the properties object |
creation_time | text | field from the properties object |
deletion_time | text | field from the properties object |
instanceId | text | field from the properties object |
location | text | The location of the resource group to which the resource belongs. |
oldest_restorable_time | text | field from the properties object |
restorable_locations | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The type of Azure resource. |
Name | Datatype | Description |
---|---|---|
id | string | The unique resource identifier of the ARM resource. |
name | string | The name of the ARM resource. |
location | string | The location of the resource group to which the resource belongs. |
properties | object | The properties of a restorable database account. |
type | string | The type of Azure resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_by_location | SELECT | instanceId, location, subscriptionId | Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission. |
list | SELECT | subscriptionId | Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. |
list_by_location | SELECT | location, subscriptionId | Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. |
SELECT
examples
Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.
- vw_restorable_database_accounts
- restorable_database_accounts
SELECT
id,
name,
account_name,
api_type,
creation_time,
deletion_time,
instanceId,
location,
oldest_restorable_time,
restorable_locations,
subscriptionId,
type
FROM azure.cosmos_db.vw_restorable_database_accounts
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
type
FROM azure.cosmos_db.restorable_database_accounts
WHERE subscriptionId = '{{ subscriptionId }}';