RestorableCosmosDBAccountResource.GetRestorableSqlDatabases Method

Definition

Show the event feed of all mutations done on all the Azure Cosmos DB SQL 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}/restorableSqlDatabases
  • Operation Id: RestorableSqlDatabases_List
  • Default Api Version: 2024-09-01-preview
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabase> GetRestorableSqlDatabases (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableSqlDatabases : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabase>
override this.GetRestorableSqlDatabases : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabase>
Public Overridable Function GetRestorableSqlDatabases (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RestorableSqlDatabase)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to