RestorableSqlDatabasesOperationsExtensions.List Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.CosmosDB.Models.RestorableSqlDatabaseGetResult> List (this Microsoft.Azure.Management.CosmosDB.IRestorableSqlDatabasesOperations operations, string location, string instanceId);
static member List : Microsoft.Azure.Management.CosmosDB.IRestorableSqlDatabasesOperations * string * string -> seq<Microsoft.Azure.Management.CosmosDB.Models.RestorableSqlDatabaseGetResult>
<Extension()>
Public Function List (operations As IRestorableSqlDatabasesOperations, location As String, instanceId As String) As IEnumerable(Of RestorableSqlDatabaseGetResult)
Parameters
- operations
- IRestorableSqlDatabasesOperations
The operations group for this extension method.
- location
- String
Cosmos DB region, with spaces between words and each word capitalized.
- instanceId
- String
The instanceId GUID of a restorable database account.