RestorableCosmosDBAccountResource.GetRestorableMongoDBDatabasesAsync 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
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbDatabases
- Operation Id: RestorableMongodbDatabases_List
- Default Api Version: 2024-12-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBDatabase> GetRestorableMongoDBDatabasesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableMongoDBDatabasesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBDatabase>
override this.GetRestorableMongoDBDatabasesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBDatabase>
Public Overridable Function GetRestorableMongoDBDatabasesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RestorableMongoDBDatabase)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of RestorableMongoDBDatabase that may take multiple service requests to iterate over.