CosmosdbCassandra
Resource Icon
Resource Overview
Azure Cosmos DB for Apache Cassandra can be used as a data store for applications created for Apache Cassandra. This compatibility means that existing Cassandra applications can communicate with the Cassandra API using existing Apache drivers that comply with CQLv4. In most cases, you can switch from using Apache Cassandra to the Cassandra API simply by updating the connection string. Using the Cassandra API allows you to interact with data stored in Azure Cosmos DB using CQL (Cassandra Query Language), Cassandra-based tools (such as cqlsh), and familiar Cassandra client drivers.
Parent Resource
Resource Setting Values
capabilities_list
: List of the Cosmos DB API which should be used -EnableServerless
,EnableAggregationPipeline
enable_multiple_write_locations
: Enable multi-region writes to leverage provisioned throughput across global databases and containers -true
,false
public_network_access_enabled
: Enable connection to the account by public IP address or service endpoint -true
,false
enable_automatic_failover
: Enable automatic failover for the account -true
,false
virtual_network_filter_enabled
: Enable filters so that only certain Subnets in the Virtual network can access the account -true
,false
network_acl_bypass_for_azure_services
:Allow ACL bypass for Azure service -true
,false
geo_location
failover_priority
: The failover priority of the region -0
~0
zone_redundant
: Enable the zone redundancy in case of an error -true
~false
consistency_policy
consistency_level
: The consistency level of Cassandra DB to set availability and performance of database -Eventual
,Session
,Strong
,ConsistentPrefix
,BoundedStaleness
max_interval_in_seconds
: If using Bounded Staleness, the time amount of staleness tolerated in seconds -5
~86400
max_staleness_prefix
: If using Bounded Staleness, the number of stale requests tolerated -10
~2147483647
backup
type
: The type of backup -Continuous
,Periodic
interval_in_minutes
: The interval of backup in minutes, Between 60 and 1440 -60
~1440
retention_in_hours
: The time in hours that the backup is retained, Between 8 and 720 -8
~720
cassandra_keyspace
throughput
: The throughput of Cassandra keyspace -400
~1000000
enable_autoscale
: Whether to apply auto scaling to Cassandra keyspace -true
,false
cassandra_table
throughput
: The throughput of Cassandra table -400
~1000000
column
: List of the name and type of column, 'name:type' formatpartition_key
: The name of partition keycluster_key_name
: The name of cluster key to be createdcluster_key_order
: Order of the cluster key -Asc
,Desc
enable_autoscale
: Whether to apply auto scaling to Cassandra keyspace -true
,false
included_cosmosdb_keyspace_name
: The name of the Cosmos DB Cassandra keyspace to create the table within
tag
: Tag to categorize resources - up to 512 characters,key
:value