Share via


RestorableCosmosDBAccountResource.GetRestorableMongoDBCollectionsAsync Method

Definition

Overloads

GetRestorableMongoDBCollectionsAsync(String, CancellationToken)

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 Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbCollections Operation Id: RestorableMongodbCollections_List

GetRestorableMongoDBCollectionsAsync(String, String, String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbCollections
  • Operation Id: RestorableMongodbCollections_List
  • Default Api Version: 2024-09-01-preview

GetRestorableMongoDBCollectionsAsync(String, CancellationToken)

Source:
RestorableCosmosDBAccountResource.cs
Source:
RestorableCosmosDBAccountResource.cs

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 Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbCollections Operation Id: RestorableMongodbCollections_List

public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection> GetRestorableMongoDBCollectionsAsync (string restorableMongoDBDatabaseRid, System.Threading.CancellationToken cancellationToken);
abstract member GetRestorableMongoDBCollectionsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection>
override this.GetRestorableMongoDBCollectionsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection>
Public Overridable Function GetRestorableMongoDBCollectionsAsync (restorableMongoDBDatabaseRid As String, cancellationToken As CancellationToken) As AsyncPageable(Of RestorableMongoDBCollection)

Parameters

restorableMongoDBDatabaseRid
String

The resource ID of the MongoDB database.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of RestorableMongoDBCollection that may take multiple service requests to iterate over.

Applies to

GetRestorableMongoDBCollectionsAsync(String, String, String, CancellationToken)

Source:
RestorableCosmosDBAccountResource.cs
Source:
RestorableCosmosDBAccountResource.cs

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbCollections
  • Operation Id: RestorableMongodbCollections_List
  • Default Api Version: 2024-09-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection> GetRestorableMongoDBCollectionsAsync (string restorableMongoDBDatabaseRid = default, string startTime = default, string endTime = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableMongoDBCollectionsAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection>
override this.GetRestorableMongoDBCollectionsAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection>
Public Overridable Function GetRestorableMongoDBCollectionsAsync (Optional restorableMongoDBDatabaseRid As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RestorableMongoDBCollection)

Parameters

restorableMongoDBDatabaseRid
String

The resource ID of the MongoDB database.

startTime
String

Restorable MongoDB collections event feed start time.

endTime
String

Restorable MongoDB collections event feed end time.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of RestorableMongoDBCollection that may take multiple service requests to iterate over.

Applies to