restorable_sql_resources
Creates, updates, deletes, gets or lists a restorable_sql_resources
resource.
Overview
Name | restorable_sql_resources |
Type | Resource |
Id | azure.cosmos_db.restorable_sql_resources |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The unique resource identifier of the ARM resource. |
name | string | The name of the ARM resource. |
collectionNames | array | The names of the collections available for restore. |
databaseName | string | The name of the database available for restore. |
type | string | The type of Azure resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | instanceId, location, subscriptionId | Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. |
SELECT
examples
Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
SELECT
id,
name,
collectionNames,
databaseName,
type
FROM azure.cosmos_db.restorable_sql_resources
WHERE instanceId = '{{ instanceId }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';