Skip to content

Cluster2Props

Properties for defining a Cluster2.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-cluster2

Initializer

using AlibabaCloud.SDK.ROS.CDK.Emr;
new Cluster2Props {
    object Applications,
    object ClusterName,
    object ClusterType,
    object NodeAttributes,
    object NodeGroups,
    object ReleaseVersion,
    object ApplicationConfigs = null,
    object BootstrapScripts = null,
    object DeployMode = null,
    object PaymentType = null,
    object ResourceGroupId = null,
    object SecurityMode = null,
    object SubscriptionConfig = null,
    TagsProperty[] Tags = null
};

Properties

Name Type Description
Applications object Property applications: Application List.The value range of the number n of the number N group: 1 ~ 100.
ClusterName object Property clusterName: Cluster name.The length is 1 ~ 128 characters, and the alphabet or Chinese must be started. It cannot start with http:\/\/ and https: \/\/.It can include Chinese, English, numbers, half-horn colons (:), down line (_), half-angle period (.) Or short lines (-).
ClusterType object Property clusterType: Cluster type.Ranges: DATALAKE: The new version of the data lake. OLAP: Data analysis. DATAFLOW: Real -time data stream. DATASERVING: Data service. HADOOP: The old version of the data lake (not recommended, it is recommended to use the new version of the data lake).
NodeAttributes object Property nodeAttributes: Node attributes.All ECS nodes basic attributes of the cluster.
NodeGroups object Property nodeGroups: The node group configuration array.The value range of the number n of the number N group: 1 ~ 100.
ReleaseVersion object Property releaseVersion: EMR release version.View EMR distribution versions can be viewed through the EMR cluster.
ApplicationConfigs object Property applicationConfigs: Application configuration.The value range of the number n of the array element n: 1 ~ 1000.
BootstrapScripts object Property bootstrapScripts: Guide the script group.The value range of the number n of the number N group: 1 ~ 10.
DeployMode object Property deployMode: Application deployment mode in the cluster.Ranges: Normal: non -high available deployment.Cluster 1 master node. HA: High availability deployment.High availability deployment requires at least 3 master nodes.
PaymentType object Property paymentType: Payment type.
ResourceGroupId object Property resourceGroupId: Resource group ID.
SecurityMode object Property securityMode: Cluster Kerberos security mode.Ranges: Normal: General mode, does not open the Kerberos mode. Kerberos: Open the Kerberos mode.
SubscriptionConfig object Property subscriptionConfig: Pre -paid allocation.When the value of PaymentType is Subscripting, it must be filled.
Tags TagsProperty[] Property tags: Tags to attach to cluster.

ApplicationsRequired

public object Applications { get; set; }
  • Type: object

Property applications: Application List.The value range of the number n of the number N group: 1 ~ 100.


ClusterNameRequired

public object ClusterName { get; set; }
  • Type: object

Property clusterName: Cluster name.The length is 1 ~ 128 characters, and the alphabet or Chinese must be started. It cannot start with http:\/\/ and https: \/\/.It can include Chinese, English, numbers, half-horn colons (:), down line (_), half-angle period (.) Or short lines (-).


ClusterTypeRequired

public object ClusterType { get; set; }
  • Type: object

Property clusterType: Cluster type.Ranges: DATALAKE: The new version of the data lake. OLAP: Data analysis. DATAFLOW: Real -time data stream. DATASERVING: Data service. HADOOP: The old version of the data lake (not recommended, it is recommended to use the new version of the data lake).


NodeAttributesRequired

public object NodeAttributes { get; set; }
  • Type: object

Property nodeAttributes: Node attributes.All ECS nodes basic attributes of the cluster.


NodeGroupsRequired

public object NodeGroups { get; set; }
  • Type: object

Property nodeGroups: The node group configuration array.The value range of the number n of the number N group: 1 ~ 100.


ReleaseVersionRequired

public object ReleaseVersion { get; set; }
  • Type: object

Property releaseVersion: EMR release version.View EMR distribution versions can be viewed through the EMR cluster.


ApplicationConfigsOptional

public object ApplicationConfigs { get; set; }
  • Type: object

Property applicationConfigs: Application configuration.The value range of the number n of the array element n: 1 ~ 1000.


BootstrapScriptsOptional

public object BootstrapScripts { get; set; }
  • Type: object

Property bootstrapScripts: Guide the script group.The value range of the number n of the number N group: 1 ~ 10.


DeployModeOptional

public object DeployMode { get; set; }
  • Type: object

Property deployMode: Application deployment mode in the cluster.Ranges: Normal: non -high available deployment.Cluster 1 master node. HA: High availability deployment.High availability deployment requires at least 3 master nodes.


PaymentTypeOptional

public object PaymentType { get; set; }
  • Type: object

Property paymentType: Payment type.

Ranges: PayAsYouGo: Post-paid, pay-as-you-go. Subscription: Prepaid, yearly and monthly. Default: PayAsYouGo.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: Resource group ID.


SecurityModeOptional

public object SecurityMode { get; set; }
  • Type: object

Property securityMode: Cluster Kerberos security mode.Ranges: Normal: General mode, does not open the Kerberos mode. Kerberos: Open the Kerberos mode.


SubscriptionConfigOptional

public object SubscriptionConfig { get; set; }
  • Type: object

Property subscriptionConfig: Pre -paid allocation.When the value of PaymentType is Subscripting, it must be filled.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags: Tags to attach to cluster.

Max support 20 tags to add during create cluster. Each tag with two properties Key and Value, and Key is required.