Share via


RestorableSqlResources interface

Interface representing a RestorableSqlResources.

Methods

list(string, string, RestorableSqlResourcesListOptionalParams)

Return a list of database and container combo that exist on the account at the given timestamp and ___location. This helps in scenarios to validate what resources exist at given timestamp and ___location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.

Method Details

list(string, string, RestorableSqlResourcesListOptionalParams)

Return a list of database and container combo that exist on the account at the given timestamp and ___location. This helps in scenarios to validate what resources exist at given timestamp and ___location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.

function list(___location: string, instanceId: string, options?: RestorableSqlResourcesListOptionalParams): PagedAsyncIterableIterator<RestorableSqlResourcesGetResult, RestorableSqlResourcesGetResult[], 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
RestorableSqlResourcesListOptionalParams

The options parameters.

Returns