/
restorableMongodbResources.ts
31 lines (29 loc) · 1.26 KB
/
restorableMongodbResources.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import {
RestorableMongodbResourcesGetResult,
RestorableMongodbResourcesListOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a RestorableMongodbResources. */
export interface RestorableMongodbResources {
/**
* 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.
* @param location Cosmos DB region, with spaces between words and each word capitalized.
* @param instanceId The instanceId GUID of a restorable database account.
* @param options The options parameters.
*/
list(
location: string,
instanceId: string,
options?: RestorableMongodbResourcesListOptionalParams
): PagedAsyncIterableIterator<RestorableMongodbResourcesGetResult>;
}