import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). */ export declare class RegionCluster extends pulumi.CustomResource { /** * Get an existing RegionCluster 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): RegionCluster; /** * Returns true if the given object is an instance of RegionCluster. 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 RegionCluster; /** * Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused. */ readonly clusterName: pulumi.Output; /** * A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster. */ readonly clusterUuid: pulumi.Output; /** * Required. The cluster config. Note that Dataproc may set default values, and values may change when clusters are updated. */ readonly config: pulumi.Output; /** * Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release. */ readonly metrics: pulumi.Output; /** * Required. The Google Cloud Platform project ID that the cluster belongs to. */ readonly projectId: pulumi.Output; /** * Cluster status. */ readonly status: pulumi.Output; /** * The previous cluster status. */ readonly statusHistory: pulumi.Output; /** * Create a RegionCluster 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: RegionClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a RegionCluster resource. */ export interface RegionClusterArgs { /** * Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused. */ readonly clusterName: pulumi.Input; /** * Required. The cluster config. Note that Dataproc may set default values, and values may change when clusters are updated. */ readonly config?: pulumi.Input; /** * Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. */ readonly labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Required. The Google Cloud Platform project ID that the cluster belongs to. */ readonly projectId: pulumi.Input; readonly region: pulumi.Input; }