Skip to main content

cassandra_table_throughputs

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

Overview

Namecassandra_table_throughputs
TypeResource
Idazure.cosmos_db.cassandra_table_throughputs

Fields

NameDatatypeDescription
idtextThe unique resource identifier of the ARM resource.
nametextThe name of the ARM resource.
accountNametextfield from the properties object
identitytextIdentity for the resource.
keyspaceNametextfield from the properties object
locationtextThe location of the resource group to which the resource belongs.
resourcetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tableNametextfield from the properties object
tagstextTags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
typetextThe type of Azure resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, keyspaceName, resourceGroupName, subscriptionId, tableNameGets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.
updateREPLACEaccountName, keyspaceName, resourceGroupName, subscriptionId, tableName, data__propertiesUpdate RUs per second of an Azure Cosmos DB Cassandra table

SELECT examples

Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.

SELECT
id,
name,
accountName,
identity,
keyspaceName,
location,
resource,
resourceGroupName,
subscriptionId,
tableName,
tags,
type
FROM azure.cosmos_db.vw_cassandra_table_throughputs
WHERE accountName = '{{ accountName }}'
AND keyspaceName = '{{ keyspaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND tableName = '{{ tableName }}';

REPLACE example

Replaces all fields in the specified cassandra_table_throughputs resource.

/*+ update */
REPLACE azure.cosmos_db.cassandra_table_throughputs
SET
properties = '{{ properties }}',
location = '{{ location }}',
tags = '{{ tags }}',
identity = '{{ identity }}'
WHERE
accountName = '{{ accountName }}'
AND keyspaceName = '{{ keyspaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND tableName = '{{ tableName }}'
AND data__properties = '{{ data__properties }}';