@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.25 kB
TypeScript
import * as pulumi from "@pulumi/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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDatabaseAccountCassandraKeyspace(args: GetDatabaseAccountCassandraKeyspaceArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseAccountCassandraKeyspaceResult>;
export interface GetDatabaseAccountCassandraKeyspaceArgs {
/**
* Cosmos DB database account name.
*/
accountName: string;
/**
* Cosmos DB keyspace name.
*/
keyspaceName: string;
/**
* Name of an Azure resource group.
*/
resourceGroupName: string;
}
/**
* An Azure Cosmos DB Cassandra keyspace.
*/
export interface GetDatabaseAccountCassandraKeyspaceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The unique resource identifier of the database account.
*/
readonly id: string;
/**
* The location of the resource group to which the resource belongs.
*/
readonly location?: string;
/**
* The name of the database account.
*/
readonly name: 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".
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of Azure resource.
*/
readonly type: string;
}
/**
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDatabaseAccountCassandraKeyspaceOutput(args: GetDatabaseAccountCassandraKeyspaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseAccountCassandraKeyspaceResult>;
export interface GetDatabaseAccountCassandraKeyspaceOutputArgs {
/**
* Cosmos DB database account name.
*/
accountName: pulumi.Input<string>;
/**
* Cosmos DB keyspace name.
*/
keyspaceName: pulumi.Input<string>;
/**
* Name of an Azure resource group.
*/
resourceGroupName: pulumi.Input<string>;
}