RestorableMongodbDatabasesOperationsExtensions.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 MongoDB 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.RestorableMongodbDatabaseGetResult> List (this Microsoft.Azure.Management.CosmosDB.IRestorableMongodbDatabasesOperations operations, string location, string instanceId);
static member List : Microsoft.Azure.Management.CosmosDB.IRestorableMongodbDatabasesOperations * string * string -> seq<Microsoft.Azure.Management.CosmosDB.Models.RestorableMongodbDatabaseGetResult>
<Extension()>
Public Function List (operations As IRestorableMongodbDatabasesOperations, location As String, instanceId As String) As IEnumerable(Of RestorableMongodbDatabaseGetResult)
Parameters
- operations
- IRestorableMongodbDatabasesOperations
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.
Returns
Applies to
Azure SDK for .NET