public sealed class Cluster : IMessage<Cluster>, IEquatable<Cluster>, IDeepCloneable<Cluster>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class Cluster.
Describes the identifying information, config, and status of a Dataproc cluster
Implements
IMessage<Cluster>, IEquatable<Cluster>, IDeepCloneable<Cluster>, IBufferMessage, IMessageNamespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
Cluster()
public Cluster()
Cluster(Cluster)
public Cluster(Cluster other)
Parameter | |
---|---|
Name | Description |
other | Cluster |
Properties
ClusterName
public string ClusterName { get; set; }
Required. The cluster name, which must be unique within a project. The name must start with a lowercase letter, and can contain up to 51 lowercase letters, numbers, and hyphens. It cannot end with a hyphen. The name of a deleted cluster can be reused.
Property Value | |
---|---|
Type | Description |
String |
ClusterUuid
public string ClusterUuid { get; set; }
Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.
Property Value | |
---|---|
Type | Description |
String |
Config
public ClusterConfig Config { get; set; }
Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.
Property Value | |
---|---|
Type | Description |
ClusterConfig |
Labels
public MapField<string, string> Labels { get; }
Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
Property Value | |
---|---|
Type | Description |
MapField<String, String> |
Metrics
public ClusterMetrics Metrics { get; set; }
Output only. 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.
Property Value | |
---|---|
Type | Description |
ClusterMetrics |
ProjectId
public string ProjectId { get; set; }
Required. The Google Cloud Platform project ID that the cluster belongs to.
Property Value | |
---|---|
Type | Description |
String |
Status
public ClusterStatus Status { get; set; }
Output only. Cluster status.
Property Value | |
---|---|
Type | Description |
ClusterStatus |
StatusHistory
public RepeatedField<ClusterStatus> StatusHistory { get; }
Output only. The previous cluster status.
Property Value | |
---|---|
Type | Description |
RepeatedField<ClusterStatus> |
VirtualClusterConfig
public VirtualClusterConfig VirtualClusterConfig { get; set; }
Optional. The virtual cluster config is used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a Dataproc-on-GKE cluster. Dataproc may set default values, and values may change when clusters are updated. Exactly one of [config][google.cloud.dataproc.v1.Cluster.config] or [virtual_cluster_config][google.cloud.dataproc.v1.Cluster.virtual_cluster_config] must be specified.
Property Value | |
---|---|
Type | Description |
VirtualClusterConfig |