Cluster

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). Auto-naming is currently not supported for this resource.

Properties

Link copied to clipboard
val clusterName: Output<String>

The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.

Link copied to clipboard
val clusterUuid: Output<String>

A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.

Link copied to clipboard

The cluster config. Note that Dataproc may set default values, and values may change when clusters are updated.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val labels: Output<Map<String, String>>

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.

Link copied to clipboard

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.

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>
Link copied to clipboard
val requestId: Output<String>?

Optional. A unique id used to identify the request. If the server receives two CreateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.CreateClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Link copied to clipboard

Cluster status.

Link copied to clipboard

The previous cluster status.

Link copied to clipboard
val urn: Output<String>