Skip to main content

restorable_table_resources

Creates, updates, deletes, gets or lists a restorable_table_resources resource.

Overview

Namerestorable_table_resources
TypeResource
Idazure.cosmos_db.restorable_table_resources

Fields

NameDatatypeDescription
idstringThe unique resource identifier of the ARM resource.
namestringThe name of the Table.
typestringThe type of Azure resource.

Methods

NameAccessible byRequired ParamsDescription
listSELECTinstanceId, location, subscriptionIdReturn a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.

SELECT examples

Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.

SELECT
id,
name,
type
FROM azure.cosmos_db.restorable_table_resources
WHERE instanceId = '{{ instanceId }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';