RestorableGremlinGraphsClient Interface

public interface RestorableGremlinGraphsClient

An instance of this class provides access to all the operations defined in RestorableGremlinGraphsClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<RestorableGremlinGraphGetResultInner> list(String location, String instanceId)

Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database.

abstract PagedIterable<RestorableGremlinGraphGetResultInner> list(String location, String instanceId, String restorableGremlinDatabaseRid, String startTime, String endTime, Context context)

Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database.

abstract PagedFlux<RestorableGremlinGraphGetResultInner> listAsync(String location, String instanceId)

Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database.

abstract PagedFlux<RestorableGremlinGraphGetResultInner> listAsync(String location, String instanceId, String restorableGremlinDatabaseRid, String startTime, String endTime)

Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database.

Method Details

list

public abstract PagedIterable list(String location, String instanceId)

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.

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.

Returns:

the List operation response, that contains the Gremlin graph events and their properties as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String location, String instanceId, String restorableGremlinDatabaseRid, String startTime, String endTime, Context context)

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.

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.
restorableGremlinDatabaseRid - The resource ID of the Gremlin database.
startTime - Restorable Gremlin graphs event feed start time.
endTime - Restorable Gremlin graphs event feed end time.
context - The context to associate with this operation.

Returns:

the List operation response, that contains the Gremlin graph events and their properties as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String location, String instanceId)

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.

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.

Returns:

the List operation response, that contains the Gremlin graph events and their properties as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String location, String instanceId, String restorableGremlinDatabaseRid, String startTime, String endTime)

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.

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.
restorableGremlinDatabaseRid - The resource ID of the Gremlin database.
startTime - Restorable Gremlin graphs event feed start time.
endTime - Restorable Gremlin graphs event feed end time.

Returns:

the List operation response, that contains the Gremlin graph events and their properties as paginated response with PagedFlux<T>.

Applies to