import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Cassandra Cluster. * * > **Note:** In order for the `Azure Managed Instances for Apache Cassandra` to work properly the product requires the `Azure Cosmos DB` Application ID to be present and working in your tenant. If the `Azure Cosmos DB` Application ID is missing in your environment you will need to have an administrator of your tenant run the following command to add the `Azure Cosmos DB` Application ID to your tenant: * * ## Import * * Cassandra Clusters can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:cosmosdb/cassandraCluster:CassandraCluster example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.DocumentDB/cassandraClusters/cluster1 * ``` */ export declare class CassandraCluster extends pulumi.CustomResource { /** * Get an existing CassandraCluster 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CassandraClusterState, opts?: pulumi.CustomResourceOptions): CassandraCluster; /** * Returns true if the given object is an instance of CassandraCluster. 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 CassandraCluster; /** * The authentication method that is used to authenticate clients. Possible values are `None` and `Cassandra`. Defaults to `Cassandra`. */ readonly authenticationMethod: pulumi.Output; /** * A list of TLS certificates that is used to authorize client connecting to the Cassandra Cluster. */ readonly clientCertificatePems: pulumi.Output; /** * The initial admin password for this Cassandra Cluster. Changing this forces a new resource to be created. */ readonly defaultAdminPassword: pulumi.Output; /** * The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. */ readonly delegatedManagementSubnetId: pulumi.Output; /** * A list of TLS certificates that is used to authorize gossip from unmanaged Cassandra Data Center. */ readonly externalGossipCertificatePems: pulumi.Output; /** * A list of IP Addresses of the seed nodes in unmanaged the Cassandra Data Center which will be added to the seed node lists of all managed nodes. */ readonly externalSeedNodeIpAddresses: pulumi.Output; /** * The number of hours to wait between taking a backup of the Cassandra Cluster. Defaults to `24`. * * > **Note:** To disable this feature, set this property to `0`. */ readonly hoursBetweenBackups: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. */ readonly location: pulumi.Output; /** * The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. */ readonly name: pulumi.Output; /** * Is the automatic repair enabled on the Cassandra Cluster? Defaults to `true`. */ readonly repairEnabled: pulumi.Output; /** * The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags assigned to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The version of Cassandra what the Cluster converges to run. Possible values are `3.11`, `4.0`, `4.1` and `5.0`. Defaults to `3.11`. Changing this forces a new Cassandra Cluster to be created. */ readonly version: pulumi.Output; /** * Create a CassandraCluster 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: CassandraClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CassandraCluster resources. */ export interface CassandraClusterState { /** * The authentication method that is used to authenticate clients. Possible values are `None` and `Cassandra`. Defaults to `Cassandra`. */ authenticationMethod?: pulumi.Input; /** * A list of TLS certificates that is used to authorize client connecting to the Cassandra Cluster. */ clientCertificatePems?: pulumi.Input[]>; /** * The initial admin password for this Cassandra Cluster. Changing this forces a new resource to be created. */ defaultAdminPassword?: pulumi.Input; /** * The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. */ delegatedManagementSubnetId?: pulumi.Input; /** * A list of TLS certificates that is used to authorize gossip from unmanaged Cassandra Data Center. */ externalGossipCertificatePems?: pulumi.Input[]>; /** * A list of IP Addresses of the seed nodes in unmanaged the Cassandra Data Center which will be added to the seed node lists of all managed nodes. */ externalSeedNodeIpAddresses?: pulumi.Input[]>; /** * The number of hours to wait between taking a backup of the Cassandra Cluster. Defaults to `24`. * * > **Note:** To disable this feature, set this property to `0`. */ hoursBetweenBackups?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. */ location?: pulumi.Input; /** * The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. */ name?: pulumi.Input; /** * Is the automatic repair enabled on the Cassandra Cluster? Defaults to `true`. */ repairEnabled?: pulumi.Input; /** * The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags assigned to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The version of Cassandra what the Cluster converges to run. Possible values are `3.11`, `4.0`, `4.1` and `5.0`. Defaults to `3.11`. Changing this forces a new Cassandra Cluster to be created. */ version?: pulumi.Input; } /** * The set of arguments for constructing a CassandraCluster resource. */ export interface CassandraClusterArgs { /** * The authentication method that is used to authenticate clients. Possible values are `None` and `Cassandra`. Defaults to `Cassandra`. */ authenticationMethod?: pulumi.Input; /** * A list of TLS certificates that is used to authorize client connecting to the Cassandra Cluster. */ clientCertificatePems?: pulumi.Input[]>; /** * The initial admin password for this Cassandra Cluster. Changing this forces a new resource to be created. */ defaultAdminPassword: pulumi.Input; /** * The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. */ delegatedManagementSubnetId: pulumi.Input; /** * A list of TLS certificates that is used to authorize gossip from unmanaged Cassandra Data Center. */ externalGossipCertificatePems?: pulumi.Input[]>; /** * A list of IP Addresses of the seed nodes in unmanaged the Cassandra Data Center which will be added to the seed node lists of all managed nodes. */ externalSeedNodeIpAddresses?: pulumi.Input[]>; /** * The number of hours to wait between taking a backup of the Cassandra Cluster. Defaults to `24`. * * > **Note:** To disable this feature, set this property to `0`. */ hoursBetweenBackups?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. */ location?: pulumi.Input; /** * The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. */ name?: pulumi.Input; /** * Is the automatic repair enabled on the Cassandra Cluster? Defaults to `true`. */ repairEnabled?: pulumi.Input; /** * The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags assigned to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The version of Cassandra what the Cluster converges to run. Possible values are `3.11`, `4.0`, `4.1` and `5.0`. Defaults to `3.11`. Changing this forces a new Cassandra Cluster to be created. */ version?: pulumi.Input; }