RestorableSqlDatabases interface

Interface representing a RestorableSqlDatabases.

Methods

list(string, string, RestorableSqlDatabasesListOptionalParams)

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

Method Details

list(string, string, RestorableSqlDatabasesListOptionalParams)

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

function list(location: string, instanceId: string, options?: RestorableSqlDatabasesListOptionalParams): PagedAsyncIterableIterator<RestorableSqlDatabaseGetResult, RestorableSqlDatabaseGetResult[], PageSettings>

Parameters

location

string

Cosmos DB region, with spaces between words and each word capitalized.

instanceId

string

The instanceId GUID of a restorable database account.

options
RestorableSqlDatabasesListOptionalParams

The options parameters.

Returns