RestorableCosmosDBAccountResource.GetRestorableSqlContainers 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.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableSqlContainer> GetRestorableSqlContainers (string restorableSqlDatabaseRid = default, string startTime = default, string endTime = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableSqlContainers : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableSqlContainer>
override this.GetRestorableSqlContainers : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableSqlContainer>
Public Overridable Function GetRestorableSqlContainers (Optional restorableSqlDatabaseRid As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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
A collection of RestorableSqlContainer that may take multiple service requests to iterate over.