RestorableCosmosDBAccountResource.GetRestorableMongoDBCollections 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.
Overloads
GetRestorableMongoDBCollections(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 |
GetRestorableMongoDBCollections(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
|
GetRestorableMongoDBCollections(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
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection> GetRestorableMongoDBCollections (string restorableMongoDBDatabaseRid, System.Threading.CancellationToken cancellationToken);
abstract member GetRestorableMongoDBCollections : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection>
override this.GetRestorableMongoDBCollections : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection>
Public Overridable Function GetRestorableMongoDBCollections (restorableMongoDBDatabaseRid As String, cancellationToken As CancellationToken) As Pageable(Of RestorableMongoDBCollection)
Parameters
- restorableMongoDBDatabaseRid
- String
The resource ID of the MongoDB database.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of RestorableMongoDBCollection that may take multiple service requests to iterate over.
Applies to
GetRestorableMongoDBCollections(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
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection> GetRestorableMongoDBCollections (string restorableMongoDBDatabaseRid = default, string startTime = default, string endTime = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableMongoDBCollections : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection>
override this.GetRestorableMongoDBCollections : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection>
Public Overridable Function GetRestorableMongoDBCollections (Optional restorableMongoDBDatabaseRid As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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
A collection of RestorableMongoDBCollection that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET