1. Packages
  2. Azure Native
  3. API Docs
  4. cosmosdb
  5. getDatabaseAccountCassandraKeyspace
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.getDatabaseAccountCassandraKeyspace

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.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.

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 getDatabaseAccountCassandraKeyspace

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 getDatabaseAccountCassandraKeyspace(args: GetDatabaseAccountCassandraKeyspaceArgs, opts?: InvokeOptions): Promise<GetDatabaseAccountCassandraKeyspaceResult>
function getDatabaseAccountCassandraKeyspaceOutput(args: GetDatabaseAccountCassandraKeyspaceOutputArgs, opts?: InvokeOptions): Output<GetDatabaseAccountCassandraKeyspaceResult>
Copy
def get_database_account_cassandra_keyspace(account_name: Optional[str] = None,
                                            keyspace_name: Optional[str] = None,
                                            resource_group_name: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetDatabaseAccountCassandraKeyspaceResult
def get_database_account_cassandra_keyspace_output(account_name: Optional[pulumi.Input[str]] = None,
                                            keyspace_name: Optional[pulumi.Input[str]] = None,
                                            resource_group_name: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseAccountCassandraKeyspaceResult]
Copy
func LookupDatabaseAccountCassandraKeyspace(ctx *Context, args *LookupDatabaseAccountCassandraKeyspaceArgs, opts ...InvokeOption) (*LookupDatabaseAccountCassandraKeyspaceResult, error)
func LookupDatabaseAccountCassandraKeyspaceOutput(ctx *Context, args *LookupDatabaseAccountCassandraKeyspaceOutputArgs, opts ...InvokeOption) LookupDatabaseAccountCassandraKeyspaceResultOutput
Copy

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

public static class GetDatabaseAccountCassandraKeyspace 
{
    public static Task<GetDatabaseAccountCassandraKeyspaceResult> InvokeAsync(GetDatabaseAccountCassandraKeyspaceArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabaseAccountCassandraKeyspaceResult> Invoke(GetDatabaseAccountCassandraKeyspaceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDatabaseAccountCassandraKeyspaceResult> getDatabaseAccountCassandraKeyspace(GetDatabaseAccountCassandraKeyspaceArgs args, InvokeOptions options)
public static Output<GetDatabaseAccountCassandraKeyspaceResult> getDatabaseAccountCassandraKeyspace(GetDatabaseAccountCassandraKeyspaceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:cosmosdb:getDatabaseAccountCassandraKeyspace
  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
Name of an Azure resource group.
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
Name of an Azure resource group.
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
Name of an Azure resource group.
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
Name of an Azure resource group.
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
Name of an Azure resource group.
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
Name of an Azure resource group.

getDatabaseAccountCassandraKeyspace Result

The following output properties are available:

AzureApiVersion string
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.
Location string
The location of the resource group to which the resource belongs.
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 database account.
Name string
The name of the database account.
Type string
The type of Azure resource.
Location string
The location of the resource group to which the resource belongs.
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 database account.
name String
The name of the database account.
type String
The type of Azure resource.
location String
The location of the resource group to which the resource belongs.
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 database account.
name string
The name of the database account.
type string
The type of Azure resource.
location string
The location of the resource group to which the resource belongs.
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 database account.
name str
The name of the database account.
type str
The type of Azure resource.
location str
The location of the resource group to which the resource belongs.
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 database account.
name String
The name of the database account.
type String
The type of Azure resource.
location String
The location of the resource group to which the resource belongs.
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".

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.2.0 published on Monday, Apr 14, 2025 by Pulumi