RestorableCosmosDBAccountResource.GetRestorableTables 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.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableTable> GetRestorableTables (string startTime = default, string endTime = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableTables : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableTable>
override this.GetRestorableTables : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableTable>
Public Overridable Function GetRestorableTables (Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Applies to