Delen via


RestorableCosmosDBAccountResource.GetRestorableGremlinDatabasesAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableGremlinDatabases
  • Operation Id: RestorableGremlinDatabases_List
  • Default Api Version: 2024-02-15-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinDatabase> GetRestorableGremlinDatabasesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableGremlinDatabasesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinDatabase>
override this.GetRestorableGremlinDatabasesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinDatabase>
Public Overridable Function GetRestorableGremlinDatabasesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RestorableGremlinDatabase)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to