RestorableGremlinDatabasesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CosmosDBManagementClient's

<xref:restorable_gremlin_databases> attribute.

Inheritance
builtins.object
RestorableGremlinDatabasesOperations

Constructor

RestorableGremlinDatabasesOperations(*args, **kwargs)

Methods

list

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.

list

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.

list(location: str, instance_id: str, **kwargs: Any) -> AsyncIterable[RestorableGremlinDatabaseGetResult]

Parameters

Name Description
location
Required
str

Cosmos DB region, with spaces between words and each word capitalized. Required.

instance_id
Required
str

The instanceId GUID of a restorable database account. Required.

Returns

Type Description

An iterator like instance of either RestorableGremlinDatabaseGetResult or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.cosmosdb.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\cosmosdb\\models\\__init__.py'>