/
restorableSqlDatabases.ts
32 lines (30 loc) · 1.24 KB
/
restorableSqlDatabases.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
32
/*
* 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 {
RestorableSqlDatabaseGetResult,
RestorableSqlDatabasesListOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a RestorableSqlDatabases. */
export interface RestorableSqlDatabases {
/**
* 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
* @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?: RestorableSqlDatabasesListOptionalParams
): PagedAsyncIterableIterator<RestorableSqlDatabaseGetResult>;
}