import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient [node quota](https://cloud.google.com/vmware-engine/quotas). * Auto-naming is currently not supported for this resource. */ export declare class Cluster extends pulumi.CustomResource { /** * Get an existing Cluster 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): Cluster; /** * Returns true if the given object is an instance of Cluster. 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 Cluster; /** * Required. The user-provided identifier of the new `Cluster`. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) */ readonly clusterId: pulumi.Output; /** * Creation time of this resource. */ readonly createTime: pulumi.Output; readonly location: pulumi.Output; /** * True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one. */ readonly management: pulumi.Output; /** * The resource name of this cluster. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` */ readonly name: pulumi.Output; /** * The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`). */ readonly nodeTypeConfigs: pulumi.Output<{ [key: string]: string; }>; readonly privateCloudId: pulumi.Output; readonly project: pulumi.Output; /** * Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ readonly requestId: pulumi.Output; /** * State of the resource. */ readonly state: pulumi.Output; /** * Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud. */ readonly stretchedClusterConfig: pulumi.Output; /** * System-generated unique identifier for the resource. */ readonly uid: pulumi.Output; /** * Last update time of this resource. */ readonly updateTime: pulumi.Output; /** * Create a Cluster 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: ClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Cluster resource. */ export interface ClusterArgs { /** * Required. The user-provided identifier of the new `Cluster`. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) */ clusterId: pulumi.Input; location?: pulumi.Input; /** * The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`). */ nodeTypeConfigs: pulumi.Input<{ [key: string]: pulumi.Input; }>; privateCloudId: pulumi.Input; project?: pulumi.Input; /** * Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: pulumi.Input; /** * Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud. */ stretchedClusterConfig?: pulumi.Input; }