RestorableCosmosDBAccountResource.GetRestorableGremlinGraphsAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableGraphs
  • Operation Id: RestorableGremlinGraphs_List
  • Default Api Version: 2024-05-15-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinGraph> GetRestorableGremlinGraphsAsync (string restorableGremlinDatabaseRid = default, string startTime = default, string endTime = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableGremlinGraphsAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinGraph>
override this.GetRestorableGremlinGraphsAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinGraph>
Public Overridable Function GetRestorableGremlinGraphsAsync (Optional restorableGremlinDatabaseRid As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RestorableGremlinGraph)

Parameters

restorableGremlinDatabaseRid
String

The resource ID of the Gremlin database.

startTime
String

Restorable Gremlin graphs event feed start time.

endTime
String

Restorable Gremlin graphs event feed end time.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of RestorableGremlinGraph that may take multiple service requests to iterate over.

Applies to