Cluster
This class encapsulates and extends the ROS resource type ALIYUN::EHPC::Cluster
, which is used to create an Elastic High Performance Computing (E-HPC) cluster.
Initializers
import com.aliyun.ros.cdk.ehpc.Cluster;
Cluster.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.ecsOrderComputeCount(java.lang.Number)
.ecsOrderComputeCount(IResolvable)
.ecsOrderComputeInstanceType(java.lang.String)
.ecsOrderComputeInstanceType(IResolvable)
.ecsOrderLoginCount(java.lang.Number)
.ecsOrderLoginCount(IResolvable)
.ecsOrderLoginInstanceType(java.lang.String)
.ecsOrderLoginInstanceType(IResolvable)
.ecsOrderManagerInstanceType(java.lang.String)
.ecsOrderManagerInstanceType(IResolvable)
.name(java.lang.String)
.name(IResolvable)
.osTag(java.lang.String)
.osTag(IResolvable)
.vSwitchId(java.lang.String)
.vSwitchId(IResolvable)
// .accountType(java.lang.String)
// .accountType(IResolvable)
// .additionalVolumes(IResolvable)
// .additionalVolumes(java.util.List<IResolvable)
// .additionalVolumes(AdditionalVolumesProperty>)
// .application(IResolvable)
// .application(java.util.List<IResolvable)
// .application(ApplicationProperty>)
// .autoRenew(java.lang.Boolean)
// .autoRenew(IResolvable)
// .autoRenewPeriod(java.lang.Number)
// .autoRenewPeriod(IResolvable)
// .clientVersion(java.lang.String)
// .clientVersion(IResolvable)
// .computeEnableHt(java.lang.Boolean)
// .computeEnableHt(IResolvable)
// .computeSpotPriceLimit(java.lang.String)
// .computeSpotPriceLimit(IResolvable)
// .computeSpotStrategy(java.lang.String)
// .computeSpotStrategy(IResolvable)
// .deployMode(java.lang.String)
// .deployMode(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .ecsChargeType(java.lang.String)
// .ecsChargeType(IResolvable)
// .ecsOrderManagerCount(java.lang.Number)
// .ecsOrderManagerCount(IResolvable)
// .ehpcVersion(java.lang.String)
// .ehpcVersion(IResolvable)
// .haEnable(java.lang.Boolean)
// .haEnable(IResolvable)
// .imageId(java.lang.String)
// .imageId(IResolvable)
// .imageOwnerAlias(java.lang.String)
// .imageOwnerAlias(IResolvable)
// .inputFileUrl(java.lang.String)
// .inputFileUrl(IResolvable)
// .isComputeEss(java.lang.Boolean)
// .isComputeEss(IResolvable)
// .jobQueue(java.lang.String)
// .jobQueue(IResolvable)
// .keyPairName(java.lang.String)
// .keyPairName(IResolvable)
// .networkInterfaceTrafficMode(java.lang.String)
// .networkInterfaceTrafficMode(IResolvable)
// .password(java.lang.String)
// .password(IResolvable)
// .period(java.lang.Number)
// .period(IResolvable)
// .periodUnit(java.lang.String)
// .periodUnit(IResolvable)
// .postInstallScript(IResolvable)
// .postInstallScript(java.util.List<IResolvable)
// .postInstallScript(PostInstallScriptProperty>)
// .ramNodeTypes(IResolvable)
// .ramNodeTypes(java.util.List<java.lang.String)
// .ramNodeTypes(IResolvable>)
// .ramRoleName(java.lang.String)
// .ramRoleName(IResolvable)
// .remoteDirectory(java.lang.String)
// .remoteDirectory(IResolvable)
// .remoteVisEnable(java.lang.Boolean)
// .remoteVisEnable(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .sccClusterId(java.lang.String)
// .sccClusterId(IResolvable)
// .schedulerType(java.lang.String)
// .schedulerType(IResolvable)
// .securityGroupId(java.lang.String)
// .securityGroupId(IResolvable)
// .securityGroupName(java.lang.String)
// .securityGroupName(IResolvable)
// .systemDiskLevel(java.lang.String)
// .systemDiskLevel(IResolvable)
// .systemDiskSize(java.lang.Number)
// .systemDiskSize(IResolvable)
// .systemDiskType(java.lang.String)
// .systemDiskType(IResolvable)
// .volumeId(java.lang.String)
// .volumeId(IResolvable)
// .volumeMountpoint(java.lang.String)
// .volumeMountpoint(IResolvable)
// .volumeProtocol(java.lang.String)
// .volumeProtocol(IResolvable)
// .volumeType(java.lang.String)
// .volumeType(IResolvable)
// .vpcId(java.lang.String)
// .vpcId(IResolvable)
// .withoutElasticIp(java.lang.Boolean)
// .withoutElasticIp(IResolvable)
// .zoneId(java.lang.String)
// .zoneId(IResolvable)
.build();
Name | Type | Description |
---|---|---|
scope |
com.aliyun.ros.cdk.core.Construct |
No description. |
id |
java.lang.String |
No description. |
enableResourcePropertyConstraint |
java.lang.Boolean |
No description. |
ecsOrderComputeCount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ecsOrderComputeCount: Computing node number, which ranges from: 0-99. |
ecsOrderComputeInstanceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ecsOrderComputeInstanceType: Cluster computing node instance specifications. |
ecsOrderLoginCount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ecsOrderLoginCount: Login node number can only be 1. |
ecsOrderLoginInstanceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ecsOrderLoginInstanceType: Log cluster node instance specifications. |
ecsOrderManagerInstanceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ecsOrderManagerInstanceType: Cluster control node instance specifications. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: Cluster name. |
osTag |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property osTag: Operating system image tag. |
vSwitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vSwitchId: VPC in switch ID. |
accountType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property accountType: The service type of the domain account. |
additionalVolumes |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property additionalVolumes:. |
application |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property application: Application software tag (SoftwareTag) list, You can call ListSoftwares API to query. |
autoRenew |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property autoRenew: true: automatic renewals; |
autoRenewPeriod |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property autoRenewPeriod: Duration of each automatic renewals, AutoRenew take effect when AutoRenew is True. |
clientVersion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property clientVersion: The version of the E-HPC client. |
computeEnableHt |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property computeEnableHt: Specifies whether the compute nodes support hyper-threading. |
computeSpotPriceLimit |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property computeSpotPriceLimit: Set an example of the highest price per hour, are floating-point values, in the range of the current price range. |
computeSpotStrategy |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property computeSpotStrategy: Compute nodes bidding strategy, value NoSpot, SpotWithPriceLimit or SpotAsPriceGo. |
deployMode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property deployMode: The mode in which the cluster is deployed. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Cluster description, 2 to 128 characters. |
ecsChargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ecsChargeType: ECS instance payment type, PostPaid: Pay-As-You-Go.PrePaid: Subscription.If you choose PrePaid, automatic renewal will be enabled by default, and closed when node is released. |
ecsOrderManagerCount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ecsOrderManagerCount: Control node number can be 1, 2. |
ehpcVersion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ehpcVersion: The version of E-HPC. |
haEnable |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property haEnable: Specifies whether to enable the high availability feature. |
imageId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property imageId: Mirror Id, if ImageType a system, based on the image ID is determined only according OsTag; |
imageOwnerAlias |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property imageOwnerAlias: Mirror type: system, self, others or marketplace. |
inputFileUrl |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property inputFileUrl: The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket. |
isComputeEss |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property isComputeEss: Specifies whether to enable auto scaling. |
jobQueue |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property jobQueue: The queue to which the compute nodes are added. |
keyPairName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property keyPairName: Key pair name. |
networkInterfaceTrafficMode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property networkInterfaceTrafficMode: Communication mode of an elastic NIC. |
password |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property password: Root password of jump server (login node). |
period |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property period: The purchase of long resources, units: week \/ month \/ year. |
periodUnit |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property periodUnit: The purchase of long-resources unit. |
postInstallScript |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property postInstallScript:. |
ramNodeTypes |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property ramNodeTypes: When authorizing instance configuration, the node type to which the RAM role is bound. |
ramRoleName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ramRoleName: The name of the Resource Access Management (RAM) role. |
remoteDirectory |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property remoteDirectory: Mount shared storage remote directory. |
remoteVisEnable |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property remoteVisEnable: Specifies whether to enable Virtual Network Computing (VNC). |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
sccClusterId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sccClusterId: When SCC models, if you pass this field, then the specified SccCluster create Scc instance, otherwise it will create an instance for the user. |
schedulerType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property schedulerType: The type of the scheduler. |
securityGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property securityGroupId: Security group ID. |
securityGroupName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property securityGroupName: If you do not use an existing security group (SecurityGroupId is empty), then use this name to create a new security group, the default policy. |
systemDiskLevel |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property systemDiskLevel: The performance level of the ESSD that is created as the system disk. |
systemDiskSize |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property systemDiskSize: The size of the system disk. |
systemDiskType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property systemDiskType: The type of the system disk. |
volumeId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property volumeId: The ID of the file system. |
volumeMountpoint |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property volumeMountpoint: The mount target of the file system. |
volumeProtocol |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property volumeProtocol: The type of the protocol that is used by the file system. |
volumeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property volumeType: The type of the shared storage. |
vpcId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpcId: The ID of the virtual private cloud (VPC) to which the E-HPC cluster belongs. |
withoutElasticIp |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property withoutElasticIp: Specifies whether the logon node uses an elastic IP address (EIP). |
zoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property zoneId: Available area ID. |
scope
Required
- Type: com.aliyun.ros.cdk.core.Construct
id
Required
- Type: java.lang.String
enableResourcePropertyConstraint
Optional
- Type: java.lang.Boolean
ecsOrderComputeCount
Required
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property ecsOrderComputeCount: Computing node number, which ranges from: 0-99.
ecsOrderComputeInstanceType
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ecsOrderComputeInstanceType: Cluster computing node instance specifications.
ecsOrderLoginCount
Required
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property ecsOrderLoginCount: Login node number can only be 1.
ecsOrderLoginInstanceType
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ecsOrderLoginInstanceType: Log cluster node instance specifications.
ecsOrderManagerInstanceType
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ecsOrderManagerInstanceType: Cluster control node instance specifications.
name
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: Cluster name.
2-64 characters in length, allowing only include Chinese, letters, numbers, dashes (-) and underscore (_), must begin with a letter or Chinese.
osTag
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property osTag: Operating system image tag.
You can call ListImages API to query.
vSwitchId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchId: VPC in switch ID.
Products currently only supports VPC network.
accountType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountType: The service type of the domain account.
Valid values: nis ldap Default value: nis
additionalVolumes
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
AdditionalVolumesProperty>
Property additionalVolumes:.
application
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ApplicationProperty>
Property application: Application software tag (SoftwareTag) list, You can call ListSoftwares API to query.
autoRenew
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoRenew: true: automatic renewals;
false: no automatic renewals.
autoRenewPeriod
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property autoRenewPeriod: Duration of each automatic renewals, AutoRenew take effect when AutoRenew is True.
clientVersion
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property clientVersion: The version of the E-HPC client.
By default, the parameter is set to the latest version number. You can call the ListCurrentClientVersion operation to query the current version of the E-HPC client.
computeEnableHt
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property computeEnableHt: Specifies whether the compute nodes support hyper-threading.
Valid values: true: Hyper-threading is supported. false: Hyper-threading is not supported. Default value: true
computeSpotPriceLimit
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property computeSpotPriceLimit: Set an example of the highest price per hour, are floating-point values, in the range of the current price range.
computeSpotStrategy
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property computeSpotStrategy: Compute nodes bidding strategy, value NoSpot, SpotWithPriceLimit or SpotAsPriceGo.
deployMode
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property deployMode: The mode in which the cluster is deployed.
Valid values: Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed. Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed. Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed. Default value: Standard
description
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Cluster description, 2 to 128 characters.
ecsChargeType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ecsChargeType: ECS instance payment type, PostPaid: Pay-As-You-Go.PrePaid: Subscription.If you choose PrePaid, automatic renewal will be enabled by default, and closed when node is released.
ecsOrderManagerCount
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property ecsOrderManagerCount: Control node number can be 1, 2.
ehpcVersion
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ehpcVersion: The version of E-HPC.
By default, the parameter is set to the latest version number.
haEnable
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property haEnable: Specifies whether to enable the high availability feature.
Valid values: true: enables the high availability feature false: disables the high availability feature Default value: false Note If high availability is enabled, primary management nodes and secondary management nodes are used.
imageId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property imageId: Mirror Id, if ImageType a system, based on the image ID is determined only according OsTag;
if self, others, or marketplace, ImageId is mandatory.
imageOwnerAlias
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property imageOwnerAlias: Mirror type: system, self, others or marketplace.
inputFileUrl
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property inputFileUrl: The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
isComputeEss
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property isComputeEss: Specifies whether to enable auto scaling.
Valid values: true: enables auto scaling false: disables auto scaling Default value: false
jobQueue
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property jobQueue: The queue to which the compute nodes are added.
keyPairName
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property keyPairName: Key pair name.
networkInterfaceTrafficMode
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property networkInterfaceTrafficMode: Communication mode of an elastic NIC.
Value values:
- Standard: The TCP communication mode is used.
- HighPerformance: Enables the Elastic RDMA Interface (ERI) and uses the RDMA communication mode.
password
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property password: Root password of jump server (login node).
8 to 30 characters, must contain three (upper and lower case letters, numbers and special symbols). ! Supports the following special characters :() `~ @ # $% ^ & * - + = | {} []:; '<>, / Be sure to use the HTTPS protocol API call to avoid password leaks that may occur.?.
period
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property period: The purchase of long resources, units: week \/ month \/ year.
When the value of the parameter EcsChargeType when PrePaid take effect and for the selected value will be.
periodUnit
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property periodUnit: The purchase of long-resources unit.
Alternatively value Week / Month / year.
postInstallScript
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
PostInstallScriptProperty>
Property postInstallScript:.
ramNodeTypes
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property ramNodeTypes: When authorizing instance configuration, the node type to which the RAM role is bound.
When the value of DeployMode is Standard, the value range: scheduler, account, login, compute. When the value of DeployMode is Simple, the value range: manager, login, compute. When the value of DeployMode is Tiny, the value range: manager, compute.
ramRoleName
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ramRoleName: The name of the Resource Access Management (RAM) role.
You can call the ListRoles operation provided by RAM to query the created RAM roles.
remoteDirectory
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property remoteDirectory: Mount shared storage remote directory.
The final path to the mount point and mount the remote directory composition: NasMountpoint: / RemoteDirectory
remoteVisEnable
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property remoteVisEnable: Specifies whether to enable Virtual Network Computing (VNC).
Valid values: true: enables VNC false: disables VNC Default value: false
resourceGroupId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group.
You can call the ListResourceGroups operation to obtain the ID of the resource group.
sccClusterId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sccClusterId: When SCC models, if you pass this field, then the specified SccCluster create Scc instance, otherwise it will create an instance for the user.
schedulerType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property schedulerType: The type of the scheduler.
Valid values: pbs slurm opengridscheduler deadline Default value: pbs
securityGroupId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property securityGroupId: Security group ID.
securityGroupName
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property securityGroupName: If you do not use an existing security group (SecurityGroupId is empty), then use this name to create a new security group, the default policy.
Format Requirements Reference ECS security group name.
systemDiskLevel
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property systemDiskLevel: The performance level of the ESSD that is created as the system disk.
Valid values: PL0: A single ESSD can deliver up to 10,000 input/output operations per second (IOPS) of random read/write. PL1: A single ESSD can deliver up to 50,000 IOPS of random read/write. PL2: A single ESSD can deliver up to 100,000 IOPS of random read/write. PL3: A single ESSD can deliver up to 1,000,000 IOPS of random read/write. Default value: PL1
systemDiskSize
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property systemDiskSize: The size of the system disk.
Unit: GB Valid values: 40 to 500 Default value: 40
systemDiskType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property systemDiskType: The type of the system disk.
Valid values: cloud_efficiency: ultra disk. cloud_ssd: SSD. cloud_essd: ESSD. Default value: cloud_ssd
volumeId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property volumeId: The ID of the file system.
If you leave the parameter empty, a Performance NAS file system is created by default.
volumeMountpoint
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property volumeMountpoint: The mount target of the file system.
Take note of the following information: If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default. If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
volumeProtocol
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property volumeProtocol: The type of the protocol that is used by the file system.
Valid values: nfs smb Default value: nfs
volumeType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property volumeType: The type of the shared storage.
Only Apsara File Storage nas file systems are supported.
vpcId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcId: The ID of the virtual private cloud (VPC) to which the E-HPC cluster belongs.
withoutElasticIp
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property withoutElasticIp: Specifies whether the logon node uses an elastic IP address (EIP).
Default value: false
zoneId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneId: Available area ID.
Methods
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
addCondition |
No description. |
addCount |
No description. |
addDependency |
No description. |
addResourceDesc |
No description. |
applyRemovalPolicy |
No description. |
getAtt |
No description. |
setMetadata |
No description. |
toString
public java.lang.String toString()
Returns a string representation of this construct.
synthesize
public void synthesize(ISynthesisSession session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: com.aliyun.ros.cdk.core.ISynthesisSession
The synthesis session.
addCondition
public void addCondition(RosCondition condition)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
addDependency
public void addDependency(Resource resource)
- Type: com.aliyun.ros.cdk.core.Resource
addResourceDesc
public void addResourceDesc(java.lang.String desc)
- Type: java.lang.String
applyRemovalPolicy
public void applyRemovalPolicy(RemovalPolicy policy)
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
getAtt
public IResolvable getAtt(java.lang.String name)
- Type: java.lang.String
setMetadata
public void setMetadata(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
Static Functions
Name | Description |
---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import com.aliyun.ros.cdk.ehpc.Cluster;
Cluster.isConstruct(java.lang.Object x)
Return whether the given object is a Construct.
- Type: java.lang.Object
Properties
Name | Type | Description |
---|---|---|
node |
com.aliyun.ros.cdk.core.ConstructNode |
The construct tree node associated with this construct. |
ref |
java.lang.String |
No description. |
stack |
com.aliyun.ros.cdk.core.Stack |
The stack in which this resource is defined. |
resource |
com.aliyun.ros.cdk.core.RosResource |
No description. |
attrClusterId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ClusterId: Cluster Id. |
attrEcsInfo |
com.aliyun.ros.cdk.core.IResolvable |
Attribute EcsInfo: A data structure describing the number and specifications of ECS for various components of the cluster. |
attrName |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Name: Cluster name. |
attrSecurityGroupId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute SecurityGroupId: Security group ID. |
node
Required
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public java.lang.String getRef();
- Type: java.lang.String
stack
Required
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
resource
Optional
public RosResource getResource();
- Type: com.aliyun.ros.cdk.core.RosResource
attrClusterId
Required
public IResolvable getAttrClusterId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ClusterId: Cluster Id.
attrEcsInfo
Required
public IResolvable getAttrEcsInfo();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute EcsInfo: A data structure describing the number and specifications of ECS for various components of the cluster.
You will get results similar to the following: EcsInfo: {"Manager": {"Count": 2, "InstanceType": "ecs.n1.large"}, "Compute": {"Count": 8, "InstanceType": "ecs.n1.large"}, "Login": {"Count": 1, "InstanceType": "ecs.n1.large"}}
attrName
Required
public IResolvable getAttrName();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Name: Cluster name.
attrSecurityGroupId
Required
public IResolvable getAttrSecurityGroupId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute SecurityGroupId: Security group ID.