1. Packages
  2. Azure Native
  3. API Docs
  4. cosmosdb
  5. DatabaseAccountCassandraTable
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.cosmosdb.DatabaseAccountCassandraTable

Explore with Pulumi AI

An Azure Cosmos DB Cassandra table.

Uses Azure REST API version 2016-03-31.

Other available API versions: 2015-04-01, 2015-04-08, 2015-11-06, 2016-03-19. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cosmosdb [ApiVersion]. See the version guide for details.

Example Usage

CosmosDBCassandraTableCreateUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var databaseAccountCassandraTable = new AzureNative.CosmosDB.DatabaseAccountCassandraTable("databaseAccountCassandraTable", new()
    {
        AccountName = "ddb1",
        KeyspaceName = "tableName",
        Options = null,
        Resource = new AzureNative.CosmosDB.Inputs.CassandraTableResourceArgs
        {
            DefaultTtl = 100,
            Id = "tableName",
            Schema = new AzureNative.CosmosDB.Inputs.CassandraSchemaArgs
            {
                ClusterKeys = new[]
                {
                    new AzureNative.CosmosDB.Inputs.ClusterKeyArgs
                    {
                        Name = "columnA",
                        OrderBy = "Asc",
                    },
                },
                Columns = new[]
                {
                    new AzureNative.CosmosDB.Inputs.ColumnArgs
                    {
                        Name = "columnA",
                        Type = "Ascii",
                    },
                },
                PartitionKeys = new[]
                {
                    new AzureNative.CosmosDB.Inputs.CassandraPartitionKeyArgs
                    {
                        Name = "columnA",
                    },
                },
            },
        },
        ResourceGroupName = "rg1",
        TableName = "tableName",
    });

});
Copy
package main

