共用方式為


RestorableCosmosDBAccountResource.GetRestorableGremlinGraphs 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-12-01-preview
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinGraph> GetRestorableGremlinGraphs (string restorableGremlinDatabaseRid = default, string startTime = default, string endTime = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableGremlinGraphs : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinGraph>
override this.GetRestorableGremlinGraphs : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinGraph>
Public Overridable Function GetRestorableGremlinGraphs (Optional restorableGremlinDatabaseRid As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Applies to