Skip to main content

restorable_gremlin_databases

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

Overview

Namerestorable_gremlin_databases
TypeResource
Idazure.cosmos_db.restorable_gremlin_databases

Fields

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