azure-native.cosmosdb.getDatabaseAccountCassandraTable
Explore with Pulumi AI
Gets the Cassandra table under an existing Azure Cosmos DB database account.
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.
Using getDatabaseAccountCassandraTable
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 getDatabaseAccountCassandraTable(args: GetDatabaseAccountCassandraTableArgs, opts?: InvokeOptions): Promise<GetDatabaseAccountCassandraTableResult>
function getDatabaseAccountCassandraTableOutput(args: GetDatabaseAccountCassandraTableOutputArgs, opts?: InvokeOptions): Output<GetDatabaseAccountCassandraTableResult>
def get_database_account_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) -> GetDatabaseAccountCassandraTableResult
def get_database_account_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[GetDatabaseAccountCassandraTableResult]
func LookupDatabaseAccountCassandraTable(ctx *Context, args *LookupDatabaseAccountCassandraTableArgs, opts ...InvokeOption) (*LookupDatabaseAccountCassandraTableResult, error)
func LookupDatabaseAccountCassandraTableOutput(ctx *Context, args *LookupDatabaseAccountCassandraTableOutputArgs, opts ...InvokeOption) LookupDatabaseAccountCassandraTableResultOutput
> Note: This function is named LookupDatabaseAccountCassandraTable
in the Go SDK.
public static class GetDatabaseAccountCassandraTable
{
public static Task<GetDatabaseAccountCassandraTableResult> InvokeAsync(GetDatabaseAccountCassandraTableArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseAccountCassandraTableResult> Invoke(GetDatabaseAccountCassandraTableInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseAccountCassandraTableResult> getDatabaseAccountCassandraTable(GetDatabaseAccountCassandraTableArgs args, InvokeOptions options)
public static Output<GetDatabaseAccountCassandraTableResult> getDatabaseAccountCassandraTable(GetDatabaseAccountCassandraTableArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:cosmosdb:getDatabaseAccountCassandraTable
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - Cosmos DB database account name.
- Keyspace
Name string - Cosmos DB keyspace name.
- Resource
Group stringName - Name of an Azure resource group.
- Table
Name string - Cosmos DB table name.
- Account
Name string - Cosmos DB database account name.
- Keyspace
Name string - Cosmos DB keyspace name.
- Resource
Group stringName - Name of an Azure resource group.
- Table
Name string - Cosmos DB table name.
- account
Name String - Cosmos DB database account name.
- keyspace
Name String - Cosmos DB keyspace name.
- resource
Group StringName - Name of an Azure resource group.
- table
Name String - Cosmos DB table name.
- account
Name string - Cosmos DB database account name.
- keyspace
Name string - Cosmos DB keyspace name.
- resource
Group stringName - Name of an Azure resource group.
- table
Name string - Cosmos DB table name.
- account_
name str - Cosmos DB database account name.
- keyspace_
name str - Cosmos DB keyspace name.
- resource_
group_ strname - Name of an Azure resource group.
- table_
name str - Cosmos DB table name.
- account
Name String - Cosmos DB database account name.
- keyspace
Name String - Cosmos DB keyspace name.
- resource
Group StringName - Name of an Azure resource group.
- table
Name String - Cosmos DB table name.
getDatabaseAccountCassandraTable Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The unique resource identifier of the database account.
- Name string
- The name of the database account.
- Type string
- The type of Azure resource.
- Default
Ttl 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.
Azure Native. Cosmos DB. Outputs. Cassandra Schema Response - Schema of the Cosmos DB Cassandra table
- 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".
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The unique resource identifier of the database account.
- Name string
- The name of the database account.
- Type string
- The type of Azure resource.
- Default
Ttl int - Time to live of the Cosmos DB Cassandra table
- Location string
- The location of the resource group to which the resource belongs.
- Schema
Cassandra
Schema Response - Schema of the Cosmos DB Cassandra table
- 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".
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The unique resource identifier of the database account.
- name String
- The name of the database account.
- type String
- The type of Azure resource.
- default
Ttl Integer - Time to live of the Cosmos DB Cassandra table
- location String
- The location of the resource group to which the resource belongs.
- schema
Cassandra
Schema Response - Schema of the Cosmos DB Cassandra table
- 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".
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The unique resource identifier of the database account.
- name string
- The name of the database account.
- type string
- The type of Azure resource.
- default
Ttl number - Time to live of the Cosmos DB Cassandra table
- location string
- The location of the resource group to which the resource belongs.
- schema
Cassandra
Schema Response - Schema of the Cosmos DB Cassandra table
- {[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_ strversion - The Azure API version of the resource.
- id str
- The unique resource identifier of the database account.
- 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
Cassandra
Schema Response - Schema of the Cosmos DB Cassandra table
- 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".
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The unique resource identifier of the database account.
- name String
- The name of the database account.
- type String
- The type of Azure resource.
- default
Ttl 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
- 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
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
- Cluster
Keys List<Pulumi.Azure Native. Cosmos DB. Inputs. Cluster Key Response> - List of cluster key.
- Columns
List<Pulumi.
Azure Native. Cosmos DB. Inputs. Column Response> - List of Cassandra table columns.
- Partition
Keys List<Pulumi.Azure Native. Cosmos DB. Inputs. Cassandra Partition Key Response> - List of partition key.
- Cluster
Keys []ClusterKey Response - List of cluster key.
- Columns
[]Column
Response - List of Cassandra table columns.
- Partition
Keys []CassandraPartition Key Response - List of partition key.
- cluster
Keys List<ClusterKey Response> - List of cluster key.
- columns
List<Column
Response> - List of Cassandra table columns.
- partition
Keys List<CassandraPartition Key Response> - List of partition key.
- cluster
Keys ClusterKey Response[] - List of cluster key.
- columns
Column
Response[] - List of Cassandra table columns.
- partition
Keys CassandraPartition Key Response[] - List of partition key.
- cluster_
keys Sequence[ClusterKey Response] - List of cluster key.
- columns
Sequence[Column
Response] - List of Cassandra table columns.
- partition_
keys Sequence[CassandraPartition Key Response] - List of partition key.
- cluster
Keys List<Property Map> - List of cluster key.
- columns List<Property Map>
- List of Cassandra table columns.
- partition
Keys List<Property Map> - List of partition key.
ClusterKeyResponse
ColumnResponse
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0