Skip to main content

table_resources

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

Overview

Nametable_resources
TypeResource
Idazure.cosmos_db.table_resources

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
retrieve_continuous_backup_informationexecsubscriptionId, resourceGroupName, accountName, tableNameRetrieves continuous backup information for a table.
migrate_table_to_autoscaleexecsubscriptionId, resourceGroupName, accountName, tableNameMigrate an Azure Cosmos DB Table from manual throughput to autoscale
migrate_table_to_manual_throughputexecsubscriptionId, resourceGroupName, accountName, tableNameMigrate an Azure Cosmos DB Table from autoscale to manual throughput

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
accountNamestringCosmos DB database account name.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
tableNamestringCosmos DB table name.

Lifecycle Methods

Retrieves continuous backup information for a table.

EXEC azure.cosmos_db.table_resources.retrieve_continuous_backup_information 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@accountName='{{ accountName }}' --required,
@tableName='{{ tableName }}' --required
@@json=
'{
"location": "{{ location }}"
}'
;