Share via


RestorableCosmosDBAccountResource.GetRestorableTablesAsync Method

Definition

Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission

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

Parameters

startTime
String

Restorable Tables event feed start time.

endTime
String

Restorable Tables event feed end time.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to