import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a cluster within an instance. */ export declare class InstanceCluster extends pulumi.CustomResource { /** * Get an existing InstanceCluster 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, opts?: pulumi.CustomResourceOptions): InstanceCluster; /** * Returns true if the given object is an instance of InstanceCluster. 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 InstanceCluster; /** * Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden. */ readonly defaultStorageType: pulumi.Output; /** * Immutable. The encryption configuration for CMEK-protected clusters. */ readonly encryptionConfig: pulumi.Output; /** * Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form `projects/{project}/locations/{zone}`. */ readonly location: pulumi.Output; /** * The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`. */ readonly name: pulumi.Output; /** * Required. The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance. */ readonly serveNodes: pulumi.Output; /** * The current state of the cluster. */ readonly state: pulumi.Output; /** * Create a InstanceCluster 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: InstanceClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a InstanceCluster resource. */ export interface InstanceClusterArgs { readonly clustersId: pulumi.Input; /** * Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden. */ readonly defaultStorageType?: pulumi.Input; /** * Immutable. The encryption configuration for CMEK-protected clusters. */ readonly encryptionConfig?: pulumi.Input; readonly instancesId: pulumi.Input; /** * Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form `projects/{project}/locations/{zone}`. */ readonly location?: pulumi.Input; /** * The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`. */ readonly name?: pulumi.Input; readonly projectsId: pulumi.Input; /** * Required. The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance. */ readonly serveNodes?: pulumi.Input; }