RestorableMongodbResources interface

Interface representing a RestorableMongodbResources.

Methods

list(string, string, RestorableMongodbResourcesListOptionalParams)

Return a list of database and collection 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, RestorableMongodbResourcesListOptionalParams)

Return a list of database and collection 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?: RestorableMongodbResourcesListOptionalParams): PagedAsyncIterableIterator<RestorableMongodbResourcesGetResult, RestorableMongodbResourcesGetResult[], 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
RestorableMongodbResourcesListOptionalParams

The options parameters.

Returns

PagedAsyncIterableIterator<RestorableMongodbResourcesGetResult, RestorableMongodbResourcesGetResult[], PageSettings>