Skip to main content

restorable_mongodb_databases

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

Overview

Namerestorable_mongodb_databases
TypeResource
Idazure.cosmos_db.restorable_mongodb_databases

Fields

NameDatatypeDescription
idstringThe unique resource Identifier of the ARM resource.
namestringThe name of the ARM resource.
propertiesobjectThe properties of an Azure Cosmos DB MongoDB database 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 MongoDB 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 MongoDB 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_mongodb_databases
WHERE instanceId = '{{ instanceId }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';