restorable_sql_databases
Creates, updates, deletes, gets or lists a restorable_sql_databases
resource.
Overview
Name | restorable_sql_databases |
Type | Resource |
Id | azure.cosmos_db.restorable_sql_databases |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The unique resource Identifier of the ARM resource. |
name | string | The name of the ARM resource. |
properties | object | The properties of an Azure Cosmos DB SQL database event |
type | string | The type of Azure resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | instanceId, location, subscriptionId | Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission |
SELECT
examples
Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
SELECT
id,
name,
properties,
type
FROM azure.cosmos_db.restorable_sql_databases
WHERE instanceId = '{{ instanceId }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';