Skip to content

ClusterV2Props

Properties for defining a ClusterV2.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ehpc-clusterv2

Initializer

import com.aliyun.ros.cdk.ehpc.ClusterV2Props;
ClusterV2Props.builder()
    .clusterName(java.lang.String)
    .clusterName(IResolvable)
    .sharedStorages(IResolvable)
    .sharedStorages(java.util.List<IResolvable)
    .sharedStorages(SharedStoragesProperty>)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
    .vSwitchId(java.lang.String)
    .vSwitchId(IResolvable)
//  .additionalPackages(IResolvable)
//  .additionalPackages(java.util.List<IResolvable)
//  .additionalPackages(AdditionalPackagesProperty>)
//  .addons(IResolvable)
//  .addons(java.util.List<IResolvable)
//  .addons(AddonsProperty>)
//  .clientVersion(java.lang.String)
//  .clientVersion(IResolvable)
//  .clusterCategory(java.lang.String)
//  .clusterCategory(IResolvable)
//  .clusterCredentials(IResolvable)
//  .clusterCredentials(ClusterCredentialsProperty)
//  .clusterCustomConfiguration(IResolvable)
//  .clusterCustomConfiguration(ClusterCustomConfigurationProperty)
//  .clusterDescription(java.lang.String)
//  .clusterDescription(IResolvable)
//  .clusterMode(java.lang.String)
//  .clusterMode(IResolvable)
//  .deletionProtection(java.lang.Boolean)
//  .deletionProtection(IResolvable)
//  .isEnterpriseSecurityGroup(java.lang.Boolean)
//  .isEnterpriseSecurityGroup(IResolvable)
//  .manager(IResolvable)
//  .manager(ManagerProperty)
//  .maxCoreCount(java.lang.Number)
//  .maxCoreCount(IResolvable)
//  .maxCount(java.lang.Number)
//  .maxCount(IResolvable)
//  .queues(IResolvable)
//  .queues(java.util.List<IResolvable)
//  .queues(QueuesProperty>)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .securityGroupId(java.lang.String)
//  .securityGroupId(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
clusterName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterName: Cluster name.
sharedStorages com.aliyun.ros.cdk.core.IResolvable OR java.util.ListSharedStoragesProperty> Property sharedStorages: The list of shared storage configurations.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the VPC used by the cluster.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: The ID of the VSwitch used by the cluster.
additionalPackages com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAdditionalPackagesProperty> Property additionalPackages: A list of software to install on the cluster.
addons com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAddonsProperty> Property addons: Cluster custom service component configuration to support only one component.
clientVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clientVersion: Cluster client version.
clusterCategory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterCategory: Cluster series.
clusterCredentials com.aliyun.ros.cdk.core.IResolvable OR ClusterCredentialsProperty Property clusterCredentials: Security credentials for the cluster.
clusterCustomConfiguration com.aliyun.ros.cdk.core.IResolvable OR ClusterCustomConfigurationProperty Property clusterCustomConfiguration: Cluster post-processing scripts.
clusterDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterDescription: Cluster description.
clusterMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterMode: Cluster deployment type.
deletionProtection java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property deletionProtection: The cluster deletion protection property, which specifies whether cluster deletion via the console or the DeleteCluster API is supported.
isEnterpriseSecurityGroup java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property isEnterpriseSecurityGroup: Whether to create an enterprise security group.
manager com.aliyun.ros.cdk.core.IResolvable OR ManagerProperty Property manager: The cluster manages node configuration.
maxCoreCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property maxCoreCount: Total number of cores that the cluster can manage on compute nodes, ranging from 0 to 100,000.
maxCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property maxCount: Number of compute nodes that can be managed by the cluster, ranging from 0 to 5,000.
queues com.aliyun.ros.cdk.core.IResolvable OR java.util.ListQueuesProperty> Property queues: Cluster queue configuration.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityGroupId: Specifies the security group ID to which the newly created cluster belongs.
tags java.util.List<TagsProperty> Property tags: Tags to attach to cluster_v2.

clusterNameRequired

public java.lang.Object getClusterName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterName: Cluster name.

The length is from 2 to 128 characters, and it supports English, Chinese and numbers. You can include a dash (-) and an underscore (_).


sharedStoragesRequired

public java.lang.Object getSharedStorages();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListSharedStoragesProperty>

Property sharedStorages: The list of shared storage configurations.


vpcIdRequired

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The ID of the VPC used by the cluster.


vSwitchIdRequired

public java.lang.Object getVSwitchId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchId: The ID of the VSwitch used by the cluster.


additionalPackagesOptional

public java.lang.Object getAdditionalPackages();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAdditionalPackagesProperty>

Property additionalPackages: A list of software to install on the cluster.

Range from 0 to 10.


addonsOptional

public java.lang.Object getAddons();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAddonsProperty>

Property addons: Cluster custom service component configuration to support only one component.


clientVersionOptional

public java.lang.Object getClientVersion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clientVersion: Cluster client version.

By default, the latest version is used.


clusterCategoryOptional

public java.lang.Object getClusterCategory();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterCategory: Cluster series.

Valid values:

  • Standard: The standard version.
  • Serverless: Hosted version

clusterCredentialsOptional

public java.lang.Object getClusterCredentials();

Property clusterCredentials: Security credentials for the cluster.


clusterCustomConfigurationOptional

public java.lang.Object getClusterCustomConfiguration();

Property clusterCustomConfiguration: Cluster post-processing scripts.


clusterDescriptionOptional

public java.lang.Object getClusterDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterDescription: Cluster description.

The length is from 2 to 128 characters, and it supports English, Chinese and numbers. You can include a dash (-) and an underscore (_).


clusterModeOptional

public java.lang.Object getClusterMode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterMode: Cluster deployment type.

Valid values:

  • Integrated: Public cloud clustering.
  • Hybrid: Hybrid cloud cluster.
  • Custom: The cluster is customized

deletionProtectionOptional

public java.lang.Object getDeletionProtection();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property deletionProtection: The cluster deletion protection property, which specifies whether cluster deletion via the console or the DeleteCluster API is supported.

  • true: Cluster deletion protection is enabled.
  • false: This turns off cluster deletion protection. Default value: false

isEnterpriseSecurityGroupOptional

public java.lang.Object getIsEnterpriseSecurityGroup();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property isEnterpriseSecurityGroup: Whether to create an enterprise security group.

Valid values:

  • true: Enterprise security groups are automatically created and used.
  • false: Normal security groups are automatically created and used instead of enterprise security groups.

managerOptional

public java.lang.Object getManager();

Property manager: The cluster manages node configuration.


maxCoreCountOptional

public java.lang.Object getMaxCoreCount();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property maxCoreCount: Total number of cores that the cluster can manage on compute nodes, ranging from 0 to 100,000.


maxCountOptional

public java.lang.Object getMaxCount();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property maxCount: Number of compute nodes that can be managed by the cluster, ranging from 0 to 5,000.


queuesOptional

public java.lang.Object getQueues();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListQueuesProperty>

Property queues: Cluster queue configuration.

The number of queues is supported from 0 to 8.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.


securityGroupIdOptional

public java.lang.Object getSecurityGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property securityGroupId: Specifies the security group ID to which the newly created cluster belongs.


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: Tags to attach to cluster_v2.

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