RestorableSqlDatabasesClient Interface

public interface RestorableSqlDatabasesClient

An instance of this class provides access to all the operations defined in RestorableSqlDatabasesClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<RestorableSqlDatabaseGetResultInner> list(String location, String instanceId)

Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account.

abstract PagedIterable<RestorableSqlDatabaseGetResultInner> list(String location, String instanceId, Context context)

Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account.

abstract PagedFlux<RestorableSqlDatabaseGetResultInner> listAsync(String location, String instanceId)

Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account.

Method Details

list

public abstract PagedIterable list(String location, String instanceId)

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.

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.

Returns:

the List operation response, that contains the SQL database events and their properties as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String location, String instanceId, Context context)

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.

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.
context - The context to associate with this operation.

Returns:

the List operation response, that contains the SQL database events and their properties as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String location, String instanceId)

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.

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.

Returns:

the List operation response, that contains the SQL database events and their properties as paginated response with PagedFlux<T>.

Applies to