Share via


RestorableMongodbCollectionsOperationsExtensions.List Method

Definition

Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission

public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.CosmosDB.Models.RestorableMongodbCollectionGetResult> List (this Microsoft.Azure.Management.CosmosDB.IRestorableMongodbCollectionsOperations operations, string location, string instanceId, string restorableMongodbDatabaseRid = default);
static member List : Microsoft.Azure.Management.CosmosDB.IRestorableMongodbCollectionsOperations * string * string * string -> seq<Microsoft.Azure.Management.CosmosDB.Models.RestorableMongodbCollectionGetResult>
<Extension()>
Public Function List (operations As IRestorableMongodbCollectionsOperations, location As String, instanceId As String, Optional restorableMongodbDatabaseRid As String = Nothing) As IEnumerable(Of RestorableMongodbCollectionGetResult)

Parameters

operations
IRestorableMongodbCollectionsOperations

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.

restorableMongodbDatabaseRid
String

The resource ID of the MongoDB database.

Returns

Applies to