RestorableCosmosDBAccountResource.GetRestorableSqlContainersAsync 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 SQL containers 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}/restorableSqlContainers
- Operation Id: RestorableSqlContainers_List
- Default Api Version: 2024-09-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableSqlContainer> GetRestorableSqlContainersAsync (string restorableSqlDatabaseRid = default, string startTime = default, string endTime = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableSqlContainersAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableSqlContainer>
override this.GetRestorableSqlContainersAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableSqlContainer>
Public Overridable Function GetRestorableSqlContainersAsync (Optional restorableSqlDatabaseRid As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RestorableSqlContainer)
Parameters
- restorableSqlDatabaseRid
- String
The resource ID of the SQL database.
- startTime
- String
Restorable Sql containers event feed start time.
- endTime
- String
Restorable Sql containers event feed end time.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of RestorableSqlContainer that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET