Skip to content

ClusterV2Props

Properties for defining a ClusterV2.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkehpc"
&alicloudroscdkehpc.ClusterV2Props {
    ClusterName: interface{},
    SharedStorages: interface{},
    VpcId: interface{},
    VSwitchId: interface{},
    AdditionalPackages: interface{},
    Addons: interface{},
    ClientVersion: interface{},
    ClusterCategory: interface{},
    ClusterCredentials: interface{},
    ClusterCustomConfiguration: interface{},
    ClusterDescription: interface{},
    ClusterMode: interface{},
    DeletionProtection: interface{},
    IsEnterpriseSecurityGroup: interface{},
    Manager: interface{},
    MaxCoreCount: interface{},
    MaxCount: interface{},
    Queues: interface{},
    ResourceGroupId: interface{},
    SecurityGroupId: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkehpc.RosClusterV2.TagsProperty,
}

Properties

Name Type Description
ClusterName interface{} Property clusterName: Cluster name.
SharedStorages interface{} Property sharedStorages: The list of shared storage configurations.
VpcId interface{} Property vpcId: The ID of the VPC used by the cluster.
VSwitchId interface{} Property vSwitchId: The ID of the VSwitch used by the cluster.
AdditionalPackages interface{} Property additionalPackages: A list of software to install on the cluster.
Addons interface{} Property addons: Cluster custom service component configuration to support only one component.
ClientVersion interface{} Property clientVersion: Cluster client version.
ClusterCategory interface{} Property clusterCategory: Cluster series.
ClusterCredentials interface{} Property clusterCredentials: Security credentials for the cluster.
ClusterCustomConfiguration interface{} Property clusterCustomConfiguration: Cluster post-processing scripts.
ClusterDescription interface{} Property clusterDescription: Cluster description.
ClusterMode interface{} Property clusterMode: Cluster deployment type.
DeletionProtection interface{} Property deletionProtection: The cluster deletion protection property, which specifies whether cluster deletion via the console or the DeleteCluster API is supported.
IsEnterpriseSecurityGroup interface{} Property isEnterpriseSecurityGroup: Whether to create an enterprise security group.
Manager interface{} Property manager: The cluster manages node configuration.
MaxCoreCount interface{} Property maxCoreCount: Total number of cores that the cluster can manage on compute nodes, ranging from 0 to 100,000.
MaxCount interface{} Property maxCount: Number of compute nodes that can be managed by the cluster, ranging from 0 to 5,000.
Queues interface{} Property queues: Cluster queue configuration.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group.
SecurityGroupId interface{} Property securityGroupId: Specifies the security group ID to which the newly created cluster belongs.
Tags *[]TagsProperty Property tags: Tags to attach to cluster_v2.

ClusterNameRequired

ClusterName interface{}
  • Type: interface{}

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

SharedStorages interface{}
  • Type: interface{}

Property sharedStorages: The list of shared storage configurations.


VpcIdRequired

VpcId interface{}
  • Type: interface{}

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


VSwitchIdRequired

VSwitchId interface{}
  • Type: interface{}

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


AdditionalPackagesOptional

AdditionalPackages interface{}
  • Type: interface{}

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

Range from 0 to 10.


AddonsOptional

Addons interface{}
  • Type: interface{}

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


ClientVersionOptional

ClientVersion interface{}
  • Type: interface{}

Property clientVersion: Cluster client version.

By default, the latest version is used.


ClusterCategoryOptional

ClusterCategory interface{}
  • Type: interface{}

Property clusterCategory: Cluster series.

Valid values:

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

ClusterCredentialsOptional

ClusterCredentials interface{}
  • Type: interface{}

Property clusterCredentials: Security credentials for the cluster.


ClusterCustomConfigurationOptional

ClusterCustomConfiguration interface{}
  • Type: interface{}

Property clusterCustomConfiguration: Cluster post-processing scripts.


ClusterDescriptionOptional

ClusterDescription interface{}
  • Type: interface{}

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

ClusterMode interface{}
  • Type: interface{}

Property clusterMode: Cluster deployment type.

Valid values:

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

DeletionProtectionOptional

DeletionProtection interface{}
  • Type: interface{}

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

IsEnterpriseSecurityGroup interface{}
  • Type: interface{}

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

Manager interface{}
  • Type: interface{}

Property manager: The cluster manages node configuration.


MaxCoreCountOptional

MaxCoreCount interface{}
  • Type: interface{}

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


MaxCountOptional

MaxCount interface{}
  • Type: interface{}

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


QueuesOptional

Queues interface{}
  • Type: interface{}

Property queues: Cluster queue configuration.

The number of queues is supported from 0 to 8.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.


SecurityGroupIdOptional

SecurityGroupId interface{}
  • Type: interface{}

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


TagsOptional

Tags *[]TagsProperty

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.