UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

83 lines (82 loc) 3.74 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; /** * An Azure Cosmos DB Cassandra keyspace. * * 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 class DatabaseAccountCassandraKeyspace extends pulumi.CustomResource { /** * Get an existing DatabaseAccountCassandraKeyspace resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DatabaseAccountCassandraKeyspace; /** * Returns true if the given object is an instance of DatabaseAccountCassandraKeyspace. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DatabaseAccountCassandraKeyspace; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The location of the resource group to which the resource belongs. */ readonly location: pulumi.Output<string | undefined>; /** * The name of the database account. */ readonly name: pulumi.Output<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: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The type of Azure resource. */ readonly type: pulumi.Output<string>; /** * Create a DatabaseAccountCassandraKeyspace resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DatabaseAccountCassandraKeyspaceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DatabaseAccountCassandraKeyspace resource. */ export interface DatabaseAccountCassandraKeyspaceArgs { /** * Cosmos DB database account name. */ accountName: pulumi.Input<string>; /** * Cosmos DB keyspace name. */ keyspaceName?: pulumi.Input<string>; /** * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The standard JSON format of a Cassandra keyspace */ resource: pulumi.Input<inputs.cosmosdb.CassandraKeyspaceResourceArgs>; /** * Name of an Azure resource group. */ resourceGroupName: pulumi.Input<string>; }