RestorableGremlinGraphsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CosmosDBManagementClient's

<xref:restorable_gremlin_graphs> attribute.

Inheritance
builtins.object
RestorableGremlinGraphsOperations

Constructor

RestorableGremlinGraphsOperations(*args, **kwargs)

Methods

list

Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. 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 graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.

list(location: str, instance_id: str, restorable_gremlin_database_rid: str | None = None, start_time: str | None = None, end_time: str | None = None, **kwargs: Any) -> AsyncIterable[RestorableGremlinGraphGetResult]

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.

restorable_gremlin_database_rid
Required
str

The resource ID of the Gremlin database. Default value is None.

start_time
Required
str

Restorable Gremlin graphs event feed start time. Default value is None.

end_time
Required
str

Restorable Gremlin graphs event feed end time. Default value is None.

Returns

Type Description

An iterator like instance of either RestorableGremlinGraphGetResult 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'>