import (
	cosmosdb "github.com/pulumi/pulumi-azure-native-sdk/cosmosdb/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cosmosdb.NewDatabaseAccountCassandraTable(ctx, "databaseAccountCassandraTable", &cosmosdb.DatabaseAccountCassandraTableArgs{
			AccountName:  pulumi.String("ddb1"),
			KeyspaceName: pulumi.String("tableName"),
			Options:      pulumi.StringMap{},
			Resource: &cosmosdb.CassandraTableResourceArgs{
				DefaultTtl: pulumi.Int(100),
				Id:         pulumi.String("tableName"),
				Schema: &cosmosdb.CassandraSchemaArgs{
					ClusterKeys: cosmosdb.ClusterKeyArray{
						&cosmosdb.ClusterKeyArgs{
							Name:    pulumi.String("columnA"),
							OrderBy: pulumi.String("Asc"),
						},
					},
					Columns: cosmosdb.ColumnArray{
						&cosmosdb.ColumnArgs{
							Name: pulumi.String("columnA"),
							Type: pulumi.String("Ascii"),
						},
					},
					PartitionKeys: cosmosdb.CassandraPartitionKeyArray{
						&cosmosdb.CassandraPartitionKeyArgs{
							Name: pulumi.String("columnA"),
						},
					},
				},
			},
			ResourceGroupName: pulumi.String("rg1"),
			TableName:         pulumi.String("tableName"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cosmosdb.DatabaseAccountCassandraTable;
import com.pulumi.azurenative.cosmosdb.DatabaseAccountCassandraTableArgs;
import com.pulumi.azurenative.cosmosdb.inputs.CassandraTableResourceArgs;
import com.pulumi.azurenative.cosmosdb.inputs.CassandraSchemaArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var databaseAccountCassandraTable = new DatabaseAccountCassandraTable("databaseAccountCassandraTable", DatabaseAccountCassandraTableArgs.builder()
            .accountName("ddb1")
            .keyspaceName("tableName")
            .options(Map.ofEntries(
            ))
            .resource(CassandraTableResourceArgs.builder()
                .defaultTtl(100)
                .id("tableName")
                .schema(CassandraSchemaArgs.builder()
                    .clusterKeys(ClusterKeyArgs.builder()
                        .name("columnA")
                        .orderBy("Asc")
                        .build())
                    .columns(ColumnArgs.builder()
                        .name("columnA")
                        .type("Ascii")
                        .build())
                    .partitionKeys(CassandraPartitionKeyArgs.builder()
                        .name("columnA")
                        .build())
                    .build())
                .build())
            .resourceGroupName("rg1")
            .tableName("tableName")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const databaseAccountCassandraTable = new azure_native.cosmosdb.DatabaseAccountCassandraTable("databaseAccountCassandraTable", {
    accountName: "ddb1",
    keyspaceName: "tableName",
    options: {},
    resource: {
        defaultTtl: 100,
        id: "tableName",
        schema: {
            clusterKeys: [{
                name: "columnA",
                orderBy: "Asc",
            }],
            columns: [{
                name: "columnA",
                type: "Ascii",
            }],
            partitionKeys: [{
                name: "columnA",
            }],
        },
    },
    resourceGroupName: "rg1",
    tableName: "tableName",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

database_account_cassandra_table = azure_native.cosmosdb.DatabaseAccountCassandraTable("databaseAccountCassandraTable",
    account_name="ddb1",
    keyspace_name="tableName",
    options={},
    resource={
        "default_ttl": 100,
        "id": "tableName",
        "schema": {
            "cluster_keys": [{
                "name": "columnA",
                "order_by": "Asc",
            }],
            "columns": [{
                "name": "columnA",
                "type": "Ascii",
            }],
            "partition_keys": [{
                "name": "columnA",
            }],
        },
    },
    resource_group_name="rg1",
    table_name="tableName")
Copy
resources:
  databaseAccountCassandraTable:
    type: azure-native:cosmosdb:DatabaseAccountCassandraTable
    properties:
      accountName: ddb1
      keyspaceName: tableName
      options: {}
      resource:
        defaultTtl: 100
        id: tableName
        schema:
          clusterKeys:
            - name: columnA
              orderBy: Asc
          columns:
            - name: columnA
              type: Ascii
          partitionKeys:
            - name: columnA
      resourceGroupName: rg1
      tableName: tableName
Copy

Create DatabaseAccountCassandraTable Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DatabaseAccountCassandraTable(name: string, args: DatabaseAccountCassandraTableArgs, opts?: CustomResourceOptions);
@overload
def DatabaseAccountCassandraTable(resource_name: str,
                                  args: DatabaseAccountCassandraTableArgs,
                                  opts: Optional[ResourceOptions] = None)

@overload
def DatabaseAccountCassandraTable(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  account_name: Optional[str] = None,
                                  keyspace_name: Optional[str] = None,
                                  options: Optional[Mapping[str, str]] = None,
                                  resource: Optional[CassandraTableResourceArgs] = None,
                                  resource_group_name: Optional[str] = None,
                                  table_name: Optional[str] = None)
func NewDatabaseAccountCassandraTable(ctx *Context, name string, args DatabaseAccountCassandraTableArgs, opts ...ResourceOption) (*DatabaseAccountCassandraTable, error)
public DatabaseAccountCassandraTable(string name, DatabaseAccountCassandraTableArgs args, CustomResourceOptions? opts = null)
public DatabaseAccountCassandraTable(String name, DatabaseAccountCassandraTableArgs args)
public DatabaseAccountCassandraTable(String name, DatabaseAccountCassandraTableArgs args, CustomResourceOptions options)
type: azure-native:cosmosdb:DatabaseAccountCassandraTable
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DatabaseAccountCassandraTableArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DatabaseAccountCassandraTableArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DatabaseAccountCassandraTableArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DatabaseAccountCassandraTableArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DatabaseAccountCassandraTableArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var databaseAccountCassandraTableResource = new AzureNative.CosmosDB.DatabaseAccountCassandraTable("databaseAccountCassandraTableResource", new()
{
    AccountName = "string",
    KeyspaceName = "string",
    Options = 
    {
        { "string", "string" },
    },
    Resource = new AzureNative.CosmosDB.Inputs.CassandraTableResourceArgs
    {
        Id = "string",
        AnalyticalStorageTtl = 0,
        DefaultTtl = 0,
        Schema = new AzureNative.CosmosDB.Inputs.CassandraSchemaArgs
        {
            ClusterKeys = new[]
            {
                new AzureNative.CosmosDB.Inputs.ClusterKeyArgs
                {
                    Name = "string",
                    OrderBy = "string",
                },
            },
            Columns = new[]
            {
                new AzureNative.CosmosDB.Inputs.ColumnArgs
                {
                    Name = "string",
                    Type = "string",
                },
            },
            PartitionKeys = new[]
            {
                new AzureNative.CosmosDB.Inputs.CassandraPartitionKeyArgs
                {
                    Name = "string",
                },
            },
        },
    },
    ResourceGroupName = "string",
    TableName = "string",
});
Copy
example, err := cosmosdb.NewDatabaseAccountCassandraTable(ctx, "databaseAccountCassandraTableResource", &cosmosdb.DatabaseAccountCassandraTableArgs{
	AccountName:  pulumi.String("string"),
	KeyspaceName: pulumi.String("string"),
	Options: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Resource: &cosmosdb.CassandraTableResourceArgs{
		Id:                   pulumi.String("string"),
		AnalyticalStorageTtl: pulumi.Int(0),
		DefaultTtl:           pulumi.Int(0),
		Schema: &cosmosdb.CassandraSchemaArgs{
			ClusterKeys: cosmosdb.ClusterKeyArray{
				&cosmosdb.ClusterKeyArgs{
					Name:    pulumi.String("string"),
					OrderBy: pulumi.String("string"),
				},
			},
			Columns: cosmosdb.ColumnArray{
				&cosmosdb.ColumnArgs{
					Name: pulumi.String("string"),
					Type: pulumi.String("string"),
				},
			},
			PartitionKeys: cosmosdb.CassandraPartitionKeyArray{
				&cosmosdb.CassandraPartitionKeyArgs{
					Name: pulumi.String("string"),
				},
			},
		},
	},
	ResourceGroupName: pulumi.String("string"),
	TableName:         pulumi.String("string"),
})
Copy
var databaseAccountCassandraTableResource = new DatabaseAccountCassandraTable("databaseAccountCassandraTableResource", DatabaseAccountCassandraTableArgs.builder()
    .accountName("string")
    .keyspaceName("string")
    .options(Map.of("string", "string"))
    .resource(CassandraTableResourceArgs.builder()
        .id("string")
        .analyticalStorageTtl(0)
        .defaultTtl(0)
        .schema(CassandraSchemaArgs.builder()
            .clusterKeys(ClusterKeyArgs.builder()
                .name("string")
                .orderBy("string")
                .build())
            .columns(ColumnArgs.builder()
                .name("string")
                .type("string")
                .build())
            .partitionKeys(CassandraPartitionKeyArgs.builder()
                .name("string")
                .build())
            .build())
        .build())
    .resourceGroupName("string")
    .tableName("string")
    .build());
Copy
database_account_cassandra_table_resource = azure_native.cosmosdb.DatabaseAccountCassandraTable("databaseAccountCassandraTableResource",
    account_name="string",
    keyspace_name="string",
    options={
        "string": "string",
    },
    resource={
        "id": "string",
        "analytical_storage_ttl": 0,
        "default_ttl": 0,
        "schema": {
            "cluster_keys": [{
                "name": "string",
                "order_by": "string",
            }],
            "columns": [{
                "name": "string",
                "type": "string",
            }],
            "partition_keys": [{
                "name": "string",
            }],
        },
    },
    resource_group_name="string",
    table_name="string")
Copy
const databaseAccountCassandraTableResource = new azure_native.cosmosdb.DatabaseAccountCassandraTable("databaseAccountCassandraTableResource", {
    accountName: "string",
    keyspaceName: "string",
    options: {
        string: "string",
    },
    resource: {
        id: "string",
        analyticalStorageTtl: 0,
        defaultTtl: 0,
        schema: {
            clusterKeys: [{
                name: "string",
                orderBy: "string",
            }],
            columns: [{
                name: "string",
                type: "string",
            }],
            partitionKeys: [{
                name: "string",
            }],
        },
    },
    resourceGroupName: "string",
    tableName: "string",
});
Copy
type: azure-native:cosmosdb:DatabaseAccountCassandraTable
properties:
    accountName: string
    keyspaceName: string
    options:
        string: string
    resource:
        analyticalStorageTtl: 0
        defaultTtl: 0
        id: string
        schema:
            clusterKeys:
                - name: string
                  orderBy: string
            columns:
                - name: string
                  type: string
            partitionKeys:
                - name: string
    resourceGroupName: string
    tableName: string
Copy

DatabaseAccountCassandraTable Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DatabaseAccountCassandraTable resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB database account name.
KeyspaceName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB keyspace name.
Options This property is required. Dictionary<string, string>
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Resource This property is required. Pulumi.AzureNative.CosmosDB.Inputs.CassandraTableResource
The standard JSON format of a Cassandra table
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure resource group.
TableName Changes to this property will trigger replacement. string
Cosmos DB table name.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB database account name.
KeyspaceName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB keyspace name.
Options This property is required. map[string]string
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Resource This property is required. CassandraTableResourceArgs
The standard JSON format of a Cassandra table
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure resource group.
TableName Changes to this property will trigger replacement. string
Cosmos DB table name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB database account name.
keyspaceName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB keyspace name.
options This property is required. Map<String,String>
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
resource This property is required. CassandraTableResource
The standard JSON format of a Cassandra table
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure resource group.
tableName Changes to this property will trigger replacement. String
Cosmos DB table name.
accountName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB database account name.
keyspaceName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB keyspace name.
options This property is required. {[key: string]: string}
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
resource This property is required. CassandraTableResource
The standard JSON format of a Cassandra table
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure resource group.
tableName Changes to this property will trigger replacement. string
Cosmos DB table name.
account_name
This property is required.
Changes to this property will trigger replacement.
str
Cosmos DB database account name.
keyspace_name
This property is required.
Changes to this property will trigger replacement.
str
Cosmos DB keyspace name.
options This property is required. Mapping[str, str]
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
resource This property is required. CassandraTableResourceArgs
The standard JSON format of a Cassandra table
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of an Azure resource group.
table_name Changes to this property will trigger replacement. str
Cosmos DB table name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB database account name.
keyspaceName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB keyspace name.
options This property is required. Map<String>
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
resource This property is required. Property Map
The standard JSON format of a Cassandra table
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure resource group.
tableName Changes to this property will trigger replacement. String
Cosmos DB table name.

Outputs

All input properties are implicitly available as output properties. Additionally, the DatabaseAccountCassandraTable resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the database account.
Type string
The type of Azure resource.
DefaultTtl int
Time to live of the Cosmos DB Cassandra table
Location string
The location of the resource group to which the resource belongs.
Schema Pulumi.AzureNative.CosmosDB.Outputs.CassandraSchemaResponse
Schema of the Cosmos DB Cassandra table
Tags Dictionary<string, string>
Tags 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".
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the database account.
Type string
The type of Azure resource.
DefaultTtl int
Time to live of the Cosmos DB Cassandra table
Location string
The location of the resource group to which the resource belongs.
Schema CassandraSchemaResponse
Schema of the Cosmos DB Cassandra table
Tags map[string]string
Tags 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".
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the database account.
type String
The type of Azure resource.
defaultTtl Integer
Time to live of the Cosmos DB Cassandra table
location String
The location of the resource group to which the resource belongs.
schema CassandraSchemaResponse
Schema of the Cosmos DB Cassandra table
tags Map<String,String>
Tags 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".
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the database account.
type string
The type of Azure resource.
defaultTtl number
Time to live of the Cosmos DB Cassandra table
location string
The location of the resource group to which the resource belongs.
schema CassandraSchemaResponse
Schema of the Cosmos DB Cassandra table
tags {[key: string]: string}
Tags 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".
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the database account.
type str
The type of Azure resource.
default_ttl int
Time to live of the Cosmos DB Cassandra table
location str
The location of the resource group to which the resource belongs.
schema CassandraSchemaResponse
Schema of the Cosmos DB Cassandra table
tags Mapping[str, str]
Tags 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".
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the database account.
type String
The type of Azure resource.
defaultTtl Number
Time to live of the Cosmos DB Cassandra table
location String
The location of the resource group to which the resource belongs.
schema Property Map
Schema of the Cosmos DB Cassandra table
tags Map<String>
Tags 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".

Supporting Types

CassandraPartitionKey
, CassandraPartitionKeyArgs

Name string
Name of the Cosmos DB Cassandra table partition key
Name string
Name of the Cosmos DB Cassandra table partition key
name String
Name of the Cosmos DB Cassandra table partition key
name string
Name of the Cosmos DB Cassandra table partition key
name str
Name of the Cosmos DB Cassandra table partition key
name String
Name of the Cosmos DB Cassandra table partition key

CassandraPartitionKeyResponse
, CassandraPartitionKeyResponseArgs

Name string
Name of the Cosmos DB Cassandra table partition key
Name string
Name of the Cosmos DB Cassandra table partition key
name String
Name of the Cosmos DB Cassandra table partition key
name string
Name of the Cosmos DB Cassandra table partition key
name str
Name of the Cosmos DB Cassandra table partition key
name String
Name of the Cosmos DB Cassandra table partition key

CassandraSchema
, CassandraSchemaArgs

ClusterKeys []ClusterKey
List of cluster key.
Columns []Column
List of Cassandra table columns.
PartitionKeys []CassandraPartitionKey
List of partition key.
clusterKeys List<ClusterKey>
List of cluster key.
columns List<Column>
List of Cassandra table columns.
partitionKeys List<CassandraPartitionKey>
List of partition key.
clusterKeys ClusterKey[]
List of cluster key.
columns Column[]
List of Cassandra table columns.
partitionKeys CassandraPartitionKey[]
List of partition key.
cluster_keys Sequence[ClusterKey]
List of cluster key.
columns Sequence[Column]
List of Cassandra table columns.
partition_keys Sequence[CassandraPartitionKey]
List of partition key.
clusterKeys List<Property Map>
List of cluster key.
columns List<Property Map>
List of Cassandra table columns.
partitionKeys List<Property Map>
List of partition key.

CassandraSchemaResponse
, CassandraSchemaResponseArgs

ClusterKeys []ClusterKeyResponse
List of cluster key.
Columns []ColumnResponse
List of Cassandra table columns.
PartitionKeys []CassandraPartitionKeyResponse
List of partition key.
clusterKeys List<ClusterKeyResponse>
List of cluster key.
columns List<ColumnResponse>
List of Cassandra table columns.
partitionKeys List<CassandraPartitionKeyResponse>
List of partition key.
clusterKeys ClusterKeyResponse[]
List of cluster key.
columns ColumnResponse[]
List of Cassandra table columns.
partitionKeys CassandraPartitionKeyResponse[]
List of partition key.
clusterKeys List<Property Map>
List of cluster key.
columns List<Property Map>
List of Cassandra table columns.
partitionKeys List<Property Map>
List of partition key.

CassandraTableResource
, CassandraTableResourceArgs

Id This property is required. string
Name of the Cosmos DB Cassandra table
AnalyticalStorageTtl int
Analytical TTL.
DefaultTtl int
Time to live of the Cosmos DB Cassandra table
Schema Pulumi.AzureNative.CosmosDB.Inputs.CassandraSchema
Schema of the Cosmos DB Cassandra table
Id This property is required. string
Name of the Cosmos DB Cassandra table
AnalyticalStorageTtl int
Analytical TTL.
DefaultTtl int
Time to live of the Cosmos DB Cassandra table
Schema CassandraSchema
Schema of the Cosmos DB Cassandra table
id This property is required. String
Name of the Cosmos DB Cassandra table
analyticalStorageTtl Integer
Analytical TTL.
defaultTtl Integer
Time to live of the Cosmos DB Cassandra table
schema CassandraSchema
Schema of the Cosmos DB Cassandra table
id This property is required. string
Name of the Cosmos DB Cassandra table
analyticalStorageTtl number
Analytical TTL.
defaultTtl number
Time to live of the Cosmos DB Cassandra table
schema CassandraSchema
Schema of the Cosmos DB Cassandra table
id This property is required. str
Name of the Cosmos DB Cassandra table
analytical_storage_ttl int
Analytical TTL.
default_ttl int
Time to live of the Cosmos DB Cassandra table
schema CassandraSchema
Schema of the Cosmos DB Cassandra table
id This property is required. String
Name of the Cosmos DB Cassandra table
analyticalStorageTtl Number
Analytical TTL.
defaultTtl Number
Time to live of the Cosmos DB Cassandra table
schema Property Map
Schema of the Cosmos DB Cassandra table

ClusterKey
, ClusterKeyArgs

Name string
Name of the Cosmos DB Cassandra table cluster key
OrderBy string
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
Name string
Name of the Cosmos DB Cassandra table cluster key
OrderBy string
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
name String
Name of the Cosmos DB Cassandra table cluster key
orderBy String
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
name string
Name of the Cosmos DB Cassandra table cluster key
orderBy string
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
name str
Name of the Cosmos DB Cassandra table cluster key
order_by str
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
name String
Name of the Cosmos DB Cassandra table cluster key
orderBy String
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"

ClusterKeyResponse
, ClusterKeyResponseArgs

Name string
Name of the Cosmos DB Cassandra table cluster key
OrderBy string
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
Name string
Name of the Cosmos DB Cassandra table cluster key
OrderBy string
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
name String
Name of the Cosmos DB Cassandra table cluster key
orderBy String
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
name string
Name of the Cosmos DB Cassandra table cluster key
orderBy string
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
name str
Name of the Cosmos DB Cassandra table cluster key
order_by str
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
name String
Name of the Cosmos DB Cassandra table cluster key
orderBy String
Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"

Column
, ColumnArgs

Name string
Name of the Cosmos DB Cassandra table column
Type string
Type of the Cosmos DB Cassandra table column
Name string
Name of the Cosmos DB Cassandra table column
Type string
Type of the Cosmos DB Cassandra table column
name String
Name of the Cosmos DB Cassandra table column
type String
Type of the Cosmos DB Cassandra table column
name string
Name of the Cosmos DB Cassandra table column
type string
Type of the Cosmos DB Cassandra table column
name str
Name of the Cosmos DB Cassandra table column
type str
Type of the Cosmos DB Cassandra table column
name String
Name of the Cosmos DB Cassandra table column
type String
Type of the Cosmos DB Cassandra table column

ColumnResponse
, ColumnResponseArgs

Name string
Name of the Cosmos DB Cassandra table column
Type string
Type of the Cosmos DB Cassandra table column
Name string
Name of the Cosmos DB Cassandra table column
Type string
Type of the Cosmos DB Cassandra table column
name String
Name of the Cosmos DB Cassandra table column
type String
Type of the Cosmos DB Cassandra table column
name string
Name of the Cosmos DB Cassandra table column
type string
Type of the Cosmos DB Cassandra table column
name str
Name of the Cosmos DB Cassandra table column
type str
Type of the Cosmos DB Cassandra table column
name String
Name of the Cosmos DB Cassandra table column
type String
Type of the Cosmos DB Cassandra table column

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:cosmosdb:DatabaseAccountCassandraTable tableName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/apis/cassandra/keyspaces/{keyspaceName}/tables/{tableName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0