published on Tuesday, Oct 27, 2026 by Pulumi
published on Tuesday, Oct 27, 2026 by Pulumi
Provides a Ehpc Cluster V2 resource.
E-HPC Cluster Resources.
For information about Ehpc Cluster V2 and how to use it, see What is Cluster V2.
NOTE: Available since v1.266.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const example = new alicloud.vpc.Network("example", {
isDefault: false,
cidrBlock: "10.0.0.0/24",
vpcName: "example-cluster-vpc",
});
const exampleAccessGroup = new alicloud.nas.AccessGroup("example", {
accessGroupType: "Vpc",
description: name,
accessGroupName: "StandardMountTarget",
fileSystemType: "standard",
});
const exampleFileSystem = new alicloud.nas.FileSystem("example", {
description: "example-cluster-nas",
storageType: "Capacity",
nfsAcl: {
enabled: false,
},
zoneId: "cn-hangzhou-k",
encryptType: 0,
protocolType: "NFS",
fileSystemType: "standard",
});
const exampleSwitch = new alicloud.vpc.Switch("example", {
isDefault: false,
vpcId: example.id,
zoneId: "cn-hangzhou-k",
cidrBlock: "10.0.0.0/24",
vswitchName: "example-cluster-vsw",
});
const exampleAccessRule = new alicloud.nas.AccessRule("example", {
priority: 1,
accessGroupName: exampleAccessGroup.accessGroupName,
fileSystemType: exampleFileSystem.fileSystemType,
sourceCidrIp: "10.0.0.0/24",
});
const exampleEcsKeyPair = new alicloud.ecs.EcsKeyPair("example", {keyPairName: name});
const exampleMountTarget = new alicloud.nas.MountTarget("example", {
vpcId: example.id,
networkType: "Vpc",
accessGroupName: exampleAccessGroup.accessGroupName,
vswitchId: exampleSwitch.id,
fileSystemId: exampleFileSystem.id,
});
const exampleSecurityGroup = new alicloud.ecs.SecurityGroup("example", {
vpcId: example.id,
securityGroupType: "normal",
});
const _default = new alicloud.ehpc.ClusterV2("default", {
clusterCredentials: {
keyPairName: exampleEcsKeyPair.id,
},
clusterMode: "Integrated",
clusterVpcId: example.id,
deletionProtection: true,
sharedStorages: [
{
mountDirectory: "/home",
nasDirectory: "/",
mountTargetDomain: exampleMountTarget.mountTargetDomain,
protocolType: "NFS",
fileSystemId: exampleFileSystem.id,
mountOptions: "-t nfs -o vers=3,nolock,proto=tcp,noresvport",
},
{
nasDirectory: "/",
mountTargetDomain: exampleMountTarget.mountTargetDomain,
protocolType: "NFS",
fileSystemId: exampleFileSystem.id,
mountOptions: "-t nfs -o vers=3,nolock,proto=tcp,noresvport",
mountDirectory: "/opt",
},
{
mountOptions: "-t nfs -o vers=3,nolock,proto=tcp,noresvport",
mountDirectory: "/ehpcdata",
nasDirectory: "/",
mountTargetDomain: exampleMountTarget.mountTargetDomain,
protocolType: "NFS",
fileSystemId: exampleFileSystem.id,
},
],
clusterVswitchId: exampleSwitch.id,
clusterCategory: "Standard",
securityGroupId: exampleSecurityGroup.id,
clusterName: name,
manager: {
managerNode: {
spotStrategy: "NoSpot",
systemDisk: {
category: "cloud_essd",
size: 40,
level: "PL0",
},
enableHt: true,
instanceChargeType: "PostPaid",
imageId: "centos_7_6_x64_20G_alibase_20211130.vhd",
instanceType: "ecs.c6.xlarge",
},
scheduler: {
type: "SLURM",
version: "22.05.8",
},
dns: {
type: "nis",
version: "1.0",
},
directoryService: {
type: "nis",
version: "1.0",
},
},
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
example = alicloud.vpc.Network("example",
is_default=False,
cidr_block="10.0.0.0/24",
vpc_name="example-cluster-vpc")
example_access_group = alicloud.nas.AccessGroup("example",
access_group_type="Vpc",
description=name,
access_group_name="StandardMountTarget",
file_system_type="standard")
example_file_system = alicloud.nas.FileSystem("example",
description="example-cluster-nas",
storage_type="Capacity",
nfs_acl={
"enabled": False,
},
zone_id="cn-hangzhou-k",
encrypt_type=0,
protocol_type="NFS",
file_system_type="standard")
example_switch = alicloud.vpc.Switch("example",
is_default=False,
vpc_id=example.id,
zone_id="cn-hangzhou-k",
cidr_block="10.0.0.0/24",
vswitch_name="example-cluster-vsw")
example_access_rule = alicloud.nas.AccessRule("example",
priority=1,
access_group_name=example_access_group.access_group_name,
file_system_type=example_file_system.file_system_type,
source_cidr_ip="10.0.0.0/24")
example_ecs_key_pair = alicloud.ecs.EcsKeyPair("example", key_pair_name=name)
example_mount_target = alicloud.nas.MountTarget("example",
vpc_id=example.id,
network_type="Vpc",
access_group_name=example_access_group.access_group_name,
vswitch_id=example_switch.id,
file_system_id=example_file_system.id)
example_security_group = alicloud.ecs.SecurityGroup("example",
vpc_id=example.id,
security_group_type="normal")
default = alicloud.ehpc.ClusterV2("default",
cluster_credentials={
"key_pair_name": example_ecs_key_pair.id,
},
cluster_mode="Integrated",
cluster_vpc_id=example.id,
deletion_protection=True,
shared_storages=[
{
"mount_directory": "/home",
"nas_directory": "/",
"mount_target_domain": example_mount_target.mount_target_domain,
"protocol_type": "NFS",
"file_system_id": example_file_system.id,
"mount_options": "-t nfs -o vers=3,nolock,proto=tcp,noresvport",
},
{
"nas_directory": "/",
"mount_target_domain": example_mount_target.mount_target_domain,
"protocol_type": "NFS",
"file_system_id": example_file_system.id,
"mount_options": "-t nfs -o vers=3,nolock,proto=tcp,noresvport",
"mount_directory": "/opt",
},
{
"mount_options": "-t nfs -o vers=3,nolock,proto=tcp,noresvport",
"mount_directory": "/ehpcdata",
"nas_directory": "/",
"mount_target_domain": example_mount_target.mount_target_domain,
"protocol_type": "NFS",
"file_system_id": example_file_system.id,
},
],
cluster_vswitch_id=example_switch.id,
cluster_category="Standard",
security_group_id=example_security_group.id,
cluster_name=name,
manager={
"manager_node": {
"spot_strategy": "NoSpot",
"system_disk": {
"category": "cloud_essd",
"size": 40,
"level": "PL0",
},
"enable_ht": True,
"instance_charge_type": "PostPaid",
"image_id": "centos_7_6_x64_20G_alibase_20211130.vhd",
"instance_type": "ecs.c6.xlarge",
},
"scheduler": {
"type": "SLURM",
"version": "22.05.8",
},
"dns": {
"type": "nis",
"version": "1.0",
},
"directory_service": {
"type": "nis",
"version": "1.0",
},
})
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v4/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v4/go/alicloud/ehpc"
"github.com/pulumi/pulumi-alicloud/sdk/v4/go/alicloud/nas"
"github.com/pulumi/pulumi-alicloud/sdk/v4/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
example, err := vpc.NewNetwork(ctx, "example", &vpc.NetworkArgs{
IsDefault: pulumi.Bool(false),
CidrBlock: pulumi.String("10.0.0.0/24"),
VpcName: pulumi.String("example-cluster-vpc"),
})
if err != nil {
return err
}
exampleAccessGroup, err := nas.NewAccessGroup(ctx, "example", &nas.AccessGroupArgs{
AccessGroupType: pulumi.String("Vpc"),
Description: pulumi.String(name),
AccessGroupName: pulumi.String("StandardMountTarget"),
FileSystemType: pulumi.String("standard"),
})
if err != nil {
return err
}
exampleFileSystem, err := nas.NewFileSystem(ctx, "example", &nas.FileSystemArgs{
Description: pulumi.String("example-cluster-nas"),
StorageType: pulumi.String("Capacity"),
NfsAcl: &nas.FileSystemNfsAclArgs{
Enabled: pulumi.Bool(false),
},
ZoneId: pulumi.String("cn-hangzhou-k"),
EncryptType: pulumi.Int(0),
ProtocolType: pulumi.String("NFS"),
FileSystemType: pulumi.String("standard"),
})
if err != nil {
return err
}
exampleSwitch, err := vpc.NewSwitch(ctx, "example", &vpc.SwitchArgs{
IsDefault: pulumi.Bool(false),
VpcId: example.ID(),
ZoneId: pulumi.String("cn-hangzhou-k"),
CidrBlock: pulumi.String("10.0.0.0/24"),
VswitchName: pulumi.String("example-cluster-vsw"),
})
if err != nil {
return err
}
_, err = nas.NewAccessRule(ctx, "example", &nas.AccessRuleArgs{
Priority: pulumi.Int(1),
AccessGroupName: exampleAccessGroup.AccessGroupName,
FileSystemType: exampleFileSystem.FileSystemType,
SourceCidrIp: pulumi.String("10.0.0.0/24"),
})
if err != nil {
return err
}
exampleEcsKeyPair, err := ecs.NewEcsKeyPair(ctx, "example", &ecs.EcsKeyPairArgs{
KeyPairName: pulumi.String(name),
})
if err != nil {
return err
}
exampleMountTarget, err := nas.NewMountTarget(ctx, "example", &nas.MountTargetArgs{
VpcId: example.ID(),
NetworkType: pulumi.String("Vpc"),
AccessGroupName: exampleAccessGroup.AccessGroupName,
VswitchId: exampleSwitch.ID(),
FileSystemId: exampleFileSystem.ID(),
})
if err != nil {
return err
}
exampleSecurityGroup, err := ecs.NewSecurityGroup(ctx, "example", &ecs.SecurityGroupArgs{
VpcId: example.ID(),
SecurityGroupType: pulumi.String("normal"),
})
if err != nil {
return err
}
_, err = ehpc.NewClusterV2(ctx, "default", &ehpc.ClusterV2Args{
ClusterCredentials: &ehpc.ClusterV2ClusterCredentialsArgs{
KeyPairName: exampleEcsKeyPair.ID(),
},
ClusterMode: pulumi.String("Integrated"),
ClusterVpcId: example.ID(),
DeletionProtection: pulumi.Bool(true),
SharedStorages: ehpc.ClusterV2SharedStorageArray{
&ehpc.ClusterV2SharedStorageArgs{
MountDirectory: pulumi.String("/home"),
NasDirectory: pulumi.String("/"),
MountTargetDomain: exampleMountTarget.MountTargetDomain,
ProtocolType: pulumi.String("NFS"),
FileSystemId: exampleFileSystem.ID(),
MountOptions: pulumi.String("-t nfs -o vers=3,nolock,proto=tcp,noresvport"),
},
&ehpc.ClusterV2SharedStorageArgs{
NasDirectory: pulumi.String("/"),
MountTargetDomain: exampleMountTarget.MountTargetDomain,
ProtocolType: pulumi.String("NFS"),
FileSystemId: exampleFileSystem.ID(),
MountOptions: pulumi.String("-t nfs -o vers=3,nolock,proto=tcp,noresvport"),
MountDirectory: pulumi.String("/opt"),
},
&ehpc.ClusterV2SharedStorageArgs{
MountOptions: pulumi.String("-t nfs -o vers=3,nolock,proto=tcp,noresvport"),
MountDirectory: pulumi.String("/ehpcdata"),
NasDirectory: pulumi.String("/"),
MountTargetDomain: exampleMountTarget.MountTargetDomain,
ProtocolType: pulumi.String("NFS"),
FileSystemId: exampleFileSystem.ID(),
},
},
ClusterVswitchId: exampleSwitch.ID(),
ClusterCategory: pulumi.String("Standard"),
SecurityGroupId: exampleSecurityGroup.ID(),
ClusterName: pulumi.String(name),
Manager: &ehpc.ClusterV2ManagerArgs{
ManagerNode: &ehpc.ClusterV2ManagerManagerNodeArgs{
SpotStrategy: pulumi.String("NoSpot"),
SystemDisk: &ehpc.ClusterV2ManagerManagerNodeSystemDiskArgs{
Category: pulumi.String("cloud_essd"),
Size: pulumi.Int(40),
Level: pulumi.String("PL0"),
},
EnableHt: pulumi.Bool(true),
InstanceChargeType: pulumi.String("PostPaid"),
ImageId: pulumi.String("centos_7_6_x64_20G_alibase_20211130.vhd"),
InstanceType: pulumi.String("ecs.c6.xlarge"),
},
Scheduler: &ehpc.ClusterV2ManagerSchedulerArgs{
Type: pulumi.String("SLURM"),
Version: pulumi.String("22.05.8"),
},
Dns: &ehpc.ClusterV2ManagerDnsArgs{
Type: pulumi.String("nis"),
Version: pulumi.String("1.0"),
},
DirectoryService: &ehpc.ClusterV2ManagerDirectoryServiceArgs{
Type: pulumi.String("nis"),
Version: pulumi.String("1.0"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var example = new AliCloud.Vpc.Network("example", new()
{
IsDefault = false,
CidrBlock = "10.0.0.0/24",
VpcName = "example-cluster-vpc",
});
var exampleAccessGroup = new AliCloud.Nas.AccessGroup("example", new()
{
AccessGroupType = "Vpc",
Description = name,
AccessGroupName = "StandardMountTarget",
FileSystemType = "standard",
});
var exampleFileSystem = new AliCloud.Nas.FileSystem("example", new()
{
Description = "example-cluster-nas",
StorageType = "Capacity",
NfsAcl = new AliCloud.Nas.Inputs.FileSystemNfsAclArgs
{
Enabled = false,
},
ZoneId = "cn-hangzhou-k",
EncryptType = 0,
ProtocolType = "NFS",
FileSystemType = "standard",
});
var exampleSwitch = new AliCloud.Vpc.Switch("example", new()
{
IsDefault = false,
VpcId = example.Id,
ZoneId = "cn-hangzhou-k",
CidrBlock = "10.0.0.0/24",
VswitchName = "example-cluster-vsw",
});
var exampleAccessRule = new AliCloud.Nas.AccessRule("example", new()
{
Priority = 1,
AccessGroupName = exampleAccessGroup.AccessGroupName,
FileSystemType = exampleFileSystem.FileSystemType,
SourceCidrIp = "10.0.0.0/24",
});
var exampleEcsKeyPair = new AliCloud.Ecs.EcsKeyPair("example", new()
{
KeyPairName = name,
});
var exampleMountTarget = new AliCloud.Nas.MountTarget("example", new()
{
VpcId = example.Id,
NetworkType = "Vpc",
AccessGroupName = exampleAccessGroup.AccessGroupName,
VswitchId = exampleSwitch.Id,
FileSystemId = exampleFileSystem.Id,
});
var exampleSecurityGroup = new AliCloud.Ecs.SecurityGroup("example", new()
{
VpcId = example.Id,
SecurityGroupType = "normal",
});
var @default = new AliCloud.Ehpc.ClusterV2("default", new()
{
ClusterCredentials = new AliCloud.Ehpc.Inputs.ClusterV2ClusterCredentialsArgs
{
KeyPairName = exampleEcsKeyPair.Id,
},
ClusterMode = "Integrated",
ClusterVpcId = example.Id,
DeletionProtection = true,
SharedStorages = new[]
{
new AliCloud.Ehpc.Inputs.ClusterV2SharedStorageArgs
{
MountDirectory = "/home",
NasDirectory = "/",
MountTargetDomain = exampleMountTarget.MountTargetDomain,
ProtocolType = "NFS",
FileSystemId = exampleFileSystem.Id,
MountOptions = "-t nfs -o vers=3,nolock,proto=tcp,noresvport",
},
new AliCloud.Ehpc.Inputs.ClusterV2SharedStorageArgs
{
NasDirectory = "/",
MountTargetDomain = exampleMountTarget.MountTargetDomain,
ProtocolType = "NFS",
FileSystemId = exampleFileSystem.Id,
MountOptions = "-t nfs -o vers=3,nolock,proto=tcp,noresvport",
MountDirectory = "/opt",
},
new AliCloud.Ehpc.Inputs.ClusterV2SharedStorageArgs
{
MountOptions = "-t nfs -o vers=3,nolock,proto=tcp,noresvport",
MountDirectory = "/ehpcdata",
NasDirectory = "/",
MountTargetDomain = exampleMountTarget.MountTargetDomain,
ProtocolType = "NFS",
FileSystemId = exampleFileSystem.Id,
},
},
ClusterVswitchId = exampleSwitch.Id,
ClusterCategory = "Standard",
SecurityGroupId = exampleSecurityGroup.Id,
ClusterName = name,
Manager = new AliCloud.Ehpc.Inputs.ClusterV2ManagerArgs
{
ManagerNode = new AliCloud.Ehpc.Inputs.ClusterV2ManagerManagerNodeArgs
{
SpotStrategy = "NoSpot",
SystemDisk = new AliCloud.Ehpc.Inputs.ClusterV2ManagerManagerNodeSystemDiskArgs
{
Category = "cloud_essd",
Size = 40,
Level = "PL0",
},
EnableHt = true,
InstanceChargeType = "PostPaid",
ImageId = "centos_7_6_x64_20G_alibase_20211130.vhd",
InstanceType = "ecs.c6.xlarge",
},
Scheduler = new AliCloud.Ehpc.Inputs.ClusterV2ManagerSchedulerArgs
{
Type = "SLURM",
Version = "22.05.8",
},
Dns = new AliCloud.Ehpc.Inputs.ClusterV2ManagerDnsArgs
{
Type = "nis",
Version = "1.0",
},
DirectoryService = new AliCloud.Ehpc.Inputs.ClusterV2ManagerDirectoryServiceArgs
{
Type = "nis",
Version = "1.0",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.nas.AccessGroup;
import com.pulumi.alicloud.nas.AccessGroupArgs;
import com.pulumi.alicloud.nas.FileSystem;
import com.pulumi.alicloud.nas.FileSystemArgs;
import com.pulumi.alicloud.nas.inputs.FileSystemNfsAclArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.nas.AccessRule;
import com.pulumi.alicloud.nas.AccessRuleArgs;
import com.pulumi.alicloud.ecs.EcsKeyPair;
import com.pulumi.alicloud.ecs.EcsKeyPairArgs;
import com.pulumi.alicloud.nas.MountTarget;
import com.pulumi.alicloud.nas.MountTargetArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.ehpc.ClusterV2;
import com.pulumi.alicloud.ehpc.ClusterV2Args;
import com.pulumi.alicloud.ehpc.inputs.ClusterV2ClusterCredentialsArgs;
import com.pulumi.alicloud.ehpc.inputs.ClusterV2SharedStorageArgs;
import com.pulumi.alicloud.ehpc.inputs.ClusterV2ManagerArgs;
import com.pulumi.alicloud.ehpc.inputs.ClusterV2ManagerManagerNodeArgs;
import com.pulumi.alicloud.ehpc.inputs.ClusterV2ManagerManagerNodeSystemDiskArgs;
import com.pulumi.alicloud.ehpc.inputs.ClusterV2ManagerSchedulerArgs;
import com.pulumi.alicloud.ehpc.inputs.ClusterV2ManagerDnsArgs;
import com.pulumi.alicloud.ehpc.inputs.ClusterV2ManagerDirectoryServiceArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var example = new Network("example", NetworkArgs.builder()
.isDefault(false)
.cidrBlock("10.0.0.0/24")
.vpcName("example-cluster-vpc")
.build());
var exampleAccessGroup = new AccessGroup("exampleAccessGroup", AccessGroupArgs.builder()
.accessGroupType("Vpc")
.description(name)
.accessGroupName("StandardMountTarget")
.fileSystemType("standard")
.build());
var exampleFileSystem = new FileSystem("exampleFileSystem", FileSystemArgs.builder()
.description("example-cluster-nas")
.storageType("Capacity")
.nfsAcl(FileSystemNfsAclArgs.builder()
.enabled(false)
.build())
.zoneId("cn-hangzhou-k")
.encryptType(0)
.protocolType("NFS")
.fileSystemType("standard")
.build());
var exampleSwitch = new Switch("exampleSwitch", SwitchArgs.builder()
.isDefault(false)
.vpcId(example.id())
.zoneId("cn-hangzhou-k")
.cidrBlock("10.0.0.0/24")
.vswitchName("example-cluster-vsw")
.build());
var exampleAccessRule = new AccessRule("exampleAccessRule", AccessRuleArgs.builder()
.priority(1)
.accessGroupName(exampleAccessGroup.accessGroupName())
.fileSystemType(exampleFileSystem.fileSystemType())
.sourceCidrIp("10.0.0.0/24")
.build());
var exampleEcsKeyPair = new EcsKeyPair("exampleEcsKeyPair", EcsKeyPairArgs.builder()
.keyPairName(name)
.build());
var exampleMountTarget = new MountTarget("exampleMountTarget", MountTargetArgs.builder()
.vpcId(example.id())
.networkType("Vpc")
.accessGroupName(exampleAccessGroup.accessGroupName())
.vswitchId(exampleSwitch.id())
.fileSystemId(exampleFileSystem.id())
.build());
var exampleSecurityGroup = new SecurityGroup("exampleSecurityGroup", SecurityGroupArgs.builder()
.vpcId(example.id())
.securityGroupType("normal")
.build());
var default_ = new ClusterV2("default", ClusterV2Args.builder()
.clusterCredentials(ClusterV2ClusterCredentialsArgs.builder()
.keyPairName(exampleEcsKeyPair.id())
.build())
.clusterMode("Integrated")
.clusterVpcId(example.id())
.deletionProtection(true)
.sharedStorages(
ClusterV2SharedStorageArgs.builder()
.mountDirectory("/home")
.nasDirectory("/")
.mountTargetDomain(exampleMountTarget.mountTargetDomain())
.protocolType("NFS")
.fileSystemId(exampleFileSystem.id())
.mountOptions("-t nfs -o vers=3,nolock,proto=tcp,noresvport")
.build(),
ClusterV2SharedStorageArgs.builder()
.nasDirectory("/")
.mountTargetDomain(exampleMountTarget.mountTargetDomain())
.protocolType("NFS")
.fileSystemId(exampleFileSystem.id())
.mountOptions("-t nfs -o vers=3,nolock,proto=tcp,noresvport")
.mountDirectory("/opt")
.build(),
ClusterV2SharedStorageArgs.builder()
.mountOptions("-t nfs -o vers=3,nolock,proto=tcp,noresvport")
.mountDirectory("/ehpcdata")
.nasDirectory("/")
.mountTargetDomain(exampleMountTarget.mountTargetDomain())
.protocolType("NFS")
.fileSystemId(exampleFileSystem.id())
.build())
.clusterVswitchId(exampleSwitch.id())
.clusterCategory("Standard")
.securityGroupId(exampleSecurityGroup.id())
.clusterName(name)
.manager(ClusterV2ManagerArgs.builder()
.managerNode(ClusterV2ManagerManagerNodeArgs.builder()
.spotStrategy("NoSpot")
.systemDisk(ClusterV2ManagerManagerNodeSystemDiskArgs.builder()
.category("cloud_essd")
.size(40)
.level("PL0")
.build())
.enableHt(true)
.instanceChargeType("PostPaid")
.imageId("centos_7_6_x64_20G_alibase_20211130.vhd")
.instanceType("ecs.c6.xlarge")
.build())
.scheduler(ClusterV2ManagerSchedulerArgs.builder()
.type("SLURM")
.version("22.05.8")
.build())
.dns(ClusterV2ManagerDnsArgs.builder()
.type("nis")
.version("1.0")
.build())
.directoryService(ClusterV2ManagerDirectoryServiceArgs.builder()
.type("nis")
.version("1.0")
.build())
.build())
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
example:
type: alicloud:vpc:Network
properties:
isDefault: false
cidrBlock: 10.0.0.0/24
vpcName: example-cluster-vpc
exampleAccessGroup:
type: alicloud:nas:AccessGroup
name: example
properties:
accessGroupType: Vpc
description: ${name}
accessGroupName: StandardMountTarget
fileSystemType: standard
exampleFileSystem:
type: alicloud:nas:FileSystem
name: example
properties:
description: example-cluster-nas
storageType: Capacity
nfsAcl:
enabled: false
zoneId: cn-hangzhou-k
encryptType: '0'
protocolType: NFS
fileSystemType: standard
exampleSwitch:
type: alicloud:vpc:Switch
name: example
properties:
isDefault: false
vpcId: ${example.id}
zoneId: cn-hangzhou-k
cidrBlock: 10.0.0.0/24
vswitchName: example-cluster-vsw
exampleAccessRule:
type: alicloud:nas:AccessRule
name: example
properties:
priority: '1'
accessGroupName: ${exampleAccessGroup.accessGroupName}
fileSystemType: ${exampleFileSystem.fileSystemType}
sourceCidrIp: 10.0.0.0/24
exampleEcsKeyPair:
type: alicloud:ecs:EcsKeyPair
name: example
properties:
keyPairName: ${name}
exampleMountTarget:
type: alicloud:nas:MountTarget
name: example
properties:
vpcId: ${example.id}
networkType: Vpc
accessGroupName: ${exampleAccessGroup.accessGroupName}
vswitchId: ${exampleSwitch.id}
fileSystemId: ${exampleFileSystem.id}
exampleSecurityGroup:
type: alicloud:ecs:SecurityGroup
name: example
properties:
vpcId: ${example.id}
securityGroupType: normal
default:
type: alicloud:ehpc:ClusterV2
properties:
clusterCredentials:
keyPairName: ${exampleEcsKeyPair.id}
clusterMode: Integrated
clusterVpcId: ${example.id}
deletionProtection: 'true'
sharedStorages:
- mountDirectory: /home
nasDirectory: /
mountTargetDomain: ${exampleMountTarget.mountTargetDomain}
protocolType: NFS
fileSystemId: ${exampleFileSystem.id}
mountOptions: -t nfs -o vers=3,nolock,proto=tcp,noresvport
- nasDirectory: /
mountTargetDomain: ${exampleMountTarget.mountTargetDomain}
protocolType: NFS
fileSystemId: ${exampleFileSystem.id}
mountOptions: -t nfs -o vers=3,nolock,proto=tcp,noresvport
mountDirectory: /opt
- mountOptions: -t nfs -o vers=3,nolock,proto=tcp,noresvport
mountDirectory: /ehpcdata
nasDirectory: /
mountTargetDomain: ${exampleMountTarget.mountTargetDomain}
protocolType: NFS
fileSystemId: ${exampleFileSystem.id}
clusterVswitchId: ${exampleSwitch.id}
clusterCategory: Standard
securityGroupId: ${exampleSecurityGroup.id}
clusterName: ${name}
manager:
managerNode:
spotStrategy: NoSpot
systemDisk:
category: cloud_essd
size: '40'
level: PL0
enableHt: 'true'
instanceChargeType: PostPaid
imageId: centos_7_6_x64_20G_alibase_20211130.vhd
instanceType: ecs.c6.xlarge
scheduler:
type: SLURM
version: 22.05.8
dns:
type: nis
version: '1.0'
directoryService:
type: nis
version: '1.0'
terraform {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
resource "alicloud_vpc_network" "example" {
lifecycle {
create_before_destroy = true
}
is_default = false
cidr_block = "10.0.0.0/24"
vpc_name = "example-cluster-vpc"
}
resource "alicloud_nas_access_group" "example" {
lifecycle {
create_before_destroy = true
}
access_group_type = "Vpc"
description = var.name
access_group_name = "StandardMountTarget"
file_system_type = "standard"
}
resource "alicloud_nas_file_system" "example" {
lifecycle {
create_before_destroy = true
}
description = "example-cluster-nas"
storage_type = "Capacity"
nfs_acl {
enabled = false
}
zone_id = "cn-hangzhou-k"
encrypt_type = "0"
protocol_type = "NFS"
file_system_type = "standard"
}
resource "alicloud_vpc_switch" "example" {
lifecycle {
create_before_destroy = true
}
is_default = false
vpc_id = alicloud_vpc_network.example.id
zone_id = "cn-hangzhou-k"
cidr_block = "10.0.0.0/24"
vswitch_name = "example-cluster-vsw"
}
resource "alicloud_nas_access_rule" "example" {
lifecycle {
create_before_destroy = true
}
priority = "1"
access_group_name = alicloud_nas_access_group.example.access_group_name
file_system_type = alicloud_nas_file_system.example.file_system_type
source_cidr_ip = "10.0.0.0/24"
}
resource "alicloud_ecs_ecs_key_pair" "example" {
lifecycle {
create_before_destroy = true
}
key_pair_name = var.name
}
resource "alicloud_nas_mount_target" "example" {
lifecycle {
create_before_destroy = true
}
vpc_id = alicloud_vpc_network.example.id
network_type = "Vpc"
access_group_name = alicloud_nas_access_group.example.access_group_name
vswitch_id = alicloud_vpc_switch.example.id
file_system_id = alicloud_nas_file_system.example.id
}
resource "alicloud_ecs_security_group" "example" {
lifecycle {
create_before_destroy = true
}
vpc_id = alicloud_vpc_network.example.id
security_group_type = "normal"
}
resource "alicloud_ehpc_cluster_v2" "default" {
lifecycle {
create_before_destroy = true
}
cluster_credentials {
key_pair_name = alicloud_ecs_ecs_key_pair.example.id
}
cluster_mode = "Integrated"
cluster_vpc_id = alicloud_vpc_network.example.id
deletion_protection = "true"
shared_storages {
mount_directory = "/home"
nas_directory = "/"
mount_target_domain = alicloud_nas_mount_target.example.mount_target_domain
protocol_type = "NFS"
file_system_id = alicloud_nas_file_system.example.id
mount_options = "-t nfs -o vers=3,nolock,proto=tcp,noresvport"
}
shared_storages {
nas_directory = "/"
mount_target_domain = alicloud_nas_mount_target.example.mount_target_domain
protocol_type = "NFS"
file_system_id = alicloud_nas_file_system.example.id
mount_options = "-t nfs -o vers=3,nolock,proto=tcp,noresvport"
mount_directory = "/opt"
}
shared_storages {
mount_options = "-t nfs -o vers=3,nolock,proto=tcp,noresvport"
mount_directory = "/ehpcdata"
nas_directory = "/"
mount_target_domain = alicloud_nas_mount_target.example.mount_target_domain
protocol_type = "NFS"
file_system_id = alicloud_nas_file_system.example.id
}
cluster_vswitch_id = alicloud_vpc_switch.example.id
cluster_category = "Standard"
security_group_id = alicloud_ecs_security_group.example.id
cluster_name = var.name
manager {
manager_node {
spot_strategy = "NoSpot"
system_disk {
category = "cloud_essd"
size = "40"
level = "PL0"
}
enable_ht = "true"
instance_charge_type = "PostPaid"
image_id = "centos_7_6_x64_20G_alibase_20211130.vhd"
instance_type = "ecs.c6.xlarge"
}
scheduler {
type = "SLURM"
version = "22.05.8"
}
dns {
type = "nis"
version = "1.0"
}
directory_service {
type = "nis"
version = "1.0"
}
}
}
variable "name" {
type = string
default = "terraform-example"
}
📚 Need more examples? VIEW MORE EXAMPLES
Create ClusterV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClusterV2(name: string, args: ClusterV2Args, opts?: CustomResourceOptions);@overload
def ClusterV2(resource_name: str,
args: ClusterV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def ClusterV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_credentials: Optional[ClusterV2ClusterCredentialsArgs] = None,
shared_storages: Optional[Sequence[ClusterV2SharedStorageArgs]] = None,
enable_scale_in: Optional[bool] = None,
scheduler_spec: Optional[ClusterV2SchedulerSpecArgs] = None,
client_version: Optional[str] = None,
cluster_custom_configuration: Optional[ClusterV2ClusterCustomConfigurationArgs] = None,
cluster_description: Optional[str] = None,
cluster_mode: Optional[str] = None,
cluster_name: Optional[str] = None,
cluster_vpc_id: Optional[str] = None,
cluster_vswitch_id: Optional[str] = None,
deletion_protection: Optional[bool] = None,
additional_packages: Optional[Sequence[ClusterV2AdditionalPackageArgs]] = None,
enable_scale_out: Optional[bool] = None,
cluster_category: Optional[str] = None,
is_enterprise_security_group: Optional[bool] = None,
grow_interval: Optional[int] = None,
manager: Optional[ClusterV2ManagerArgs] = None,
max_core_count: Optional[int] = None,
max_count: Optional[int] = None,
monitor_spec: Optional[ClusterV2MonitorSpecArgs] = None,
queues: Optional[Sequence[ClusterV2QueueArgs]] = None,
resource_group_id: Optional[str] = None,
idle_interval: Optional[int] = None,
security_group_id: Optional[str] = None,
addons: Optional[Sequence[ClusterV2AddonArgs]] = None,
tags: Optional[Mapping[str, str]] = None)func NewClusterV2(ctx *Context, name string, args ClusterV2Args, opts ...ResourceOption) (*ClusterV2, error)public ClusterV2(string name, ClusterV2Args args, CustomResourceOptions? opts = null)
public ClusterV2(String name, ClusterV2Args args)
public ClusterV2(String name, ClusterV2Args args, CustomResourceOptions options)
type: alicloud:ehpc:ClusterV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_ehpc_cluster_v2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ClusterV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClusterV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClusterV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var clusterV2Resource = new AliCloud.Ehpc.ClusterV2("clusterV2Resource", new()
{
ClusterCredentials = new AliCloud.Ehpc.Inputs.ClusterV2ClusterCredentialsArgs
{
KeyPairName = "string",
Password = "string",
},
SharedStorages = new[]
{
new AliCloud.Ehpc.Inputs.ClusterV2SharedStorageArgs
{
FileSystemId = "string",
MountDirectory = "string",
MountOptions = "string",
MountTargetDomain = "string",
NasDirectory = "string",
ProtocolType = "string",
},
},
EnableScaleIn = false,
SchedulerSpec = new AliCloud.Ehpc.Inputs.ClusterV2SchedulerSpecArgs
{
EnableTopologyAwareness = false,
},
ClientVersion = "string",
ClusterCustomConfiguration = new AliCloud.Ehpc.Inputs.ClusterV2ClusterCustomConfigurationArgs
{
Args = "string",
Script = "string",
},
ClusterDescription = "string",
ClusterMode = "string",
ClusterName = "string",
ClusterVpcId = "string",
ClusterVswitchId = "string",
DeletionProtection = false,
AdditionalPackages = new[]
{
new AliCloud.Ehpc.Inputs.ClusterV2AdditionalPackageArgs
{
Name = "string",
Version = "string",
},
},
EnableScaleOut = false,
ClusterCategory = "string",
IsEnterpriseSecurityGroup = false,
GrowInterval = 0,
Manager = new AliCloud.Ehpc.Inputs.ClusterV2ManagerArgs
{
DirectoryService = new AliCloud.Ehpc.Inputs.ClusterV2ManagerDirectoryServiceArgs
{
Type = "string",
Version = "string",
},
Dns = new AliCloud.Ehpc.Inputs.ClusterV2ManagerDnsArgs
{
Type = "string",
Version = "string",
},
ManagerNode = new AliCloud.Ehpc.Inputs.ClusterV2ManagerManagerNodeArgs
{
AutoRenew = false,
AutoRenewPeriod = 0,
Duration = 0,
EnableHt = false,
ExpiredTime = "string",
ImageId = "string",
InstanceChargeType = "string",
InstanceId = "string",
InstanceType = "string",
Period = 0,
PeriodUnit = "string",
SpotPriceLimit = 0.0,
SpotStrategy = "string",
SystemDisk = new AliCloud.Ehpc.Inputs.ClusterV2ManagerManagerNodeSystemDiskArgs
{
Category = "string",
Level = "string",
Size = 0,
},
},
Scheduler = new AliCloud.Ehpc.Inputs.ClusterV2ManagerSchedulerArgs
{
Type = "string",
Version = "string",
},
},
MaxCoreCount = 0,
MaxCount = 0,
MonitorSpec = new AliCloud.Ehpc.Inputs.ClusterV2MonitorSpecArgs
{
EnableComputeLoadMonitor = false,
},
Queues = new[]
{
new AliCloud.Ehpc.Inputs.ClusterV2QueueArgs
{
AllocationStrategy = "string",
ComputeNodes = new[]
{
new AliCloud.Ehpc.Inputs.ClusterV2QueueComputeNodeArgs
{
AutoRenew = false,
AutoRenewPeriod = 0,
Duration = 0,
EnableHt = false,
ImageId = "string",
InstanceChargeType = "string",
InstanceType = "string",
Period = 0,
PeriodUnit = "string",
SpotPriceLimit = 0.0,
SpotStrategy = "string",
SystemDisk = new AliCloud.Ehpc.Inputs.ClusterV2QueueComputeNodeSystemDiskArgs
{
Category = "string",
Level = "string",
Size = 0,
},
},
},
EnableScaleIn = false,
EnableScaleOut = false,
HostnamePrefix = "string",
HostnameSuffix = "string",
InitialCount = 0,
InterConnect = "string",
KeepAliveNodes = new[]
{
"string",
},
MaxCount = 0,
MaxCountPerCycle = 0,
MinCount = 0,
QueueName = "string",
RamRole = "string",
ReservedNodePoolId = "string",
VswitchIds = new[]
{
"string",
},
},
},
ResourceGroupId = "string",
IdleInterval = 0,
SecurityGroupId = "string",
Addons = new[]
{
new AliCloud.Ehpc.Inputs.ClusterV2AddonArgs
{
Name = "string",
Version = "string",
ResourcesSpec = "string",
ServicesSpec = "string",
},
},
Tags =
{
{ "string", "string" },
},
});
example, err := ehpc.NewClusterV2(ctx, "clusterV2Resource", &ehpc.ClusterV2Args{
ClusterCredentials: &ehpc.ClusterV2ClusterCredentialsArgs{
KeyPairName: pulumi.String("string"),
Password: pulumi.String("string"),
},
SharedStorages: ehpc.ClusterV2SharedStorageArray{
&ehpc.ClusterV2SharedStorageArgs{
FileSystemId: pulumi.String("string"),
MountDirectory: pulumi.String("string"),
MountOptions: pulumi.String("string"),
MountTargetDomain: pulumi.String("string"),
NasDirectory: pulumi.String("string"),
ProtocolType: pulumi.String("string"),
},
},
EnableScaleIn: pulumi.Bool(false),
SchedulerSpec: &ehpc.ClusterV2SchedulerSpecArgs{
EnableTopologyAwareness: pulumi.Bool(false),
},
ClientVersion: pulumi.String("string"),
ClusterCustomConfiguration: &ehpc.ClusterV2ClusterCustomConfigurationArgs{
Args: pulumi.String("string"),
Script: pulumi.String("string"),
},
ClusterDescription: pulumi.String("string"),
ClusterMode: pulumi.String("string"),
ClusterName: pulumi.String("string"),
ClusterVpcId: pulumi.String("string"),
ClusterVswitchId: pulumi.String("string"),
DeletionProtection: pulumi.Bool(false),
AdditionalPackages: ehpc.ClusterV2AdditionalPackageArray{
&ehpc.ClusterV2AdditionalPackageArgs{
Name: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
EnableScaleOut: pulumi.Bool(false),
ClusterCategory: pulumi.String("string"),
IsEnterpriseSecurityGroup: pulumi.Bool(false),
GrowInterval: pulumi.Int(0),
Manager: &ehpc.ClusterV2ManagerArgs{
DirectoryService: &ehpc.ClusterV2ManagerDirectoryServiceArgs{
Type: pulumi.String("string"),
Version: pulumi.String("string"),
},
Dns: &ehpc.ClusterV2ManagerDnsArgs{
Type: pulumi.String("string"),
Version: pulumi.String("string"),
},
ManagerNode: &ehpc.ClusterV2ManagerManagerNodeArgs{
AutoRenew: pulumi.Bool(false),
AutoRenewPeriod: pulumi.Int(0),
Duration: pulumi.Int(0),
EnableHt: pulumi.Bool(false),
ExpiredTime: pulumi.String("string"),
ImageId: pulumi.String("string"),
InstanceChargeType: pulumi.String("string"),
InstanceId: pulumi.String("string"),
InstanceType: pulumi.String("string"),
Period: pulumi.Int(0),
PeriodUnit: pulumi.String("string"),
SpotPriceLimit: pulumi.Float64(0),
SpotStrategy: pulumi.String("string"),
SystemDisk: &ehpc.ClusterV2ManagerManagerNodeSystemDiskArgs{
Category: pulumi.String("string"),
Level: pulumi.String("string"),
Size: pulumi.Int(0),
},
},
Scheduler: &ehpc.ClusterV2ManagerSchedulerArgs{
Type: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
MaxCoreCount: pulumi.Int(0),
MaxCount: pulumi.Int(0),
MonitorSpec: &ehpc.ClusterV2MonitorSpecArgs{
EnableComputeLoadMonitor: pulumi.Bool(false),
},
Queues: ehpc.ClusterV2QueueArray{
&ehpc.ClusterV2QueueArgs{
AllocationStrategy: pulumi.String("string"),
ComputeNodes: ehpc.ClusterV2QueueComputeNodeArray{
&ehpc.ClusterV2QueueComputeNodeArgs{
AutoRenew: pulumi.Bool(false),
AutoRenewPeriod: pulumi.Int(0),
Duration: pulumi.Int(0),
EnableHt: pulumi.Bool(false),
ImageId: pulumi.String("string"),
InstanceChargeType: pulumi.String("string"),
InstanceType: pulumi.String("string"),
Period: pulumi.Int(0),
PeriodUnit: pulumi.String("string"),
SpotPriceLimit: pulumi.Float64(0),
SpotStrategy: pulumi.String("string"),
SystemDisk: &ehpc.ClusterV2QueueComputeNodeSystemDiskArgs{
Category: pulumi.String("string"),
Level: pulumi.String("string"),
Size: pulumi.Int(0),
},
},
},
EnableScaleIn: pulumi.Bool(false),
EnableScaleOut: pulumi.Bool(false),
HostnamePrefix: pulumi.String("string"),
HostnameSuffix: pulumi.String("string"),
InitialCount: pulumi.Int(0),
InterConnect: pulumi.String("string"),
KeepAliveNodes: pulumi.StringArray{
pulumi.String("string"),
},
MaxCount: pulumi.Int(0),
MaxCountPerCycle: pulumi.Int(0),
MinCount: pulumi.Int(0),
QueueName: pulumi.String("string"),
RamRole: pulumi.String("string"),
ReservedNodePoolId: pulumi.String("string"),
VswitchIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ResourceGroupId: pulumi.String("string"),
IdleInterval: pulumi.Int(0),
SecurityGroupId: pulumi.String("string"),
Addons: ehpc.ClusterV2AddonArray{
&ehpc.ClusterV2AddonArgs{
Name: pulumi.String("string"),
Version: pulumi.String("string"),
ResourcesSpec: pulumi.String("string"),
ServicesSpec: pulumi.String("string"),
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "alicloud_ehpc_cluster_v2" "clusterV2Resource" {
lifecycle {
create_before_destroy = true
}
cluster_credentials = {
key_pair_name = "string"
password = "string"
}
shared_storages {
file_system_id = "string"
mount_directory = "string"
mount_options = "string"
mount_target_domain = "string"
nas_directory = "string"
protocol_type = "string"
}
enable_scale_in = false
scheduler_spec = {
enable_topology_awareness = false
}
client_version = "string"
cluster_custom_configuration = {
args = "string"
script = "string"
}
cluster_description = "string"
cluster_mode = "string"
cluster_name = "string"
cluster_vpc_id = "string"
cluster_vswitch_id = "string"
deletion_protection = false
additional_packages {
name = "string"
version = "string"
}
enable_scale_out = false
cluster_category = "string"
is_enterprise_security_group = false
grow_interval = 0
manager = {
directory_service = {
type = "string"
version = "string"
}
dns = {
type = "string"
version = "string"
}
manager_node = {
auto_renew = false
auto_renew_period = 0
duration = 0
enable_ht = false
expired_time = "string"
image_id = "string"
instance_charge_type = "string"
instance_id = "string"
instance_type = "string"
period = 0
period_unit = "string"
spot_price_limit = 0
spot_strategy = "string"
system_disk = {
category = "string"
level = "string"
size = 0
}
}
scheduler = {
type = "string"
version = "string"
}
}
max_core_count = 0
max_count = 0
monitor_spec = {
enable_compute_load_monitor = false
}
queues {
allocation_strategy = "string"
compute_nodes {
auto_renew = false
auto_renew_period = 0
duration = 0
enable_ht = false
image_id = "string"
instance_charge_type = "string"
instance_type = "string"
period = 0
period_unit = "string"
spot_price_limit = 0
spot_strategy = "string"
system_disk = {
category = "string"
level = "string"
size = 0
}
}
enable_scale_in = false
enable_scale_out = false
hostname_prefix = "string"
hostname_suffix = "string"
initial_count = 0
inter_connect = "string"
keep_alive_nodes = ["string"]
max_count = 0
max_count_per_cycle = 0
min_count = 0
queue_name = "string"
ram_role = "string"
reserved_node_pool_id = "string"
vswitch_ids = ["string"]
}
resource_group_id = "string"
idle_interval = 0
security_group_id = "string"
addons {
name = "string"
version = "string"
resources_spec = "string"
services_spec = "string"
}
tags = {
"string" = "string"
}
}
var clusterV2Resource = new ClusterV2("clusterV2Resource", ClusterV2Args.builder()
.clusterCredentials(ClusterV2ClusterCredentialsArgs.builder()
.keyPairName("string")
.password("string")
.build())
.sharedStorages(ClusterV2SharedStorageArgs.builder()
.fileSystemId("string")
.mountDirectory("string")
.mountOptions("string")
.mountTargetDomain("string")
.nasDirectory("string")
.protocolType("string")
.build())
.enableScaleIn(false)
.schedulerSpec(ClusterV2SchedulerSpecArgs.builder()
.enableTopologyAwareness(false)
.build())
.clientVersion("string")
.clusterCustomConfiguration(ClusterV2ClusterCustomConfigurationArgs.builder()
.args("string")
.script("string")
.build())
.clusterDescription("string")
.clusterMode("string")
.clusterName("string")
.clusterVpcId("string")
.clusterVswitchId("string")
.deletionProtection(false)
.additionalPackages(ClusterV2AdditionalPackageArgs.builder()
.name("string")
.version("string")
.build())
.enableScaleOut(false)
.clusterCategory("string")
.isEnterpriseSecurityGroup(false)
.growInterval(0)
.manager(ClusterV2ManagerArgs.builder()
.directoryService(ClusterV2ManagerDirectoryServiceArgs.builder()
.type("string")
.version("string")
.build())
.dns(ClusterV2ManagerDnsArgs.builder()
.type("string")
.version("string")
.build())
.managerNode(ClusterV2ManagerManagerNodeArgs.builder()
.autoRenew(false)
.autoRenewPeriod(0)
.duration(0)
.enableHt(false)
.expiredTime("string")
.imageId("string")
.instanceChargeType("string")
.instanceId("string")
.instanceType("string")
.period(0)
.periodUnit("string")
.spotPriceLimit(0.0)
.spotStrategy("string")
.systemDisk(ClusterV2ManagerManagerNodeSystemDiskArgs.builder()
.category("string")
.level("string")
.size(0)
.build())
.build())
.scheduler(ClusterV2ManagerSchedulerArgs.builder()
.type("string")
.version("string")
.build())
.build())
.maxCoreCount(0)
.maxCount(0)
.monitorSpec(ClusterV2MonitorSpecArgs.builder()
.enableComputeLoadMonitor(false)
.build())
.queues(ClusterV2QueueArgs.builder()
.allocationStrategy("string")
.computeNodes(ClusterV2QueueComputeNodeArgs.builder()
.autoRenew(false)
.autoRenewPeriod(0)
.duration(0)
.enableHt(false)
.imageId("string")
.instanceChargeType("string")
.instanceType("string")
.period(0)
.periodUnit("string")
.spotPriceLimit(0.0)
.spotStrategy("string")
.systemDisk(ClusterV2QueueComputeNodeSystemDiskArgs.builder()
.category("string")
.level("string")
.size(0)
.build())
.build())
.enableScaleIn(false)
.enableScaleOut(false)
.hostnamePrefix("string")
.hostnameSuffix("string")
.initialCount(0)
.interConnect("string")
.keepAliveNodes("string")
.maxCount(0)
.maxCountPerCycle(0)
.minCount(0)
.queueName("string")
.ramRole("string")
.reservedNodePoolId("string")
.vswitchIds("string")
.build())
.resourceGroupId("string")
.idleInterval(0)
.securityGroupId("string")
.addons(ClusterV2AddonArgs.builder()
.name("string")
.version("string")
.resourcesSpec("string")
.servicesSpec("string")
.build())
.tags(Map.of("string", "string"))
.build());
cluster_v2_resource = alicloud.ehpc.ClusterV2("clusterV2Resource",
cluster_credentials={
"key_pair_name": "string",
"password": "string",
},
shared_storages=[{
"file_system_id": "string",
"mount_directory": "string",
"mount_options": "string",
"mount_target_domain": "string",
"nas_directory": "string",
"protocol_type": "string",
}],
enable_scale_in=False,
scheduler_spec={
"enable_topology_awareness": False,
},
client_version="string",
cluster_custom_configuration={
"args": "string",
"script": "string",
},
cluster_description="string",
cluster_mode="string",
cluster_name="string",
cluster_vpc_id="string",
cluster_vswitch_id="string",
deletion_protection=False,
additional_packages=[{
"name": "string",
"version": "string",
}],
enable_scale_out=False,
cluster_category="string",
is_enterprise_security_group=False,
grow_interval=0,
manager={
"directory_service": {
"type": "string",
"version": "string",
},
"dns": {
"type": "string",
"version": "string",
},
"manager_node": {
"auto_renew": False,
"auto_renew_period": 0,
"duration": 0,
"enable_ht": False,
"expired_time": "string",
"image_id": "string",
"instance_charge_type": "string",
"instance_id": "string",
"instance_type": "string",
"period": 0,
"period_unit": "string",
"spot_price_limit": float(0),
"spot_strategy": "string",
"system_disk": {
"category": "string",
"level": "string",
"size": 0,
},
},
"scheduler": {
"type": "string",
"version": "string",
},
},
max_core_count=0,
max_count=0,
monitor_spec={
"enable_compute_load_monitor": False,
},
queues=[{
"allocation_strategy": "string",
"compute_nodes": [{
"auto_renew": False,
"auto_renew_period": 0,
"duration": 0,
"enable_ht": False,
"image_id": "string",
"instance_charge_type": "string",
"instance_type": "string",
"period": 0,
"period_unit": "string",
"spot_price_limit": float(0),
"spot_strategy": "string",
"system_disk": {
"category": "string",
"level": "string",
"size": 0,
},
}],
"enable_scale_in": False,
"enable_scale_out": False,
"hostname_prefix": "string",
"hostname_suffix": "string",
"initial_count": 0,
"inter_connect": "string",
"keep_alive_nodes": ["string"],
"max_count": 0,
"max_count_per_cycle": 0,
"min_count": 0,
"queue_name": "string",
"ram_role": "string",
"reserved_node_pool_id": "string",
"vswitch_ids": ["string"],
}],
resource_group_id="string",
idle_interval=0,
security_group_id="string",
addons=[{
"name": "string",
"version": "string",
"resources_spec": "string",
"services_spec": "string",
}],
tags={
"string": "string",
})
const clusterV2Resource = new alicloud.ehpc.ClusterV2("clusterV2Resource", {
clusterCredentials: {
keyPairName: "string",
password: "string",
},
sharedStorages: [{
fileSystemId: "string",
mountDirectory: "string",
mountOptions: "string",
mountTargetDomain: "string",
nasDirectory: "string",
protocolType: "string",
}],
enableScaleIn: false,
schedulerSpec: {
enableTopologyAwareness: false,
},
clientVersion: "string",
clusterCustomConfiguration: {
args: "string",
script: "string",
},
clusterDescription: "string",
clusterMode: "string",
clusterName: "string",
clusterVpcId: "string",
clusterVswitchId: "string",
deletionProtection: false,
additionalPackages: [{
name: "string",
version: "string",
}],
enableScaleOut: false,
clusterCategory: "string",
isEnterpriseSecurityGroup: false,
growInterval: 0,
manager: {
directoryService: {
type: "string",
version: "string",
},
dns: {
type: "string",
version: "string",
},
managerNode: {
autoRenew: false,
autoRenewPeriod: 0,
duration: 0,
enableHt: false,
expiredTime: "string",
imageId: "string",
instanceChargeType: "string",
instanceId: "string",
instanceType: "string",
period: 0,
periodUnit: "string",
spotPriceLimit: 0,
spotStrategy: "string",
systemDisk: {
category: "string",
level: "string",
size: 0,
},
},
scheduler: {
type: "string",
version: "string",
},
},
maxCoreCount: 0,
maxCount: 0,
monitorSpec: {
enableComputeLoadMonitor: false,
},
queues: [{
allocationStrategy: "string",
computeNodes: [{
autoRenew: false,
autoRenewPeriod: 0,
duration: 0,
enableHt: false,
imageId: "string",
instanceChargeType: "string",
instanceType: "string",
period: 0,
periodUnit: "string",
spotPriceLimit: 0,
spotStrategy: "string",
systemDisk: {
category: "string",
level: "string",
size: 0,
},
}],
enableScaleIn: false,
enableScaleOut: false,
hostnamePrefix: "string",
hostnameSuffix: "string",
initialCount: 0,
interConnect: "string",
keepAliveNodes: ["string"],
maxCount: 0,
maxCountPerCycle: 0,
minCount: 0,
queueName: "string",
ramRole: "string",
reservedNodePoolId: "string",
vswitchIds: ["string"],
}],
resourceGroupId: "string",
idleInterval: 0,
securityGroupId: "string",
addons: [{
name: "string",
version: "string",
resourcesSpec: "string",
servicesSpec: "string",
}],
tags: {
string: "string",
},
});
type: alicloud:ehpc:ClusterV2
properties:
additionalPackages:
- name: string
version: string
addons:
- name: string
resourcesSpec: string
servicesSpec: string
version: string
clientVersion: string
clusterCategory: string
clusterCredentials:
keyPairName: string
password: string
clusterCustomConfiguration:
args: string
script: string
clusterDescription: string
clusterMode: string
clusterName: string
clusterVpcId: string
clusterVswitchId: string
deletionProtection: false
enableScaleIn: false
enableScaleOut: false
growInterval: 0
idleInterval: 0
isEnterpriseSecurityGroup: false
manager:
directoryService:
type: string
version: string
dns:
type: string
version: string
managerNode:
autoRenew: false
autoRenewPeriod: 0
duration: 0
enableHt: false
expiredTime: string
imageId: string
instanceChargeType: string
instanceId: string
instanceType: string
period: 0
periodUnit: string
spotPriceLimit: 0
spotStrategy: string
systemDisk:
category: string
level: string
size: 0
scheduler:
type: string
version: string
maxCoreCount: 0
maxCount: 0
monitorSpec:
enableComputeLoadMonitor: false
queues:
- allocationStrategy: string
computeNodes:
- autoRenew: false
autoRenewPeriod: 0
duration: 0
enableHt: false
imageId: string
instanceChargeType: string
instanceType: string
period: 0
periodUnit: string
spotPriceLimit: 0
spotStrategy: string
systemDisk:
category: string
level: string
size: 0
enableScaleIn: false
enableScaleOut: false
hostnamePrefix: string
hostnameSuffix: string
initialCount: 0
interConnect: string
keepAliveNodes:
- string
maxCount: 0
maxCountPerCycle: 0
minCount: 0
queueName: string
ramRole: string
reservedNodePoolId: string
vswitchIds:
- string
resourceGroupId: string
schedulerSpec:
enableTopologyAwareness: false
securityGroupId: string
sharedStorages:
- fileSystemId: string
mountDirectory: string
mountOptions: string
mountTargetDomain: string
nasDirectory: string
protocolType: string
tags:
string: string
ClusterV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ClusterV2 resource accepts the following input properties:
- Cluster
Credentials Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Cluster Credentials - Security credentials for the cluster. See
clusterCredentialsbelow. -
List<Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster V2Shared Storage> - List of cluster shared storage configurations. See
sharedStoragesbelow. - Additional
Packages List<Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Additional Package> - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - Addons
List<Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster V2Addon> - The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - Client
Version string - The version of the E-HPC client.
- Cluster
Category string - The cluster type. Valid values:
- Standard
- Serverless
- Cluster
Custom Pulumi.Configuration Ali Cloud. Ehpc. Inputs. Cluster V2Cluster Custom Configuration - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - Cluster
Description string - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- Cluster
Mode string - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- Cluster
Name string - The name of the cluster.
- Cluster
Vpc stringId - The ID of the virtual private cloud (VPC) in which the cluster resides.
- Cluster
Vswitch stringId - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - Deletion
Protection bool - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- Enable
Scale boolIn - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- Enable
Scale boolOut - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- Grow
Interval int - The time interval of auto scale-out for the cluster.
- Idle
Interval int - The idle duration of the compute nodes allowed by the cluster.
- Is
Enterprise boolSecurity Group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- Manager
Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster V2Manager - The configurations of the cluster management node. See
managerbelow. - Max
Core intCount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- Max
Count int - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- Monitor
Spec Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Monitor Spec - The monitoring configuration of the cluster. See
monitorSpecbelow. - Queues
List<Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster V2Queue> - The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - Resource
Group stringId - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- Scheduler
Spec Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Scheduler Spec - The scheduler configuration of the cluster. See
schedulerSpecbelow. - Security
Group stringId - The security group ID.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Cluster
Credentials ClusterV2Cluster Credentials Args - Security credentials for the cluster. See
clusterCredentialsbelow. -
[]Cluster
V2Shared Storage Args - List of cluster shared storage configurations. See
sharedStoragesbelow. - Additional
Packages []ClusterV2Additional Package Args - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - Addons
[]Cluster
V2Addon Args - The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - Client
Version string - The version of the E-HPC client.
- Cluster
Category string - The cluster type. Valid values:
- Standard
- Serverless
- Cluster
Custom ClusterConfiguration V2Cluster Custom Configuration Args - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - Cluster
Description string - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- Cluster
Mode string - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- Cluster
Name string - The name of the cluster.
- Cluster
Vpc stringId - The ID of the virtual private cloud (VPC) in which the cluster resides.
- Cluster
Vswitch stringId - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - Deletion
Protection bool - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- Enable
Scale boolIn - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- Enable
Scale boolOut - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- Grow
Interval int - The time interval of auto scale-out for the cluster.
- Idle
Interval int - The idle duration of the compute nodes allowed by the cluster.
- Is
Enterprise boolSecurity Group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- Manager
Cluster
V2Manager Args - The configurations of the cluster management node. See
managerbelow. - Max
Core intCount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- Max
Count int - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- Monitor
Spec ClusterV2Monitor Spec Args - The monitoring configuration of the cluster. See
monitorSpecbelow. - Queues
[]Cluster
V2Queue Args - The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - Resource
Group stringId - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- Scheduler
Spec ClusterV2Scheduler Spec Args - The scheduler configuration of the cluster. See
schedulerSpecbelow. - Security
Group stringId - The security group ID.
- map[string]string
- A mapping of tags to assign to the resource.
- cluster_
credentials object - Security credentials for the cluster. See
clusterCredentialsbelow. - list(object)
- List of cluster shared storage configurations. See
sharedStoragesbelow. - additional_
packages list(object) - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - addons list(object)
- The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - client_
version string - The version of the E-HPC client.
- cluster_
category string - The cluster type. Valid values:
- Standard
- Serverless
- cluster_
custom_ objectconfiguration - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - cluster_
description string - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- cluster_
mode string - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- cluster_
name string - The name of the cluster.
- cluster_
vpc_ stringid - The ID of the virtual private cloud (VPC) in which the cluster resides.
- cluster_
vswitch_ stringid - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - deletion_
protection bool - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- enable_
scale_ boolin - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- enable_
scale_ boolout - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- grow_
interval number - The time interval of auto scale-out for the cluster.
- idle_
interval number - The idle duration of the compute nodes allowed by the cluster.
- is_
enterprise_ boolsecurity_ group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- manager object
- The configurations of the cluster management node. See
managerbelow. - max_
core_ numbercount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- max_
count number - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- monitor_
spec object - The monitoring configuration of the cluster. See
monitorSpecbelow. - queues list(object)
- The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - resource_
group_ stringid - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- scheduler_
spec object - The scheduler configuration of the cluster. See
schedulerSpecbelow. - security_
group_ stringid - The security group ID.
- map(string)
- A mapping of tags to assign to the resource.
- cluster
Credentials ClusterV2Cluster Credentials - Security credentials for the cluster. See
clusterCredentialsbelow. -
List<Cluster
V2Shared Storage> - List of cluster shared storage configurations. See
sharedStoragesbelow. - additional
Packages List<ClusterV2Additional Package> - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - addons
List<Cluster
V2Addon> - The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - client
Version String - The version of the E-HPC client.
- cluster
Category String - The cluster type. Valid values:
- Standard
- Serverless
- cluster
Custom ClusterConfiguration V2Cluster Custom Configuration - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - cluster
Description String - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- cluster
Mode String - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- cluster
Name String - The name of the cluster.
- cluster
Vpc StringId - The ID of the virtual private cloud (VPC) in which the cluster resides.
- cluster
Vswitch StringId - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - deletion
Protection Boolean - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- enable
Scale BooleanIn - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- enable
Scale BooleanOut - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- grow
Interval Integer - The time interval of auto scale-out for the cluster.
- idle
Interval Integer - The idle duration of the compute nodes allowed by the cluster.
- is
Enterprise BooleanSecurity Group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- manager
Cluster
V2Manager - The configurations of the cluster management node. See
managerbelow. - max
Core IntegerCount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- max
Count Integer - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- monitor
Spec ClusterV2Monitor Spec - The monitoring configuration of the cluster. See
monitorSpecbelow. - queues
List<Cluster
V2Queue> - The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - resource
Group StringId - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- scheduler
Spec ClusterV2Scheduler Spec - The scheduler configuration of the cluster. See
schedulerSpecbelow. - security
Group StringId - The security group ID.
- Map<String,String>
- A mapping of tags to assign to the resource.
- cluster
Credentials ClusterV2Cluster Credentials - Security credentials for the cluster. See
clusterCredentialsbelow. -
Cluster
V2Shared Storage[] - List of cluster shared storage configurations. See
sharedStoragesbelow. - additional
Packages ClusterV2Additional Package[] - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - addons
Cluster
V2Addon[] - The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - client
Version string - The version of the E-HPC client.
- cluster
Category string - The cluster type. Valid values:
- Standard
- Serverless
- cluster
Custom ClusterConfiguration V2Cluster Custom Configuration - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - cluster
Description string - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- cluster
Mode string - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- cluster
Name string - The name of the cluster.
- cluster
Vpc stringId - The ID of the virtual private cloud (VPC) in which the cluster resides.
- cluster
Vswitch stringId - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - deletion
Protection boolean - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- enable
Scale booleanIn - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- enable
Scale booleanOut - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- grow
Interval number - The time interval of auto scale-out for the cluster.
- idle
Interval number - The idle duration of the compute nodes allowed by the cluster.
- is
Enterprise booleanSecurity Group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- manager
Cluster
V2Manager - The configurations of the cluster management node. See
managerbelow. - max
Core numberCount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- max
Count number - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- monitor
Spec ClusterV2Monitor Spec - The monitoring configuration of the cluster. See
monitorSpecbelow. - queues
Cluster
V2Queue[] - The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - resource
Group stringId - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- scheduler
Spec ClusterV2Scheduler Spec - The scheduler configuration of the cluster. See
schedulerSpecbelow. - security
Group stringId - The security group ID.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- cluster_
credentials ClusterV2Cluster Credentials Args - Security credentials for the cluster. See
clusterCredentialsbelow. -
Sequence[Cluster
V2Shared Storage Args] - List of cluster shared storage configurations. See
sharedStoragesbelow. - additional_
packages Sequence[ClusterV2Additional Package Args] - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - addons
Sequence[Cluster
V2Addon Args] - The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - client_
version str - The version of the E-HPC client.
- cluster_
category str - The cluster type. Valid values:
- Standard
- Serverless
- cluster_
custom_ Clusterconfiguration V2Cluster Custom Configuration Args - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - cluster_
description str - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- cluster_
mode str - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- cluster_
name str - The name of the cluster.
- cluster_
vpc_ strid - The ID of the virtual private cloud (VPC) in which the cluster resides.
- cluster_
vswitch_ strid - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - deletion_
protection bool - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- enable_
scale_ boolin - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- enable_
scale_ boolout - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- grow_
interval int - The time interval of auto scale-out for the cluster.
- idle_
interval int - The idle duration of the compute nodes allowed by the cluster.
- is_
enterprise_ boolsecurity_ group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- manager
Cluster
V2Manager Args - The configurations of the cluster management node. See
managerbelow. - max_
core_ intcount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- max_
count int - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- monitor_
spec ClusterV2Monitor Spec Args - The monitoring configuration of the cluster. See
monitorSpecbelow. - queues
Sequence[Cluster
V2Queue Args] - The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - resource_
group_ strid - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- scheduler_
spec ClusterV2Scheduler Spec Args - The scheduler configuration of the cluster. See
schedulerSpecbelow. - security_
group_ strid - The security group ID.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- cluster
Credentials Property Map - Security credentials for the cluster. See
clusterCredentialsbelow. - List<Property Map>
- List of cluster shared storage configurations. See
sharedStoragesbelow. - additional
Packages List<Property Map> - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - addons List<Property Map>
- The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - client
Version String - The version of the E-HPC client.
- cluster
Category String - The cluster type. Valid values:
- Standard
- Serverless
- cluster
Custom Property MapConfiguration - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - cluster
Description String - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- cluster
Mode String - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- cluster
Name String - The name of the cluster.
- cluster
Vpc StringId - The ID of the virtual private cloud (VPC) in which the cluster resides.
- cluster
Vswitch StringId - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - deletion
Protection Boolean - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- enable
Scale BooleanIn - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- enable
Scale BooleanOut - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- grow
Interval Number - The time interval of auto scale-out for the cluster.
- idle
Interval Number - The idle duration of the compute nodes allowed by the cluster.
- is
Enterprise BooleanSecurity Group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- manager Property Map
- The configurations of the cluster management node. See
managerbelow. - max
Core NumberCount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- max
Count Number - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- monitor
Spec Property Map - The monitoring configuration of the cluster. See
monitorSpecbelow. - queues List<Property Map>
- The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - resource
Group StringId - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- scheduler
Spec Property Map - The scheduler configuration of the cluster. See
schedulerSpecbelow. - security
Group StringId - The security group ID.
- Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClusterV2 resource produces the following output properties:
- Cluster
Status string - (Available since v1.288.0) The status of the cluster.
- Create
Time string - The time when the cluster was created.
- Ehpc
Version string - (Available since v1.288.0) The version of the E-HPC cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modify
Time string - (Available since v1.288.0) The time when the cluster was modified.
- Cluster
Status string - (Available since v1.288.0) The status of the cluster.
- Create
Time string - The time when the cluster was created.
- Ehpc
Version string - (Available since v1.288.0) The version of the E-HPC cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modify
Time string - (Available since v1.288.0) The time when the cluster was modified.
- cluster_
status string - (Available since v1.288.0) The status of the cluster.
- create_
time string - The time when the cluster was created.
- ehpc_
version string - (Available since v1.288.0) The version of the E-HPC cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- modify_
time string - (Available since v1.288.0) The time when the cluster was modified.
- cluster
Status String - (Available since v1.288.0) The status of the cluster.
- create
Time String - The time when the cluster was created.
- ehpc
Version String - (Available since v1.288.0) The version of the E-HPC cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- modify
Time String - (Available since v1.288.0) The time when the cluster was modified.
- cluster
Status string - (Available since v1.288.0) The status of the cluster.
- create
Time string - The time when the cluster was created.
- ehpc
Version string - (Available since v1.288.0) The version of the E-HPC cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- modify
Time string - (Available since v1.288.0) The time when the cluster was modified.
- cluster_
status str - (Available since v1.288.0) The status of the cluster.
- create_
time str - The time when the cluster was created.
- ehpc_
version str - (Available since v1.288.0) The version of the E-HPC cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- modify_
time str - (Available since v1.288.0) The time when the cluster was modified.
- cluster
Status String - (Available since v1.288.0) The status of the cluster.
- create
Time String - The time when the cluster was created.
- ehpc
Version String - (Available since v1.288.0) The version of the E-HPC cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- modify
Time String - (Available since v1.288.0) The time when the cluster was modified.
Look up Existing ClusterV2 Resource
Get an existing ClusterV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ClusterV2State, opts?: CustomResourceOptions): ClusterV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_packages: Optional[Sequence[ClusterV2AdditionalPackageArgs]] = None,
addons: Optional[Sequence[ClusterV2AddonArgs]] = None,
client_version: Optional[str] = None,
cluster_category: Optional[str] = None,
cluster_credentials: Optional[ClusterV2ClusterCredentialsArgs] = None,
cluster_custom_configuration: Optional[ClusterV2ClusterCustomConfigurationArgs] = None,
cluster_description: Optional[str] = None,
cluster_mode: Optional[str] = None,
cluster_name: Optional[str] = None,
cluster_status: Optional[str] = None,
cluster_vpc_id: Optional[str] = None,
cluster_vswitch_id: Optional[str] = None,
create_time: Optional[str] = None,
deletion_protection: Optional[bool] = None,
ehpc_version: Optional[str] = None,
enable_scale_in: Optional[bool] = None,
enable_scale_out: Optional[bool] = None,
grow_interval: Optional[int] = None,
idle_interval: Optional[int] = None,
is_enterprise_security_group: Optional[bool] = None,
manager: Optional[ClusterV2ManagerArgs] = None,
max_core_count: Optional[int] = None,
max_count: Optional[int] = None,
modify_time: Optional[str] = None,
monitor_spec: Optional[ClusterV2MonitorSpecArgs] = None,
queues: Optional[Sequence[ClusterV2QueueArgs]] = None,
resource_group_id: Optional[str] = None,
scheduler_spec: Optional[ClusterV2SchedulerSpecArgs] = None,
security_group_id: Optional[str] = None,
shared_storages: Optional[Sequence[ClusterV2SharedStorageArgs]] = None,
tags: Optional[Mapping[str, str]] = None) -> ClusterV2func GetClusterV2(ctx *Context, name string, id IDInput, state *ClusterV2State, opts ...ResourceOption) (*ClusterV2, error)public static ClusterV2 Get(string name, Input<string> id, ClusterV2State? state, CustomResourceOptions? opts = null)public static ClusterV2 get(String name, Output<String> id, ClusterV2State state, CustomResourceOptions options)resources: _: type: alicloud:ehpc:ClusterV2 get: id: ${id}import {
to = alicloud_ehpc_cluster_v2.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Additional
Packages List<Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Additional Package> - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - Addons
List<Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster V2Addon> - The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - Client
Version string - The version of the E-HPC client.
- Cluster
Category string - The cluster type. Valid values:
- Standard
- Serverless
- Cluster
Credentials Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Cluster Credentials - Security credentials for the cluster. See
clusterCredentialsbelow. - Cluster
Custom Pulumi.Configuration Ali Cloud. Ehpc. Inputs. Cluster V2Cluster Custom Configuration - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - Cluster
Description string - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- Cluster
Mode string - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- Cluster
Name string - The name of the cluster.
- Cluster
Status string - (Available since v1.288.0) The status of the cluster.
- Cluster
Vpc stringId - The ID of the virtual private cloud (VPC) in which the cluster resides.
- Cluster
Vswitch stringId - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - Create
Time string - The time when the cluster was created.
- Deletion
Protection bool - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- Ehpc
Version string - (Available since v1.288.0) The version of the E-HPC cluster.
- Enable
Scale boolIn - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- Enable
Scale boolOut - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- Grow
Interval int - The time interval of auto scale-out for the cluster.
- Idle
Interval int - The idle duration of the compute nodes allowed by the cluster.
- Is
Enterprise boolSecurity Group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- Manager
Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster V2Manager - The configurations of the cluster management node. See
managerbelow. - Max
Core intCount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- Max
Count int - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- Modify
Time string - (Available since v1.288.0) The time when the cluster was modified.
- Monitor
Spec Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Monitor Spec - The monitoring configuration of the cluster. See
monitorSpecbelow. - Queues
List<Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster V2Queue> - The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - Resource
Group stringId - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- Scheduler
Spec Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Scheduler Spec - The scheduler configuration of the cluster. See
schedulerSpecbelow. - Security
Group stringId - The security group ID.
-
List<Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster V2Shared Storage> - List of cluster shared storage configurations. See
sharedStoragesbelow. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Additional
Packages []ClusterV2Additional Package Args - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - Addons
[]Cluster
V2Addon Args - The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - Client
Version string - The version of the E-HPC client.
- Cluster
Category string - The cluster type. Valid values:
- Standard
- Serverless
- Cluster
Credentials ClusterV2Cluster Credentials Args - Security credentials for the cluster. See
clusterCredentialsbelow. - Cluster
Custom ClusterConfiguration V2Cluster Custom Configuration Args - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - Cluster
Description string - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- Cluster
Mode string - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- Cluster
Name string - The name of the cluster.
- Cluster
Status string - (Available since v1.288.0) The status of the cluster.
- Cluster
Vpc stringId - The ID of the virtual private cloud (VPC) in which the cluster resides.
- Cluster
Vswitch stringId - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - Create
Time string - The time when the cluster was created.
- Deletion
Protection bool - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- Ehpc
Version string - (Available since v1.288.0) The version of the E-HPC cluster.
- Enable
Scale boolIn - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- Enable
Scale boolOut - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- Grow
Interval int - The time interval of auto scale-out for the cluster.
- Idle
Interval int - The idle duration of the compute nodes allowed by the cluster.
- Is
Enterprise boolSecurity Group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- Manager
Cluster
V2Manager Args - The configurations of the cluster management node. See
managerbelow. - Max
Core intCount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- Max
Count int - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- Modify
Time string - (Available since v1.288.0) The time when the cluster was modified.
- Monitor
Spec ClusterV2Monitor Spec Args - The monitoring configuration of the cluster. See
monitorSpecbelow. - Queues
[]Cluster
V2Queue Args - The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - Resource
Group stringId - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- Scheduler
Spec ClusterV2Scheduler Spec Args - The scheduler configuration of the cluster. See
schedulerSpecbelow. - Security
Group stringId - The security group ID.
-
[]Cluster
V2Shared Storage Args - List of cluster shared storage configurations. See
sharedStoragesbelow. - map[string]string
- A mapping of tags to assign to the resource.
- additional_
packages list(object) - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - addons list(object)
- The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - client_
version string - The version of the E-HPC client.
- cluster_
category string - The cluster type. Valid values:
- Standard
- Serverless
- cluster_
credentials object - Security credentials for the cluster. See
clusterCredentialsbelow. - cluster_
custom_ objectconfiguration - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - cluster_
description string - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- cluster_
mode string - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- cluster_
name string - The name of the cluster.
- cluster_
status string - (Available since v1.288.0) The status of the cluster.
- cluster_
vpc_ stringid - The ID of the virtual private cloud (VPC) in which the cluster resides.
- cluster_
vswitch_ stringid - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - create_
time string - The time when the cluster was created.
- deletion_
protection bool - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- ehpc_
version string - (Available since v1.288.0) The version of the E-HPC cluster.
- enable_
scale_ boolin - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- enable_
scale_ boolout - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- grow_
interval number - The time interval of auto scale-out for the cluster.
- idle_
interval number - The idle duration of the compute nodes allowed by the cluster.
- is_
enterprise_ boolsecurity_ group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- manager object
- The configurations of the cluster management node. See
managerbelow. - max_
core_ numbercount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- max_
count number - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- modify_
time string - (Available since v1.288.0) The time when the cluster was modified.
- monitor_
spec object - The monitoring configuration of the cluster. See
monitorSpecbelow. - queues list(object)
- The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - resource_
group_ stringid - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- scheduler_
spec object - The scheduler configuration of the cluster. See
schedulerSpecbelow. - security_
group_ stringid - The security group ID.
- list(object)
- List of cluster shared storage configurations. See
sharedStoragesbelow. - map(string)
- A mapping of tags to assign to the resource.
- additional
Packages List<ClusterV2Additional Package> - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - addons
List<Cluster
V2Addon> - The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - client
Version String - The version of the E-HPC client.
- cluster
Category String - The cluster type. Valid values:
- Standard
- Serverless
- cluster
Credentials ClusterV2Cluster Credentials - Security credentials for the cluster. See
clusterCredentialsbelow. - cluster
Custom ClusterConfiguration V2Cluster Custom Configuration - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - cluster
Description String - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- cluster
Mode String - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- cluster
Name String - The name of the cluster.
- cluster
Status String - (Available since v1.288.0) The status of the cluster.
- cluster
Vpc StringId - The ID of the virtual private cloud (VPC) in which the cluster resides.
- cluster
Vswitch StringId - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - create
Time String - The time when the cluster was created.
- deletion
Protection Boolean - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- ehpc
Version String - (Available since v1.288.0) The version of the E-HPC cluster.
- enable
Scale BooleanIn - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- enable
Scale BooleanOut - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- grow
Interval Integer - The time interval of auto scale-out for the cluster.
- idle
Interval Integer - The idle duration of the compute nodes allowed by the cluster.
- is
Enterprise BooleanSecurity Group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- manager
Cluster
V2Manager - The configurations of the cluster management node. See
managerbelow. - max
Core IntegerCount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- max
Count Integer - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- modify
Time String - (Available since v1.288.0) The time when the cluster was modified.
- monitor
Spec ClusterV2Monitor Spec - The monitoring configuration of the cluster. See
monitorSpecbelow. - queues
List<Cluster
V2Queue> - The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - resource
Group StringId - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- scheduler
Spec ClusterV2Scheduler Spec - The scheduler configuration of the cluster. See
schedulerSpecbelow. - security
Group StringId - The security group ID.
-
List<Cluster
V2Shared Storage> - List of cluster shared storage configurations. See
sharedStoragesbelow. - Map<String,String>
- A mapping of tags to assign to the resource.
- additional
Packages ClusterV2Additional Package[] - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - addons
Cluster
V2Addon[] - The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - client
Version string - The version of the E-HPC client.
- cluster
Category string - The cluster type. Valid values:
- Standard
- Serverless
- cluster
Credentials ClusterV2Cluster Credentials - Security credentials for the cluster. See
clusterCredentialsbelow. - cluster
Custom ClusterConfiguration V2Cluster Custom Configuration - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - cluster
Description string - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- cluster
Mode string - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- cluster
Name string - The name of the cluster.
- cluster
Status string - (Available since v1.288.0) The status of the cluster.
- cluster
Vpc stringId - The ID of the virtual private cloud (VPC) in which the cluster resides.
- cluster
Vswitch stringId - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - create
Time string - The time when the cluster was created.
- deletion
Protection boolean - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- ehpc
Version string - (Available since v1.288.0) The version of the E-HPC cluster.
- enable
Scale booleanIn - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- enable
Scale booleanOut - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- grow
Interval number - The time interval of auto scale-out for the cluster.
- idle
Interval number - The idle duration of the compute nodes allowed by the cluster.
- is
Enterprise booleanSecurity Group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- manager
Cluster
V2Manager - The configurations of the cluster management node. See
managerbelow. - max
Core numberCount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- max
Count number - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- modify
Time string - (Available since v1.288.0) The time when the cluster was modified.
- monitor
Spec ClusterV2Monitor Spec - The monitoring configuration of the cluster. See
monitorSpecbelow. - queues
Cluster
V2Queue[] - The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - resource
Group stringId - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- scheduler
Spec ClusterV2Scheduler Spec - The scheduler configuration of the cluster. See
schedulerSpecbelow. - security
Group stringId - The security group ID.
-
Cluster
V2Shared Storage[] - List of cluster shared storage configurations. See
sharedStoragesbelow. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- additional_
packages Sequence[ClusterV2Additional Package Args] - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - addons
Sequence[Cluster
V2Addon Args] - The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - client_
version str - The version of the E-HPC client.
- cluster_
category str - The cluster type. Valid values:
- Standard
- Serverless
- cluster_
credentials ClusterV2Cluster Credentials Args - Security credentials for the cluster. See
clusterCredentialsbelow. - cluster_
custom_ Clusterconfiguration V2Cluster Custom Configuration Args - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - cluster_
description str - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- cluster_
mode str - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- cluster_
name str - The name of the cluster.
- cluster_
status str - (Available since v1.288.0) The status of the cluster.
- cluster_
vpc_ strid - The ID of the virtual private cloud (VPC) in which the cluster resides.
- cluster_
vswitch_ strid - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - create_
time str - The time when the cluster was created.
- deletion_
protection bool - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- ehpc_
version str - (Available since v1.288.0) The version of the E-HPC cluster.
- enable_
scale_ boolin - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- enable_
scale_ boolout - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- grow_
interval int - The time interval of auto scale-out for the cluster.
- idle_
interval int - The idle duration of the compute nodes allowed by the cluster.
- is_
enterprise_ boolsecurity_ group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- manager
Cluster
V2Manager Args - The configurations of the cluster management node. See
managerbelow. - max_
core_ intcount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- max_
count int - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- modify_
time str - (Available since v1.288.0) The time when the cluster was modified.
- monitor_
spec ClusterV2Monitor Spec Args - The monitoring configuration of the cluster. See
monitorSpecbelow. - queues
Sequence[Cluster
V2Queue Args] - The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - resource_
group_ strid - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- scheduler_
spec ClusterV2Scheduler Spec Args - The scheduler configuration of the cluster. See
schedulerSpecbelow. - security_
group_ strid - The security group ID.
-
Sequence[Cluster
V2Shared Storage Args] - List of cluster shared storage configurations. See
sharedStoragesbelow. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- additional
Packages List<Property Map> - The list of software to be installed on the cluster. The value range of N is 0 to 10. See
additionalPackagesbelow. - addons List<Property Map>
- The cluster custom service component configuration. Only one component is supported. See
addonsbelow. - client
Version String - The version of the E-HPC client.
- cluster
Category String - The cluster type. Valid values:
- Standard
- Serverless
- cluster
Credentials Property Map - Security credentials for the cluster. See
clusterCredentialsbelow. - cluster
Custom Property MapConfiguration - The post-processing script configuration of the cluster. See
clusterCustomConfigurationbelow. - cluster
Description String - The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
- cluster
Mode String - The deployment mode of the cluster. Valid values:
- Integrated
- Hybrid
- Custom
- cluster
Name String - The name of the cluster.
- cluster
Status String - (Available since v1.288.0) The status of the cluster.
- cluster
Vpc StringId - The ID of the virtual private cloud (VPC) in which the cluster resides.
- cluster
Vswitch StringId - The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the
ClusterVpcIdparameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches. - create
Time String - The time when the cluster was created.
- deletion
Protection Boolean - Specifies whether to enable deletion protection for the cluster. Valid values:
- true
- false
- ehpc
Version String - (Available since v1.288.0) The version of the E-HPC cluster.
- enable
Scale BooleanIn - Specifies whether to enable auto scale-in for the cluster. Valid values:
- true
- false
- enable
Scale BooleanOut - Specifies whether to enable auto scale-out for the cluster. Valid values:
- true
- false
- grow
Interval Number - The time interval of auto scale-out for the cluster.
- idle
Interval Number - The idle duration of the compute nodes allowed by the cluster.
- is
Enterprise BooleanSecurity Group - Specifies whether to use an enterprise security group. Valid values:
- true: An enterprise security group is automatically created and used.
- false: A basic security group is automatically created and used.
- manager Property Map
- The configurations of the cluster management node. See
managerbelow. - max
Core NumberCount - The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
- max
Count Number - The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
- modify
Time String - (Available since v1.288.0) The time when the cluster was modified.
- monitor
Spec Property Map - The monitoring configuration of the cluster. See
monitorSpecbelow. - queues List<Property Map>
- The queue configurations of the cluster. The value range of N is 0 to 8. See
queuesbelow. - resource
Group StringId - The ID of the resource group to which the cluster belongs. You can call the ListResourceGroups operation to obtain the IDs of the resource groups.
- scheduler
Spec Property Map - The scheduler configuration of the cluster. See
schedulerSpecbelow. - security
Group StringId - The security group ID.
- List<Property Map>
- List of cluster shared storage configurations. See
sharedStoragesbelow. - Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
ClusterV2AdditionalPackage, ClusterV2AdditionalPackageArgs
ClusterV2Addon, ClusterV2AddonArgs
- Name string
- Customize the specific configuration information of the service component.
- Version string
- Customize the service component version.
- Resources
Spec string - Customize the resource configuration of the service component.
- Services
Spec string - Customize the service configuration of the service component.
- Name string
- Customize the specific configuration information of the service component.
- Version string
- Customize the service component version.
- Resources
Spec string - Customize the resource configuration of the service component.
- Services
Spec string - Customize the service configuration of the service component.
- name string
- Customize the specific configuration information of the service component.
- version string
- Customize the service component version.
- resources_
spec string - Customize the resource configuration of the service component.
- services_
spec string - Customize the service configuration of the service component.
- name String
- Customize the specific configuration information of the service component.
- version String
- Customize the service component version.
- resources
Spec String - Customize the resource configuration of the service component.
- services
Spec String - Customize the service configuration of the service component.
- name string
- Customize the specific configuration information of the service component.
- version string
- Customize the service component version.
- resources
Spec string - Customize the resource configuration of the service component.
- services
Spec string - Customize the service configuration of the service component.
- name str
- Customize the specific configuration information of the service component.
- version str
- Customize the service component version.
- resources_
spec str - Customize the resource configuration of the service component.
- services_
spec str - Customize the service configuration of the service component.
- name String
- Customize the specific configuration information of the service component.
- version String
- Customize the service component version.
- resources
Spec String - Customize the resource configuration of the service component.
- services
Spec String - Customize the service configuration of the service component.
ClusterV2ClusterCredentials, ClusterV2ClusterCredentialsArgs
- Key
Pair stringName - The SSH key of root of the cluster node.
- Password string
- The root password of the cluster node. It is 8 to 20 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. Special symbols can be: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
- Key
Pair stringName - The SSH key of root of the cluster node.
- Password string
- The root password of the cluster node. It is 8 to 20 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. Special symbols can be: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
- key_
pair_ stringname - The SSH key of root of the cluster node.
- password string
- The root password of the cluster node. It is 8 to 20 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. Special symbols can be: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
- key
Pair StringName - The SSH key of root of the cluster node.
- password String
- The root password of the cluster node. It is 8 to 20 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. Special symbols can be: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
- key
Pair stringName - The SSH key of root of the cluster node.
- password string
- The root password of the cluster node. It is 8 to 20 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. Special symbols can be: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
- key_
pair_ strname - The SSH key of root of the cluster node.
- password str
- The root password of the cluster node. It is 8 to 20 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. Special symbols can be: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
- key
Pair StringName - The SSH key of root of the cluster node.
- password String
- The root password of the cluster node. It is 8 to 20 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. Special symbols can be: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
ClusterV2ClusterCustomConfiguration, ClusterV2ClusterCustomConfigurationArgs
ClusterV2Manager, ClusterV2ManagerArgs
- Directory
Service Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Manager Directory Service - The configurations of the domain account service. See
directoryServicebelow. - Dns
Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster V2Manager Dns - The configurations of the domain name resolution service. See
dnsbelow. - Manager
Node Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Manager Manager Node - The hardware configurations of the management node. See
managerNodebelow. - Scheduler
Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster V2Manager Scheduler - The configurations of the scheduler service. See
schedulerbelow.
- Directory
Service ClusterV2Manager Directory Service - The configurations of the domain account service. See
directoryServicebelow. - Dns
Cluster
V2Manager Dns - The configurations of the domain name resolution service. See
dnsbelow. - Manager
Node ClusterV2Manager Manager Node - The hardware configurations of the management node. See
managerNodebelow. - Scheduler
Cluster
V2Manager Scheduler - The configurations of the scheduler service. See
schedulerbelow.
- directory_
service object - The configurations of the domain account service. See
directoryServicebelow. - dns object
- The configurations of the domain name resolution service. See
dnsbelow. - manager_
node object - The hardware configurations of the management node. See
managerNodebelow. - scheduler object
- The configurations of the scheduler service. See
schedulerbelow.
- directory
Service ClusterV2Manager Directory Service - The configurations of the domain account service. See
directoryServicebelow. - dns
Cluster
V2Manager Dns - The configurations of the domain name resolution service. See
dnsbelow. - manager
Node ClusterV2Manager Manager Node - The hardware configurations of the management node. See
managerNodebelow. - scheduler
Cluster
V2Manager Scheduler - The configurations of the scheduler service. See
schedulerbelow.
- directory
Service ClusterV2Manager Directory Service - The configurations of the domain account service. See
directoryServicebelow. - dns
Cluster
V2Manager Dns - The configurations of the domain name resolution service. See
dnsbelow. - manager
Node ClusterV2Manager Manager Node - The hardware configurations of the management node. See
managerNodebelow. - scheduler
Cluster
V2Manager Scheduler - The configurations of the scheduler service. See
schedulerbelow.
- directory_
service ClusterV2Manager Directory Service - The configurations of the domain account service. See
directoryServicebelow. - dns
Cluster
V2Manager Dns - The configurations of the domain name resolution service. See
dnsbelow. - manager_
node ClusterV2Manager Manager Node - The hardware configurations of the management node. See
managerNodebelow. - scheduler
Cluster
V2Manager Scheduler - The configurations of the scheduler service. See
schedulerbelow.
- directory
Service Property Map - The configurations of the domain account service. See
directoryServicebelow. - dns Property Map
- The configurations of the domain name resolution service. See
dnsbelow. - manager
Node Property Map - The hardware configurations of the management node. See
managerNodebelow. - scheduler Property Map
- The configurations of the scheduler service. See
schedulerbelow.
ClusterV2ManagerDirectoryService, ClusterV2ManagerDirectoryServiceArgs
ClusterV2ManagerDns, ClusterV2ManagerDnsArgs
ClusterV2ManagerManagerNode, ClusterV2ManagerManagerNodeArgs
- Auto
Renew bool - Auto
Renew intPeriod - Duration int
- Enable
Ht bool - Expired
Time string - The expiration time of the management node.
- Image
Id string - Instance
Charge stringType - Instance
Id string - The instance ID of the management node.
- Instance
Type string - Period int
- Period
Unit string - Spot
Price doubleLimit - Spot
Strategy string - System
Disk Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Manager Manager Node System Disk
- Auto
Renew bool - Auto
Renew intPeriod - Duration int
- Enable
Ht bool - Expired
Time string - The expiration time of the management node.
- Image
Id string - Instance
Charge stringType - Instance
Id string - The instance ID of the management node.
- Instance
Type string - Period int
- Period
Unit string - Spot
Price float64Limit - Spot
Strategy string - System
Disk ClusterV2Manager Manager Node System Disk
- auto_
renew bool - auto_
renew_ numberperiod - duration number
- enable_
ht bool - expired_
time string - The expiration time of the management node.
- image_
id string - instance_
charge_ stringtype - instance_
id string - The instance ID of the management node.
- instance_
type string - period number
- period_
unit string - spot_
price_ numberlimit - spot_
strategy string - system_
disk object
- auto
Renew Boolean - auto
Renew IntegerPeriod - duration Integer
- enable
Ht Boolean - expired
Time String - The expiration time of the management node.
- image
Id String - instance
Charge StringType - instance
Id String - The instance ID of the management node.
- instance
Type String - period Integer
- period
Unit String - spot
Price DoubleLimit - spot
Strategy String - system
Disk ClusterV2Manager Manager Node System Disk
- auto
Renew boolean - auto
Renew numberPeriod - duration number
- enable
Ht boolean - expired
Time string - The expiration time of the management node.
- image
Id string - instance
Charge stringType - instance
Id string - The instance ID of the management node.
- instance
Type string - period number
- period
Unit string - spot
Price numberLimit - spot
Strategy string - system
Disk ClusterV2Manager Manager Node System Disk
- auto_
renew bool - auto_
renew_ intperiod - duration int
- enable_
ht bool - expired_
time str - The expiration time of the management node.
- image_
id str - instance_
charge_ strtype - instance_
id str - The instance ID of the management node.
- instance_
type str - period int
- period_
unit str - spot_
price_ floatlimit - spot_
strategy str - system_
disk ClusterV2Manager Manager Node System Disk
- auto
Renew Boolean - auto
Renew NumberPeriod - duration Number
- enable
Ht Boolean - expired
Time String - The expiration time of the management node.
- image
Id String - instance
Charge StringType - instance
Id String - The instance ID of the management node.
- instance
Type String - period Number
- period
Unit String - spot
Price NumberLimit - spot
Strategy String - system
Disk Property Map
ClusterV2ManagerManagerNodeSystemDisk, ClusterV2ManagerManagerNodeSystemDiskArgs
ClusterV2ManagerScheduler, ClusterV2ManagerSchedulerArgs
ClusterV2MonitorSpec, ClusterV2MonitorSpecArgs
- Enable
Compute boolLoad Monitor - Specifies whether to enable the monitoring component for the compute nodes. Valid values:
- true
- false
- Enable
Compute boolLoad Monitor - Specifies whether to enable the monitoring component for the compute nodes. Valid values:
- true
- false
- enable_
compute_ boolload_ monitor - Specifies whether to enable the monitoring component for the compute nodes. Valid values:
- true
- false
- enable
Compute BooleanLoad Monitor - Specifies whether to enable the monitoring component for the compute nodes. Valid values:
- true
- false
- enable
Compute booleanLoad Monitor - Specifies whether to enable the monitoring component for the compute nodes. Valid values:
- true
- false
- enable_
compute_ boolload_ monitor - Specifies whether to enable the monitoring component for the compute nodes. Valid values:
- true
- false
- enable
Compute BooleanLoad Monitor - Specifies whether to enable the monitoring component for the compute nodes. Valid values:
- true
- false
ClusterV2Queue, ClusterV2QueueArgs
- Allocation
Strategy string - The auto scale-out strategy of the queue.
- Compute
Nodes List<Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Queue Compute Node> - The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See
computeNodesbelow. - Enable
Scale boolIn - Specifies whether to enable auto scale-in for the queue. Valid values:
- true
- false
- Enable
Scale boolOut - Specifies whether to enable auto scale-out for the queue. Valid values:
- true
- false
- Hostname
Prefix string - The hostname prefix of the compute nodes in the queue.
- Hostname
Suffix string - The hostname suffix of the compute nodes in the queue.
- Initial
Count int - The initial number of compute nodes that the queue retains.
- Inter
Connect string - The network type between the compute nodes in the queue. Valid values:
- vpc
- eRDMA
- Keep
Alive List<string>Nodes - The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
- Max
Count int - The maximum number of compute nodes that the queue can retain.
- Max
Count intPer Cycle - The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
- Min
Count int - The minimum number of compute nodes that the queue retains.
- Queue
Name string - The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
- Ram
Role string - The name of the instance role attached to the compute nodes in the queue.
- Reserved
Node stringPool Id - The ID of the reserved node pool used by the queue.
- Vswitch
Ids List<string> - The list of vSwitches available to the compute nodes in the queue. The value range of N is 1 to 5.
- Allocation
Strategy string - The auto scale-out strategy of the queue.
- Compute
Nodes []ClusterV2Queue Compute Node - The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See
computeNodesbelow. - Enable
Scale boolIn - Specifies whether to enable auto scale-in for the queue. Valid values:
- true
- false
- Enable
Scale boolOut - Specifies whether to enable auto scale-out for the queue. Valid values:
- true
- false
- Hostname
Prefix string - The hostname prefix of the compute nodes in the queue.
- Hostname
Suffix string - The hostname suffix of the compute nodes in the queue.
- Initial
Count int - The initial number of compute nodes that the queue retains.
- Inter
Connect string - The network type between the compute nodes in the queue. Valid values:
- vpc
- eRDMA
- Keep
Alive []stringNodes - The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
- Max
Count int - The maximum number of compute nodes that the queue can retain.
- Max
Count intPer Cycle - The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
- Min
Count int - The minimum number of compute nodes that the queue retains.
- Queue
Name string - The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
- Ram
Role string - The name of the instance role attached to the compute nodes in the queue.
- Reserved
Node stringPool Id - The ID of the reserved node pool used by the queue.
- Vswitch
Ids []string - The list of vSwitches available to the compute nodes in the queue. The value range of N is 1 to 5.
- allocation_
strategy string - The auto scale-out strategy of the queue.
- compute_
nodes list(object) - The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See
computeNodesbelow. - enable_
scale_ boolin - Specifies whether to enable auto scale-in for the queue. Valid values:
- true
- false
- enable_
scale_ boolout - Specifies whether to enable auto scale-out for the queue. Valid values:
- true
- false
- hostname_
prefix string - The hostname prefix of the compute nodes in the queue.
- hostname_
suffix string - The hostname suffix of the compute nodes in the queue.
- initial_
count number - The initial number of compute nodes that the queue retains.
- inter_
connect string - The network type between the compute nodes in the queue. Valid values:
- vpc
- eRDMA
- keep_
alive_ list(string)nodes - The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
- max_
count number - The maximum number of compute nodes that the queue can retain.
- max_
count_ numberper_ cycle - The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
- min_
count number - The minimum number of compute nodes that the queue retains.
- queue_
name string - The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
- ram_
role string - The name of the instance role attached to the compute nodes in the queue.
- reserved_
node_ stringpool_ id - The ID of the reserved node pool used by the queue.
- vswitch_
ids list(string) - The list of vSwitches available to the compute nodes in the queue. The value range of N is 1 to 5.
- allocation
Strategy String - The auto scale-out strategy of the queue.
- compute
Nodes List<ClusterV2Queue Compute Node> - The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See
computeNodesbelow. - enable
Scale BooleanIn - Specifies whether to enable auto scale-in for the queue. Valid values:
- true
- false
- enable
Scale BooleanOut - Specifies whether to enable auto scale-out for the queue. Valid values:
- true
- false
- hostname
Prefix String - The hostname prefix of the compute nodes in the queue.
- hostname
Suffix String - The hostname suffix of the compute nodes in the queue.
- initial
Count Integer - The initial number of compute nodes that the queue retains.
- inter
Connect String - The network type between the compute nodes in the queue. Valid values:
- vpc
- eRDMA
- keep
Alive List<String>Nodes - The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
- max
Count Integer - The maximum number of compute nodes that the queue can retain.
- max
Count IntegerPer Cycle - The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
- min
Count Integer - The minimum number of compute nodes that the queue retains.
- queue
Name String - The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
- ram
Role String - The name of the instance role attached to the compute nodes in the queue.
- reserved
Node StringPool Id - The ID of the reserved node pool used by the queue.
- vswitch
Ids List<String> - The list of vSwitches available to the compute nodes in the queue. The value range of N is 1 to 5.
- allocation
Strategy string - The auto scale-out strategy of the queue.
- compute
Nodes ClusterV2Queue Compute Node[] - The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See
computeNodesbelow. - enable
Scale booleanIn - Specifies whether to enable auto scale-in for the queue. Valid values:
- true
- false
- enable
Scale booleanOut - Specifies whether to enable auto scale-out for the queue. Valid values:
- true
- false
- hostname
Prefix string - The hostname prefix of the compute nodes in the queue.
- hostname
Suffix string - The hostname suffix of the compute nodes in the queue.
- initial
Count number - The initial number of compute nodes that the queue retains.
- inter
Connect string - The network type between the compute nodes in the queue. Valid values:
- vpc
- eRDMA
- keep
Alive string[]Nodes - The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
- max
Count number - The maximum number of compute nodes that the queue can retain.
- max
Count numberPer Cycle - The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
- min
Count number - The minimum number of compute nodes that the queue retains.
- queue
Name string - The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
- ram
Role string - The name of the instance role attached to the compute nodes in the queue.
- reserved
Node stringPool Id - The ID of the reserved node pool used by the queue.
- vswitch
Ids string[] - The list of vSwitches available to the compute nodes in the queue. The value range of N is 1 to 5.
- allocation_
strategy str - The auto scale-out strategy of the queue.
- compute_
nodes Sequence[ClusterV2Queue Compute Node] - The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See
computeNodesbelow. - enable_
scale_ boolin - Specifies whether to enable auto scale-in for the queue. Valid values:
- true
- false
- enable_
scale_ boolout - Specifies whether to enable auto scale-out for the queue. Valid values:
- true
- false
- hostname_
prefix str - The hostname prefix of the compute nodes in the queue.
- hostname_
suffix str - The hostname suffix of the compute nodes in the queue.
- initial_
count int - The initial number of compute nodes that the queue retains.
- inter_
connect str - The network type between the compute nodes in the queue. Valid values:
- vpc
- eRDMA
- keep_
alive_ Sequence[str]nodes - The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
- max_
count int - The maximum number of compute nodes that the queue can retain.
- max_
count_ intper_ cycle - The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
- min_
count int - The minimum number of compute nodes that the queue retains.
- queue_
name str - The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
- ram_
role str - The name of the instance role attached to the compute nodes in the queue.
- reserved_
node_ strpool_ id - The ID of the reserved node pool used by the queue.
- vswitch_
ids Sequence[str] - The list of vSwitches available to the compute nodes in the queue. The value range of N is 1 to 5.
- allocation
Strategy String - The auto scale-out strategy of the queue.
- compute
Nodes List<Property Map> - The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See
computeNodesbelow. - enable
Scale BooleanIn - Specifies whether to enable auto scale-in for the queue. Valid values:
- true
- false
- enable
Scale BooleanOut - Specifies whether to enable auto scale-out for the queue. Valid values:
- true
- false
- hostname
Prefix String - The hostname prefix of the compute nodes in the queue.
- hostname
Suffix String - The hostname suffix of the compute nodes in the queue.
- initial
Count Number - The initial number of compute nodes that the queue retains.
- inter
Connect String - The network type between the compute nodes in the queue. Valid values:
- vpc
- eRDMA
- keep
Alive List<String>Nodes - The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
- max
Count Number - The maximum number of compute nodes that the queue can retain.
- max
Count NumberPer Cycle - The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
- min
Count Number - The minimum number of compute nodes that the queue retains.
- queue
Name String - The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
- ram
Role String - The name of the instance role attached to the compute nodes in the queue.
- reserved
Node StringPool Id - The ID of the reserved node pool used by the queue.
- vswitch
Ids List<String> - The list of vSwitches available to the compute nodes in the queue. The value range of N is 1 to 5.
ClusterV2QueueComputeNode, ClusterV2QueueComputeNodeArgs
- Auto
Renew bool - Auto
Renew intPeriod - Duration int
- Enable
Ht bool - Image
Id string - Instance
Charge stringType - Instance
Type string - Period int
- Period
Unit string - Spot
Price doubleLimit - Spot
Strategy string - System
Disk Pulumi.Ali Cloud. Ehpc. Inputs. Cluster V2Queue Compute Node System Disk
- Auto
Renew bool - Auto
Renew intPeriod - Duration int
- Enable
Ht bool - Image
Id string - Instance
Charge stringType - Instance
Type string - Period int
- Period
Unit string - Spot
Price float64Limit - Spot
Strategy string - System
Disk ClusterV2Queue Compute Node System Disk
- auto_
renew bool - auto_
renew_ numberperiod - duration number
- enable_
ht bool - image_
id string - instance_
charge_ stringtype - instance_
type string - period number
- period_
unit string - spot_
price_ numberlimit - spot_
strategy string - system_
disk object
- auto
Renew Boolean - auto
Renew IntegerPeriod - duration Integer
- enable
Ht Boolean - image
Id String - instance
Charge StringType - instance
Type String - period Integer
- period
Unit String - spot
Price DoubleLimit - spot
Strategy String - system
Disk ClusterV2Queue Compute Node System Disk
- auto
Renew boolean - auto
Renew numberPeriod - duration number
- enable
Ht boolean - image
Id string - instance
Charge stringType - instance
Type string - period number
- period
Unit string - spot
Price numberLimit - spot
Strategy string - system
Disk ClusterV2Queue Compute Node System Disk
- auto_
renew bool - auto_
renew_ intperiod - duration int
- enable_
ht bool - image_
id str - instance_
charge_ strtype - instance_
type str - period int
- period_
unit str - spot_
price_ floatlimit - spot_
strategy str - system_
disk ClusterV2Queue Compute Node System Disk
- auto
Renew Boolean - auto
Renew NumberPeriod - duration Number
- enable
Ht Boolean - image
Id String - instance
Charge StringType - instance
Type String - period Number
- period
Unit String - spot
Price NumberLimit - spot
Strategy String - system
Disk Property Map
ClusterV2QueueComputeNodeSystemDisk, ClusterV2QueueComputeNodeSystemDiskArgs
ClusterV2SchedulerSpec, ClusterV2SchedulerSpecArgs
- Enable
Topology boolAwareness - Specifies whether to enable the topology awareness feature for the cluster. Valid values:
- true
- false
- Enable
Topology boolAwareness - Specifies whether to enable the topology awareness feature for the cluster. Valid values:
- true
- false
- enable_
topology_ boolawareness - Specifies whether to enable the topology awareness feature for the cluster. Valid values:
- true
- false
- enable
Topology BooleanAwareness - Specifies whether to enable the topology awareness feature for the cluster. Valid values:
- true
- false
- enable
Topology booleanAwareness - Specifies whether to enable the topology awareness feature for the cluster. Valid values:
- true
- false
- enable_
topology_ boolawareness - Specifies whether to enable the topology awareness feature for the cluster. Valid values:
- true
- false
- enable
Topology BooleanAwareness - Specifies whether to enable the topology awareness feature for the cluster. Valid values:
- true
- false
ClusterV2SharedStorage, ClusterV2SharedStorageArgs
- File
System stringId - The ID of the mounted file system.
- Mount
Directory string - The local Mount directory where the file system is mounted.
- Mount
Options string - Storage mount options for the mounted file system.
- Mount
Target stringDomain - The mount point address of the mounted file system.
- Nas
Directory string - The remote directory to which the mounted file system needs to be mounted.
- Protocol
Type string - The protocol type of the mounted file system. Value range:
- NFS
- SMB
- File
System stringId - The ID of the mounted file system.
- Mount
Directory string - The local Mount directory where the file system is mounted.
- Mount
Options string - Storage mount options for the mounted file system.
- Mount
Target stringDomain - The mount point address of the mounted file system.
- Nas
Directory string - The remote directory to which the mounted file system needs to be mounted.
- Protocol
Type string - The protocol type of the mounted file system. Value range:
- NFS
- SMB
- file_
system_ stringid - The ID of the mounted file system.
- mount_
directory string - The local Mount directory where the file system is mounted.
- mount_
options string - Storage mount options for the mounted file system.
- mount_
target_ stringdomain - The mount point address of the mounted file system.
- nas_
directory string - The remote directory to which the mounted file system needs to be mounted.
- protocol_
type string - The protocol type of the mounted file system. Value range:
- NFS
- SMB
- file
System StringId - The ID of the mounted file system.
- mount
Directory String - The local Mount directory where the file system is mounted.
- mount
Options String - Storage mount options for the mounted file system.
- mount
Target StringDomain - The mount point address of the mounted file system.
- nas
Directory String - The remote directory to which the mounted file system needs to be mounted.
- protocol
Type String - The protocol type of the mounted file system. Value range:
- NFS
- SMB
- file
System stringId - The ID of the mounted file system.
- mount
Directory string - The local Mount directory where the file system is mounted.
- mount
Options string - Storage mount options for the mounted file system.
- mount
Target stringDomain - The mount point address of the mounted file system.
- nas
Directory string - The remote directory to which the mounted file system needs to be mounted.
- protocol
Type string - The protocol type of the mounted file system. Value range:
- NFS
- SMB
- file_
system_ strid - The ID of the mounted file system.
- mount_
directory str - The local Mount directory where the file system is mounted.
- mount_
options str - Storage mount options for the mounted file system.
- mount_
target_ strdomain - The mount point address of the mounted file system.
- nas_
directory str - The remote directory to which the mounted file system needs to be mounted.
- protocol_
type str - The protocol type of the mounted file system. Value range:
- NFS
- SMB
- file
System StringId - The ID of the mounted file system.
- mount
Directory String - The local Mount directory where the file system is mounted.
- mount
Options String - Storage mount options for the mounted file system.
- mount
Target StringDomain - The mount point address of the mounted file system.
- nas
Directory String - The remote directory to which the mounted file system needs to be mounted.
- protocol
Type String - The protocol type of the mounted file system. Value range:
- NFS
- SMB
Import
Ehpc Cluster V2 can be imported using the id, e.g.
$ pulumi import alicloud:ehpc/clusterV2:ClusterV2 example <cluster_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Tuesday, Oct 27, 2026 by Pulumi