1. Packages
  2. Azure Native
  3. API Docs
  4. cosmosdb
  5. getCassandraResourceCassandraTable
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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.cosmosdb.getCassandraResourceCassandraTable

Explore with Pulumi AI

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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Gets the Cassandra table under an existing Azure Cosmos DB database account.

Uses Azure REST API version 2024-11-15.

Other available API versions: 2019-08-01, 2019-12-12, 2020-03-01, 2020-04-01, 2020-06-01-preview, 2020-09-01, 2021-01-15, 2021-03-01-preview, 2021-03-15, 2021-04-01-preview, 2021-04-15, 2021-05-15, 2021-06-15, 2021-07-01-preview, 2021-10-15, 2021-10-15-preview, 2021-11-15-preview, 2022-02-15-preview, 2022-05-15, 2022-05-15-preview, 2022-08-15, 2022-08-15-preview, 2022-11-15, 2022-11-15-preview, 2023-03-01-preview, 2023-03-15, 2023-03-15-preview, 2023-04-15, 2023-09-15, 2023-09-15-preview, 2023-11-15, 2023-11-15-preview, 2024-02-15-preview, 2024-05-15, 2024-05-15-preview, 2024-08-15, 2024-09-01-preview, 2024-12-01-preview. 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.

Using getCassandraResourceCassandraTable

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCassandraResourceCassandraTable(args: GetCassandraResourceCassandraTableArgs, opts?: InvokeOptions): Promise<GetCassandraResourceCassandraTableResult>
function getCassandraResourceCassandraTableOutput(args: GetCassandraResourceCassandraTableOutputArgs, opts?: InvokeOptions): Output<GetCassandraResourceCassandraTableResult>
Copy
def get_cassandra_resource_cassandra_table(account_name: Optional[str] = None,
                                           keyspace_name: Optional[str] = None,
                                           resource_group_name: Optional[str] = None,
                                           table_name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCassandraResourceCassandraTableResult
def get_cassandra_resource_cassandra_table_output(account_name: Optional[pulumi.Input[str]] = None,
                                           keyspace_name: Optional[pulumi.Input[str]] = None,
                                           resource_group_name: Optional[pulumi.Input[str]] = None,
                                           table_name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetCassandraResourceCassandraTableResult]
Copy
func LookupCassandraResourceCassandraTable(ctx *Context, args *LookupCassandraResourceCassandraTableArgs, opts ...InvokeOption) (*LookupCassandraResourceCassandraTableResult, error)
func LookupCassandraResourceCassandraTableOutput(ctx *Context, args *LookupCassandraResourceCassandraTableOutputArgs, opts ...InvokeOption) LookupCassandraResourceCassandraTableResultOutput
Copy

> Note: This function is named LookupCassandraResourceCassandraTable in the Go SDK.

public static class GetCassandraResourceCassandraTable 
{
    public static Task<GetCassandraResourceCassandraTableResult> InvokeAsync(GetCassandraResourceCassandraTableArgs args, InvokeOptions? opts = null)
    public static Output<GetCassandraResourceCassandraTableResult> Invoke(GetCassandraResourceCassandraTableInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCassandraResourceCassandraTableResult> getCassandraResourceCassandraTable(GetCassandraResourceCassandraTableArgs args, InvokeOptions options)
public static Output<GetCassandraResourceCassandraTableResult> getCassandraResourceCassandraTable(GetCassandraResourceCassandraTableArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:cosmosdb:getCassandraResourceCassandraTable
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TableName
This property is required.
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.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TableName
This property is required.
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
tableName
This property is required.
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
tableName
This property is required.
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.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
table_name
This property is required.
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
tableName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB table name.

getCassandraResourceCassandraTable Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
The unique resource identifier of the ARM resource.
Name string
The name of the ARM resource.
Type string
The type of Azure resource.
Location string
The location of the resource group to which the resource belongs.
Options Pulumi.AzureNative.CosmosDB.Outputs.CassandraTableGetPropertiesResponseOptions
Resource Pulumi.AzureNative.CosmosDB.Outputs.CassandraTableGetPropertiesResponseResource
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 unique resource identifier of the ARM resource.
Name string
The name of the ARM resource.
Type string
The type of Azure resource.
Location string
The location of the resource group to which the resource belongs.
Options CassandraTableGetPropertiesResponseOptions
Resource CassandraTableGetPropertiesResponseResource
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 unique resource identifier of the ARM resource.
name String
The name of the ARM resource.
type String
The type of Azure resource.
location String
The location of the resource group to which the resource belongs.
options CassandraTableGetPropertiesResponseOptions
resource CassandraTableGetPropertiesResponseResource
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 unique resource identifier of the ARM resource.
name string
The name of the ARM resource.
type string
The type of Azure resource.
location string
The location of the resource group to which the resource belongs.
options CassandraTableGetPropertiesResponseOptions
resource CassandraTableGetPropertiesResponseResource
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 unique resource identifier of the ARM resource.
name str
The name of the ARM resource.
type str
The type of Azure resource.
location str
The location of the resource group to which the resource belongs.
options CassandraTableGetPropertiesResponseOptions
resource CassandraTableGetPropertiesResponseResource
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 unique resource identifier of the ARM resource.
name String
The name of the ARM resource.
type String
The type of Azure resource.
location String
The location of the resource group to which the resource belongs.
options Property Map
resource Property Map
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

AutoscaleSettingsResponse

MaxThroughput int
Represents maximum throughput, the resource can scale up to.
MaxThroughput int
Represents maximum throughput, the resource can scale up to.
maxThroughput Integer
Represents maximum throughput, the resource can scale up to.
maxThroughput number
Represents maximum throughput, the resource can scale up to.
max_throughput int
Represents maximum throughput, the resource can scale up to.
maxThroughput Number
Represents maximum throughput, the resource can scale up to.

CassandraPartitionKeyResponse

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

CassandraSchemaResponse

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.

CassandraTableGetPropertiesResponseOptions

AutoscaleSettings Pulumi.AzureNative.CosmosDB.Inputs.AutoscaleSettingsResponse
Specifies the Autoscale settings.
Throughput int
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
AutoscaleSettings AutoscaleSettingsResponse
Specifies the Autoscale settings.
Throughput int
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
autoscaleSettings AutoscaleSettingsResponse
Specifies the Autoscale settings.
throughput Integer
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
autoscaleSettings AutoscaleSettingsResponse
Specifies the Autoscale settings.
throughput number
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
autoscale_settings AutoscaleSettingsResponse
Specifies the Autoscale settings.
throughput int
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
autoscaleSettings Property Map
Specifies the Autoscale settings.
throughput Number
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.

CassandraTableGetPropertiesResponseResource

Etag This property is required. string
A system generated property representing the resource etag required for optimistic concurrency control.
Id This property is required. string
Name of the Cosmos DB Cassandra table
Rid This property is required. string
A system generated property. A unique identifier.
Ts This property is required. double
A system generated property that denotes the last updated timestamp of the resource.
AnalyticalStorageTtl int
Analytical TTL.
DefaultTtl int
Time to live of the Cosmos DB Cassandra table
Schema Pulumi.AzureNative.CosmosDB.Inputs.CassandraSchemaResponse
Schema of the Cosmos DB Cassandra table
Etag This property is required. string
A system generated property representing the resource etag required for optimistic concurrency control.
Id This property is required. string
Name of the Cosmos DB Cassandra table
Rid This property is required. string
A system generated property. A unique identifier.
Ts This property is required. float64
A system generated property that denotes the last updated timestamp of the resource.
AnalyticalStorageTtl int
Analytical TTL.
DefaultTtl int
Time to live of the Cosmos DB Cassandra table
Schema CassandraSchemaResponse
Schema of the Cosmos DB Cassandra table
etag This property is required. String
A system generated property representing the resource etag required for optimistic concurrency control.
id This property is required. String
Name of the Cosmos DB Cassandra table
rid This property is required. String
A system generated property. A unique identifier.
ts This property is required. Double
A system generated property that denotes the last updated timestamp of the resource.
analyticalStorageTtl Integer
Analytical TTL.
defaultTtl Integer
Time to live of the Cosmos DB Cassandra table
schema CassandraSchemaResponse
Schema of the Cosmos DB Cassandra table
etag This property is required. string
A system generated property representing the resource etag required for optimistic concurrency control.
id This property is required. string
Name of the Cosmos DB Cassandra table
rid This property is required. string
A system generated property. A unique identifier.
ts This property is required. number
A system generated property that denotes the last updated timestamp of the resource.
analyticalStorageTtl number
Analytical TTL.
defaultTtl number
Time to live of the Cosmos DB Cassandra table
schema CassandraSchemaResponse
Schema of the Cosmos DB Cassandra table
etag This property is required. str
A system generated property representing the resource etag required for optimistic concurrency control.
id This property is required. str
Name of the Cosmos DB Cassandra table
rid This property is required. str
A system generated property. A unique identifier.
ts This property is required. float
A system generated property that denotes the last updated timestamp of the resource.
analytical_storage_ttl int
Analytical TTL.
default_ttl int
Time to live of the Cosmos DB Cassandra table
schema CassandraSchemaResponse
Schema of the Cosmos DB Cassandra table
etag This property is required. String
A system generated property representing the resource etag required for optimistic concurrency control.
id This property is required. String
Name of the Cosmos DB Cassandra table
rid This property is required. String
A system generated property. A unique identifier.
ts This property is required. Number
A system generated property that denotes the last updated timestamp of the resource.
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

ClusterKeyResponse

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"

ColumnResponse

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi