table_resources
Creates, updates, deletes, gets or lists a table_resources
resource.
Overview
Name | table_resources |
Type | Resource |
Id | azure.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
retrieve_continuous_backup_information | exec | subscriptionId , resourceGroupName , accountName , tableName | Retrieves continuous backup information for a table. | |
migrate_table_to_autoscale | exec | subscriptionId , resourceGroupName , accountName , tableName | Migrate an Azure Cosmos DB Table from manual throughput to autoscale | |
migrate_table_to_manual_throughput | exec | subscriptionId , resourceGroupName , accountName , tableName | Migrate 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.
Name | Datatype | Description |
---|---|---|
accountName | string | Cosmos DB database account name. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
tableName | string | Cosmos DB table name. |
Lifecycle Methods
- retrieve_continuous_backup_information
- migrate_table_to_autoscale
- migrate_table_to_manual_throughput
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 }}"
}'
;
Migrate an Azure Cosmos DB Table from manual throughput to autoscale
EXEC azure.cosmos_db.table_resources.migrate_table_to_autoscale
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@accountName='{{ accountName }}' --required,
@tableName='{{ tableName }}' --required
;
Migrate an Azure Cosmos DB Table from autoscale to manual throughput
EXEC azure.cosmos_db.table_resources.migrate_table_to_manual_throughput
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@accountName='{{ accountName }}' --required,
@tableName='{{ tableName }}' --required
;