Skip to main content

restorable_sql_containers

Creates, updates, deletes, gets or lists a restorable_sql_containers resource.

Overview

Namerestorable_sql_containers
TypeResource
Idazure.cosmos_db.restorable_sql_containers

Fields

NameDatatypeDescription
idstringThe unique resource Identifier of the ARM resource.
namestringThe name of the ARM resource.
propertiesobjectThe properties of an Azure Cosmos DB SQL container event
typestringThe type of Azure resource.

Methods

NameAccessible byRequired ParamsDescription
listSELECTinstanceId, location, subscriptionIdShow the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. 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 containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission

SELECT
id,
name,
properties,
type
FROM azure.cosmos_db.restorable_sql_containers
WHERE instanceId = '{{ instanceId }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';