1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. ehpc
  6. ClusterV2
Viewing docs for Alibaba Cloud v4.0.1
published on Tuesday, Oct 27, 2026 by Pulumi
alicloud logo alicloud logo
Viewing docs for Alibaba Cloud v4.0.1
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:

    ClusterCredentials Pulumi.AliCloud.Ehpc.Inputs.ClusterV2ClusterCredentials
    Security credentials for the cluster. See clusterCredentials below.
    SharedStorages List<Pulumi.AliCloud.Ehpc.Inputs.ClusterV2SharedStorage>
    List of cluster shared storage configurations. See sharedStorages below.
    AdditionalPackages List<Pulumi.AliCloud.Ehpc.Inputs.ClusterV2AdditionalPackage>
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    Addons List<Pulumi.AliCloud.Ehpc.Inputs.ClusterV2Addon>
    The cluster custom service component configuration. Only one component is supported. See addons below.
    ClientVersion string
    The version of the E-HPC client.
    ClusterCategory string
    The cluster type. Valid values:

    • Standard
    • Serverless
    ClusterCustomConfiguration Pulumi.AliCloud.Ehpc.Inputs.ClusterV2ClusterCustomConfiguration
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    ClusterDescription string
    The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
    ClusterMode string
    The deployment mode of the cluster. Valid values:

    • Integrated
    • Hybrid
    • Custom
    ClusterName string
    The name of the cluster.
    ClusterVpcId string
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    ClusterVswitchId string
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches.
    DeletionProtection bool
    Specifies whether to enable deletion protection for the cluster. Valid values:

    • true
    • false
    EnableScaleIn bool
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    EnableScaleOut bool
    Specifies whether to enable auto scale-out for the cluster. Valid values:

    • true
    • false
    GrowInterval int
    The time interval of auto scale-out for the cluster.
    IdleInterval int
    The idle duration of the compute nodes allowed by the cluster.
    IsEnterpriseSecurityGroup bool
    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.AliCloud.Ehpc.Inputs.ClusterV2Manager
    The configurations of the cluster management node. See manager below.
    MaxCoreCount int
    The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
    MaxCount int
    The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
    MonitorSpec Pulumi.AliCloud.Ehpc.Inputs.ClusterV2MonitorSpec
    The monitoring configuration of the cluster. See monitorSpec below.
    Queues List<Pulumi.AliCloud.Ehpc.Inputs.ClusterV2Queue>
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    ResourceGroupId string
    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.
    SchedulerSpec Pulumi.AliCloud.Ehpc.Inputs.ClusterV2SchedulerSpec
    The scheduler configuration of the cluster. See schedulerSpec below.
    SecurityGroupId string
    The security group ID.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    ClusterCredentials ClusterV2ClusterCredentialsArgs
    Security credentials for the cluster. See clusterCredentials below.
    SharedStorages []ClusterV2SharedStorageArgs
    List of cluster shared storage configurations. See sharedStorages below.
    AdditionalPackages []ClusterV2AdditionalPackageArgs
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    Addons []ClusterV2AddonArgs
    The cluster custom service component configuration. Only one component is supported. See addons below.
    ClientVersion string
    The version of the E-HPC client.
    ClusterCategory string
    The cluster type. Valid values:

    • Standard
    • Serverless
    ClusterCustomConfiguration ClusterV2ClusterCustomConfigurationArgs
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    ClusterDescription string
    The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
    ClusterMode string
    The deployment mode of the cluster. Valid values:

    • Integrated
    • Hybrid
    • Custom
    ClusterName string
    The name of the cluster.
    ClusterVpcId string
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    ClusterVswitchId string
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches.
    DeletionProtection bool
    Specifies whether to enable deletion protection for the cluster. Valid values:

    • true
    • false
    EnableScaleIn bool
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    EnableScaleOut bool
    Specifies whether to enable auto scale-out for the cluster. Valid values:

    • true
    • false
    GrowInterval int
    The time interval of auto scale-out for the cluster.
    IdleInterval int
    The idle duration of the compute nodes allowed by the cluster.
    IsEnterpriseSecurityGroup bool
    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 ClusterV2ManagerArgs
    The configurations of the cluster management node. See manager below.
    MaxCoreCount int
    The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
    MaxCount int
    The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
    MonitorSpec ClusterV2MonitorSpecArgs
    The monitoring configuration of the cluster. See monitorSpec below.
    Queues []ClusterV2QueueArgs
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    ResourceGroupId string
    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.
    SchedulerSpec ClusterV2SchedulerSpecArgs
    The scheduler configuration of the cluster. See schedulerSpec below.
    SecurityGroupId string
    The security group ID.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    cluster_credentials object
    Security credentials for the cluster. See clusterCredentials below.
    shared_storages list(object)
    List of cluster shared storage configurations. See sharedStorages below.
    additional_packages list(object)
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    addons list(object)
    The cluster custom service component configuration. Only one component is supported. See addons below.
    client_version string
    The version of the E-HPC client.
    cluster_category string
    The cluster type. Valid values:

    • Standard
    • Serverless
    cluster_custom_configuration object
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    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_id string
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    cluster_vswitch_id string
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. 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_in bool
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    enable_scale_out bool
    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_security_group bool
    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 manager below.
    max_core_count number
    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 monitorSpec below.
    queues list(object)
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    resource_group_id string
    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 schedulerSpec below.
    security_group_id string
    The security group ID.
    tags map(string)
    A mapping of tags to assign to the resource.
    clusterCredentials ClusterV2ClusterCredentials
    Security credentials for the cluster. See clusterCredentials below.
    sharedStorages List<ClusterV2SharedStorage>
    List of cluster shared storage configurations. See sharedStorages below.
    additionalPackages List<ClusterV2AdditionalPackage>
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    addons List<ClusterV2Addon>
    The cluster custom service component configuration. Only one component is supported. See addons below.
    clientVersion String
    The version of the E-HPC client.
    clusterCategory String
    The cluster type. Valid values:

    • Standard
    • Serverless
    clusterCustomConfiguration ClusterV2ClusterCustomConfiguration
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    clusterDescription String
    The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
    clusterMode String
    The deployment mode of the cluster. Valid values:

    • Integrated
    • Hybrid
    • Custom
    clusterName String
    The name of the cluster.
    clusterVpcId String
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    clusterVswitchId String
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches.
    deletionProtection Boolean
    Specifies whether to enable deletion protection for the cluster. Valid values:

    • true
    • false
    enableScaleIn Boolean
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    enableScaleOut Boolean
    Specifies whether to enable auto scale-out for the cluster. Valid values:

    • true
    • false
    growInterval Integer
    The time interval of auto scale-out for the cluster.
    idleInterval Integer
    The idle duration of the compute nodes allowed by the cluster.
    isEnterpriseSecurityGroup Boolean
    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 ClusterV2Manager
    The configurations of the cluster management node. See manager below.
    maxCoreCount Integer
    The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
    maxCount Integer
    The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
    monitorSpec ClusterV2MonitorSpec
    The monitoring configuration of the cluster. See monitorSpec below.
    queues List<ClusterV2Queue>
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    resourceGroupId String
    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.
    schedulerSpec ClusterV2SchedulerSpec
    The scheduler configuration of the cluster. See schedulerSpec below.
    securityGroupId String
    The security group ID.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    clusterCredentials ClusterV2ClusterCredentials
    Security credentials for the cluster. See clusterCredentials below.
    sharedStorages ClusterV2SharedStorage[]
    List of cluster shared storage configurations. See sharedStorages below.
    additionalPackages ClusterV2AdditionalPackage[]
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    addons ClusterV2Addon[]
    The cluster custom service component configuration. Only one component is supported. See addons below.
    clientVersion string
    The version of the E-HPC client.
    clusterCategory string
    The cluster type. Valid values:

    • Standard
    • Serverless
    clusterCustomConfiguration ClusterV2ClusterCustomConfiguration
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    clusterDescription string
    The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
    clusterMode string
    The deployment mode of the cluster. Valid values:

    • Integrated
    • Hybrid
    • Custom
    clusterName string
    The name of the cluster.
    clusterVpcId string
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    clusterVswitchId string
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches.
    deletionProtection boolean
    Specifies whether to enable deletion protection for the cluster. Valid values:

    • true
    • false
    enableScaleIn boolean
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    enableScaleOut boolean
    Specifies whether to enable auto scale-out for the cluster. Valid values:

    • true
    • false
    growInterval number
    The time interval of auto scale-out for the cluster.
    idleInterval number
    The idle duration of the compute nodes allowed by the cluster.
    isEnterpriseSecurityGroup boolean
    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 ClusterV2Manager
    The configurations of the cluster management node. See manager below.
    maxCoreCount number
    The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
    maxCount number
    The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
    monitorSpec ClusterV2MonitorSpec
    The monitoring configuration of the cluster. See monitorSpec below.
    queues ClusterV2Queue[]
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    resourceGroupId string
    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.
    schedulerSpec ClusterV2SchedulerSpec
    The scheduler configuration of the cluster. See schedulerSpec below.
    securityGroupId string
    The security group ID.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    cluster_credentials ClusterV2ClusterCredentialsArgs
    Security credentials for the cluster. See clusterCredentials below.
    shared_storages Sequence[ClusterV2SharedStorageArgs]
    List of cluster shared storage configurations. See sharedStorages below.
    additional_packages Sequence[ClusterV2AdditionalPackageArgs]
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    addons Sequence[ClusterV2AddonArgs]
    The cluster custom service component configuration. Only one component is supported. See addons below.
    client_version str
    The version of the E-HPC client.
    cluster_category str
    The cluster type. Valid values:

    • Standard
    • Serverless
    cluster_custom_configuration ClusterV2ClusterCustomConfigurationArgs
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    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_id str
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    cluster_vswitch_id str
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. 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_in bool
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    enable_scale_out bool
    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_security_group bool
    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 ClusterV2ManagerArgs
    The configurations of the cluster management node. See manager below.
    max_core_count int
    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 ClusterV2MonitorSpecArgs
    The monitoring configuration of the cluster. See monitorSpec below.
    queues Sequence[ClusterV2QueueArgs]
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    resource_group_id str
    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 ClusterV2SchedulerSpecArgs
    The scheduler configuration of the cluster. See schedulerSpec below.
    security_group_id str
    The security group ID.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    clusterCredentials Property Map
    Security credentials for the cluster. See clusterCredentials below.
    sharedStorages List<Property Map>
    List of cluster shared storage configurations. See sharedStorages below.
    additionalPackages List<Property Map>
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    addons List<Property Map>
    The cluster custom service component configuration. Only one component is supported. See addons below.
    clientVersion String
    The version of the E-HPC client.
    clusterCategory String
    The cluster type. Valid values:

    • Standard
    • Serverless
    clusterCustomConfiguration Property Map
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    clusterDescription String
    The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
    clusterMode String
    The deployment mode of the cluster. Valid values:

    • Integrated
    • Hybrid
    • Custom
    clusterName String
    The name of the cluster.
    clusterVpcId String
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    clusterVswitchId String
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches.
    deletionProtection Boolean
    Specifies whether to enable deletion protection for the cluster. Valid values:

    • true
    • false
    enableScaleIn Boolean
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    enableScaleOut Boolean
    Specifies whether to enable auto scale-out for the cluster. Valid values:

    • true
    • false
    growInterval Number
    The time interval of auto scale-out for the cluster.
    idleInterval Number
    The idle duration of the compute nodes allowed by the cluster.
    isEnterpriseSecurityGroup Boolean
    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 manager below.
    maxCoreCount Number
    The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
    maxCount Number
    The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
    monitorSpec Property Map
    The monitoring configuration of the cluster. See monitorSpec below.
    queues List<Property Map>
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    resourceGroupId String
    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.
    schedulerSpec Property Map
    The scheduler configuration of the cluster. See schedulerSpec below.
    securityGroupId String
    The security group ID.
    tags 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:

    ClusterStatus string
    (Available since v1.288.0) The status of the cluster.
    CreateTime string
    The time when the cluster was created.
    EhpcVersion string
    (Available since v1.288.0) The version of the E-HPC cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifyTime string
    (Available since v1.288.0) The time when the cluster was modified.
    ClusterStatus string
    (Available since v1.288.0) The status of the cluster.
    CreateTime string
    The time when the cluster was created.
    EhpcVersion string
    (Available since v1.288.0) The version of the E-HPC cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifyTime 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.
    clusterStatus String
    (Available since v1.288.0) The status of the cluster.
    createTime String
    The time when the cluster was created.
    ehpcVersion String
    (Available since v1.288.0) The version of the E-HPC cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    modifyTime String
    (Available since v1.288.0) The time when the cluster was modified.
    clusterStatus string
    (Available since v1.288.0) The status of the cluster.
    createTime string
    The time when the cluster was created.
    ehpcVersion string
    (Available since v1.288.0) The version of the E-HPC cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    modifyTime 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.
    clusterStatus String
    (Available since v1.288.0) The status of the cluster.
    createTime String
    The time when the cluster was created.
    ehpcVersion String
    (Available since v1.288.0) The version of the E-HPC cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    modifyTime 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) -> ClusterV2
    func 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.
    The following state arguments are supported:
    AdditionalPackages List<Pulumi.AliCloud.Ehpc.Inputs.ClusterV2AdditionalPackage>
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    Addons List<Pulumi.AliCloud.Ehpc.Inputs.ClusterV2Addon>
    The cluster custom service component configuration. Only one component is supported. See addons below.
    ClientVersion string
    The version of the E-HPC client.
    ClusterCategory string
    The cluster type. Valid values:

    • Standard
    • Serverless
    ClusterCredentials Pulumi.AliCloud.Ehpc.Inputs.ClusterV2ClusterCredentials
    Security credentials for the cluster. See clusterCredentials below.
    ClusterCustomConfiguration Pulumi.AliCloud.Ehpc.Inputs.ClusterV2ClusterCustomConfiguration
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    ClusterDescription string
    The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
    ClusterMode string
    The deployment mode of the cluster. Valid values:

    • Integrated
    • Hybrid
    • Custom
    ClusterName string
    The name of the cluster.
    ClusterStatus string
    (Available since v1.288.0) The status of the cluster.
    ClusterVpcId string
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    ClusterVswitchId string
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches.
    CreateTime string
    The time when the cluster was created.
    DeletionProtection bool
    Specifies whether to enable deletion protection for the cluster. Valid values:

    • true
    • false
    EhpcVersion string
    (Available since v1.288.0) The version of the E-HPC cluster.
    EnableScaleIn bool
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    EnableScaleOut bool
    Specifies whether to enable auto scale-out for the cluster. Valid values:

    • true
    • false
    GrowInterval int
    The time interval of auto scale-out for the cluster.
    IdleInterval int
    The idle duration of the compute nodes allowed by the cluster.
    IsEnterpriseSecurityGroup bool
    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.AliCloud.Ehpc.Inputs.ClusterV2Manager
    The configurations of the cluster management node. See manager below.
    MaxCoreCount int
    The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
    MaxCount int
    The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
    ModifyTime string
    (Available since v1.288.0) The time when the cluster was modified.
    MonitorSpec Pulumi.AliCloud.Ehpc.Inputs.ClusterV2MonitorSpec
    The monitoring configuration of the cluster. See monitorSpec below.
    Queues List<Pulumi.AliCloud.Ehpc.Inputs.ClusterV2Queue>
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    ResourceGroupId string
    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.
    SchedulerSpec Pulumi.AliCloud.Ehpc.Inputs.ClusterV2SchedulerSpec
    The scheduler configuration of the cluster. See schedulerSpec below.
    SecurityGroupId string
    The security group ID.
    SharedStorages List<Pulumi.AliCloud.Ehpc.Inputs.ClusterV2SharedStorage>
    List of cluster shared storage configurations. See sharedStorages below.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    AdditionalPackages []ClusterV2AdditionalPackageArgs
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    Addons []ClusterV2AddonArgs
    The cluster custom service component configuration. Only one component is supported. See addons below.
    ClientVersion string
    The version of the E-HPC client.
    ClusterCategory string
    The cluster type. Valid values:

    • Standard
    • Serverless
    ClusterCredentials ClusterV2ClusterCredentialsArgs
    Security credentials for the cluster. See clusterCredentials below.
    ClusterCustomConfiguration ClusterV2ClusterCustomConfigurationArgs
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    ClusterDescription string
    The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
    ClusterMode string
    The deployment mode of the cluster. Valid values:

    • Integrated
    • Hybrid
    • Custom
    ClusterName string
    The name of the cluster.
    ClusterStatus string
    (Available since v1.288.0) The status of the cluster.
    ClusterVpcId string
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    ClusterVswitchId string
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches.
    CreateTime string
    The time when the cluster was created.
    DeletionProtection bool
    Specifies whether to enable deletion protection for the cluster. Valid values:

    • true
    • false
    EhpcVersion string
    (Available since v1.288.0) The version of the E-HPC cluster.
    EnableScaleIn bool
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    EnableScaleOut bool
    Specifies whether to enable auto scale-out for the cluster. Valid values:

    • true
    • false
    GrowInterval int
    The time interval of auto scale-out for the cluster.
    IdleInterval int
    The idle duration of the compute nodes allowed by the cluster.
    IsEnterpriseSecurityGroup bool
    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 ClusterV2ManagerArgs
    The configurations of the cluster management node. See manager below.
    MaxCoreCount int
    The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
    MaxCount int
    The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
    ModifyTime string
    (Available since v1.288.0) The time when the cluster was modified.
    MonitorSpec ClusterV2MonitorSpecArgs
    The monitoring configuration of the cluster. See monitorSpec below.
    Queues []ClusterV2QueueArgs
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    ResourceGroupId string
    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.
    SchedulerSpec ClusterV2SchedulerSpecArgs
    The scheduler configuration of the cluster. See schedulerSpec below.
    SecurityGroupId string
    The security group ID.
    SharedStorages []ClusterV2SharedStorageArgs
    List of cluster shared storage configurations. See sharedStorages below.
    Tags 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 additionalPackages below.
    addons list(object)
    The cluster custom service component configuration. Only one component is supported. See addons below.
    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 clusterCredentials below.
    cluster_custom_configuration object
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    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_id string
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    cluster_vswitch_id string
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. 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_in bool
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    enable_scale_out bool
    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_security_group bool
    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 manager below.
    max_core_count number
    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 monitorSpec below.
    queues list(object)
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    resource_group_id string
    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 schedulerSpec below.
    security_group_id string
    The security group ID.
    shared_storages list(object)
    List of cluster shared storage configurations. See sharedStorages below.
    tags map(string)
    A mapping of tags to assign to the resource.
    additionalPackages List<ClusterV2AdditionalPackage>
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    addons List<ClusterV2Addon>
    The cluster custom service component configuration. Only one component is supported. See addons below.
    clientVersion String
    The version of the E-HPC client.
    clusterCategory String
    The cluster type. Valid values:

    • Standard
    • Serverless
    clusterCredentials ClusterV2ClusterCredentials
    Security credentials for the cluster. See clusterCredentials below.
    clusterCustomConfiguration ClusterV2ClusterCustomConfiguration
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    clusterDescription String
    The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
    clusterMode String
    The deployment mode of the cluster. Valid values:

    • Integrated
    • Hybrid
    • Custom
    clusterName String
    The name of the cluster.
    clusterStatus String
    (Available since v1.288.0) The status of the cluster.
    clusterVpcId String
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    clusterVswitchId String
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches.
    createTime String
    The time when the cluster was created.
    deletionProtection Boolean
    Specifies whether to enable deletion protection for the cluster. Valid values:

    • true
    • false
    ehpcVersion String
    (Available since v1.288.0) The version of the E-HPC cluster.
    enableScaleIn Boolean
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    enableScaleOut Boolean
    Specifies whether to enable auto scale-out for the cluster. Valid values:

    • true
    • false
    growInterval Integer
    The time interval of auto scale-out for the cluster.
    idleInterval Integer
    The idle duration of the compute nodes allowed by the cluster.
    isEnterpriseSecurityGroup Boolean
    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 ClusterV2Manager
    The configurations of the cluster management node. See manager below.
    maxCoreCount Integer
    The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
    maxCount Integer
    The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
    modifyTime String
    (Available since v1.288.0) The time when the cluster was modified.
    monitorSpec ClusterV2MonitorSpec
    The monitoring configuration of the cluster. See monitorSpec below.
    queues List<ClusterV2Queue>
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    resourceGroupId String
    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.
    schedulerSpec ClusterV2SchedulerSpec
    The scheduler configuration of the cluster. See schedulerSpec below.
    securityGroupId String
    The security group ID.
    sharedStorages List<ClusterV2SharedStorage>
    List of cluster shared storage configurations. See sharedStorages below.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    additionalPackages ClusterV2AdditionalPackage[]
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    addons ClusterV2Addon[]
    The cluster custom service component configuration. Only one component is supported. See addons below.
    clientVersion string
    The version of the E-HPC client.
    clusterCategory string
    The cluster type. Valid values:

    • Standard
    • Serverless
    clusterCredentials ClusterV2ClusterCredentials
    Security credentials for the cluster. See clusterCredentials below.
    clusterCustomConfiguration ClusterV2ClusterCustomConfiguration
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    clusterDescription string
    The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
    clusterMode string
    The deployment mode of the cluster. Valid values:

    • Integrated
    • Hybrid
    • Custom
    clusterName string
    The name of the cluster.
    clusterStatus string
    (Available since v1.288.0) The status of the cluster.
    clusterVpcId string
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    clusterVswitchId string
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches.
    createTime string
    The time when the cluster was created.
    deletionProtection boolean
    Specifies whether to enable deletion protection for the cluster. Valid values:

    • true
    • false
    ehpcVersion string
    (Available since v1.288.0) The version of the E-HPC cluster.
    enableScaleIn boolean
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    enableScaleOut boolean
    Specifies whether to enable auto scale-out for the cluster. Valid values:

    • true
    • false
    growInterval number
    The time interval of auto scale-out for the cluster.
    idleInterval number
    The idle duration of the compute nodes allowed by the cluster.
    isEnterpriseSecurityGroup boolean
    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 ClusterV2Manager
    The configurations of the cluster management node. See manager below.
    maxCoreCount number
    The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
    maxCount number
    The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
    modifyTime string
    (Available since v1.288.0) The time when the cluster was modified.
    monitorSpec ClusterV2MonitorSpec
    The monitoring configuration of the cluster. See monitorSpec below.
    queues ClusterV2Queue[]
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    resourceGroupId string
    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.
    schedulerSpec ClusterV2SchedulerSpec
    The scheduler configuration of the cluster. See schedulerSpec below.
    securityGroupId string
    The security group ID.
    sharedStorages ClusterV2SharedStorage[]
    List of cluster shared storage configurations. See sharedStorages below.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    additional_packages Sequence[ClusterV2AdditionalPackageArgs]
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    addons Sequence[ClusterV2AddonArgs]
    The cluster custom service component configuration. Only one component is supported. See addons below.
    client_version str
    The version of the E-HPC client.
    cluster_category str
    The cluster type. Valid values:

    • Standard
    • Serverless
    cluster_credentials ClusterV2ClusterCredentialsArgs
    Security credentials for the cluster. See clusterCredentials below.
    cluster_custom_configuration ClusterV2ClusterCustomConfigurationArgs
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    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_id str
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    cluster_vswitch_id str
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. 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_in bool
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    enable_scale_out bool
    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_security_group bool
    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 ClusterV2ManagerArgs
    The configurations of the cluster management node. See manager below.
    max_core_count int
    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 ClusterV2MonitorSpecArgs
    The monitoring configuration of the cluster. See monitorSpec below.
    queues Sequence[ClusterV2QueueArgs]
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    resource_group_id str
    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 ClusterV2SchedulerSpecArgs
    The scheduler configuration of the cluster. See schedulerSpec below.
    security_group_id str
    The security group ID.
    shared_storages Sequence[ClusterV2SharedStorageArgs]
    List of cluster shared storage configurations. See sharedStorages below.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    additionalPackages List<Property Map>
    The list of software to be installed on the cluster. The value range of N is 0 to 10. See additionalPackages below.
    addons List<Property Map>
    The cluster custom service component configuration. Only one component is supported. See addons below.
    clientVersion String
    The version of the E-HPC client.
    clusterCategory String
    The cluster type. Valid values:

    • Standard
    • Serverless
    clusterCredentials Property Map
    Security credentials for the cluster. See clusterCredentials below.
    clusterCustomConfiguration Property Map
    The post-processing script configuration of the cluster. See clusterCustomConfiguration below.
    clusterDescription String
    The description of the cluster. The description must be 2 to 128 characters in length. It can contain letters, digits, hyphens (-), and underscores (_).
    clusterMode String
    The deployment mode of the cluster. Valid values:

    • Integrated
    • Hybrid
    • Custom
    clusterName String
    The name of the cluster.
    clusterStatus String
    (Available since v1.288.0) The status of the cluster.
    clusterVpcId String
    The ID of the virtual private cloud (VPC) in which the cluster resides.
    clusterVswitchId String
    The ID of the vSwitch that you want the cluster to use. The vSwitch must reside in the VPC that is specified by the ClusterVpcId parameter. You can call the DescribeVpcs operation to query information about the created VPCs and vSwitches.
    createTime String
    The time when the cluster was created.
    deletionProtection Boolean
    Specifies whether to enable deletion protection for the cluster. Valid values:

    • true
    • false
    ehpcVersion String
    (Available since v1.288.0) The version of the E-HPC cluster.
    enableScaleIn Boolean
    Specifies whether to enable auto scale-in for the cluster. Valid values:

    • true
    • false
    enableScaleOut Boolean
    Specifies whether to enable auto scale-out for the cluster. Valid values:

    • true
    • false
    growInterval Number
    The time interval of auto scale-out for the cluster.
    idleInterval Number
    The idle duration of the compute nodes allowed by the cluster.
    isEnterpriseSecurityGroup Boolean
    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 manager below.
    maxCoreCount Number
    The total number of CPU cores of the compute nodes that the cluster can manage. Valid values: 0 to 100000.
    maxCount Number
    The number of compute nodes that the cluster can manage. Valid values: 0 to 5000.
    modifyTime String
    (Available since v1.288.0) The time when the cluster was modified.
    monitorSpec Property Map
    The monitoring configuration of the cluster. See monitorSpec below.
    queues List<Property Map>
    The queue configurations of the cluster. The value range of N is 0 to 8. See queues below.
    resourceGroupId String
    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.
    schedulerSpec Property Map
    The scheduler configuration of the cluster. See schedulerSpec below.
    securityGroupId String
    The security group ID.
    sharedStorages List<Property Map>
    List of cluster shared storage configurations. See sharedStorages below.
    tags Map<String>
    A mapping of tags to assign to the resource.

    Supporting Types

    ClusterV2AdditionalPackage, ClusterV2AdditionalPackageArgs

    Name string
    The name of the software to be installed.
    Version string
    The version of the software to be installed.
    Name string
    The name of the software to be installed.
    Version string
    The version of the software to be installed.
    name string
    The name of the software to be installed.
    version string
    The version of the software to be installed.
    name String
    The name of the software to be installed.
    version String
    The version of the software to be installed.
    name string
    The name of the software to be installed.
    version string
    The version of the software to be installed.
    name str
    The name of the software to be installed.
    version str
    The version of the software to be installed.
    name String
    The name of the software to be installed.
    version String
    The version of the software to be installed.

    ClusterV2Addon, ClusterV2AddonArgs

    Name string
    Customize the specific configuration information of the service component.
    Version string
    Customize the service component version.
    ResourcesSpec string
    Customize the resource configuration of the service component.
    ServicesSpec 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.
    ResourcesSpec string
    Customize the resource configuration of the service component.
    ServicesSpec 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.
    resourcesSpec String
    Customize the resource configuration of the service component.
    servicesSpec 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.
    resourcesSpec string
    Customize the resource configuration of the service component.
    servicesSpec 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.
    resourcesSpec String
    Customize the resource configuration of the service component.
    servicesSpec String
    Customize the service configuration of the service component.

    ClusterV2ClusterCredentials, ClusterV2ClusterCredentialsArgs

    KeyPairName string
    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: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
    KeyPairName string
    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_name string
    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: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
    keyPairName String
    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: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
    keyPairName string
    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_name str
    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: () ~! @ # $ % ^ & * - = + { } [ ] : ; ',. ? /
    keyPairName String
    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

    Args string
    The execution parameters of the post-processing script.
    Script string
    The download URL of the post-processing script.
    Args string
    The execution parameters of the post-processing script.
    Script string
    The download URL of the post-processing script.
    args string
    The execution parameters of the post-processing script.
    script string
    The download URL of the post-processing script.
    args String
    The execution parameters of the post-processing script.
    script String
    The download URL of the post-processing script.
    args string
    The execution parameters of the post-processing script.
    script string
    The download URL of the post-processing script.
    args str
    The execution parameters of the post-processing script.
    script str
    The download URL of the post-processing script.
    args String
    The execution parameters of the post-processing script.
    script String
    The download URL of the post-processing script.

    ClusterV2Manager, ClusterV2ManagerArgs

    DirectoryService Pulumi.AliCloud.Ehpc.Inputs.ClusterV2ManagerDirectoryService
    The configurations of the domain account service. See directoryService below.
    Dns Pulumi.AliCloud.Ehpc.Inputs.ClusterV2ManagerDns
    The configurations of the domain name resolution service. See dns below.
    ManagerNode Pulumi.AliCloud.Ehpc.Inputs.ClusterV2ManagerManagerNode
    The hardware configurations of the management node. See managerNode below.
    Scheduler Pulumi.AliCloud.Ehpc.Inputs.ClusterV2ManagerScheduler
    The configurations of the scheduler service. See scheduler below.
    DirectoryService ClusterV2ManagerDirectoryService
    The configurations of the domain account service. See directoryService below.
    Dns ClusterV2ManagerDns
    The configurations of the domain name resolution service. See dns below.
    ManagerNode ClusterV2ManagerManagerNode
    The hardware configurations of the management node. See managerNode below.
    Scheduler ClusterV2ManagerScheduler
    The configurations of the scheduler service. See scheduler below.
    directory_service object
    The configurations of the domain account service. See directoryService below.
    dns object
    The configurations of the domain name resolution service. See dns below.
    manager_node object
    The hardware configurations of the management node. See managerNode below.
    scheduler object
    The configurations of the scheduler service. See scheduler below.
    directoryService ClusterV2ManagerDirectoryService
    The configurations of the domain account service. See directoryService below.
    dns ClusterV2ManagerDns
    The configurations of the domain name resolution service. See dns below.
    managerNode ClusterV2ManagerManagerNode
    The hardware configurations of the management node. See managerNode below.
    scheduler ClusterV2ManagerScheduler
    The configurations of the scheduler service. See scheduler below.
    directoryService ClusterV2ManagerDirectoryService
    The configurations of the domain account service. See directoryService below.
    dns ClusterV2ManagerDns
    The configurations of the domain name resolution service. See dns below.
    managerNode ClusterV2ManagerManagerNode
    The hardware configurations of the management node. See managerNode below.
    scheduler ClusterV2ManagerScheduler
    The configurations of the scheduler service. See scheduler below.
    directory_service ClusterV2ManagerDirectoryService
    The configurations of the domain account service. See directoryService below.
    dns ClusterV2ManagerDns
    The configurations of the domain name resolution service. See dns below.
    manager_node ClusterV2ManagerManagerNode
    The hardware configurations of the management node. See managerNode below.
    scheduler ClusterV2ManagerScheduler
    The configurations of the scheduler service. See scheduler below.
    directoryService Property Map
    The configurations of the domain account service. See directoryService below.
    dns Property Map
    The configurations of the domain name resolution service. See dns below.
    managerNode Property Map
    The hardware configurations of the management node. See managerNode below.
    scheduler Property Map
    The configurations of the scheduler service. See scheduler below.

    ClusterV2ManagerDirectoryService, ClusterV2ManagerDirectoryServiceArgs

    Type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    Version string
    Type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    Version string
    type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version string
    type String
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version String
    type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version string
    type str
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version str
    type String
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version String

    ClusterV2ManagerDns, ClusterV2ManagerDnsArgs

    Type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    Version string
    Type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    Version string
    type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version string
    type String
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version String
    type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version string
    type str
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version str
    type String
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version String

    ClusterV2ManagerManagerNode, ClusterV2ManagerManagerNodeArgs

    AutoRenew bool
    AutoRenewPeriod int
    Duration int
    EnableHt bool
    ExpiredTime string
    The expiration time of the management node.
    ImageId string
    InstanceChargeType string
    InstanceId string
    The instance ID of the management node.
    InstanceType string
    Period int
    PeriodUnit string
    SpotPriceLimit double
    SpotStrategy string
    SystemDisk Pulumi.AliCloud.Ehpc.Inputs.ClusterV2ManagerManagerNodeSystemDisk
    AutoRenew bool
    AutoRenewPeriod int
    Duration int
    EnableHt bool
    ExpiredTime string
    The expiration time of the management node.
    ImageId string
    InstanceChargeType string
    InstanceId string
    The instance ID of the management node.
    InstanceType string
    Period int
    PeriodUnit string
    SpotPriceLimit float64
    SpotStrategy string
    SystemDisk ClusterV2ManagerManagerNodeSystemDisk
    auto_renew bool
    auto_renew_period number
    duration number
    enable_ht bool
    expired_time string
    The expiration time of the management node.
    image_id string
    instance_charge_type string
    instance_id string
    The instance ID of the management node.
    instance_type string
    period number
    period_unit string
    spot_price_limit number
    spot_strategy string
    system_disk object
    autoRenew Boolean
    autoRenewPeriod Integer
    duration Integer
    enableHt Boolean
    expiredTime String
    The expiration time of the management node.
    imageId String
    instanceChargeType String
    instanceId String
    The instance ID of the management node.
    instanceType String
    period Integer
    periodUnit String
    spotPriceLimit Double
    spotStrategy String
    systemDisk ClusterV2ManagerManagerNodeSystemDisk
    autoRenew boolean
    autoRenewPeriod number
    duration number
    enableHt boolean
    expiredTime string
    The expiration time of the management node.
    imageId string
    instanceChargeType string
    instanceId string
    The instance ID of the management node.
    instanceType string
    period number
    periodUnit string
    spotPriceLimit number
    spotStrategy string
    systemDisk ClusterV2ManagerManagerNodeSystemDisk
    auto_renew bool
    auto_renew_period int
    duration int
    enable_ht bool
    expired_time str
    The expiration time of the management node.
    image_id str
    instance_charge_type str
    instance_id str
    The instance ID of the management node.
    instance_type str
    period int
    period_unit str
    spot_price_limit float
    spot_strategy str
    system_disk ClusterV2ManagerManagerNodeSystemDisk
    autoRenew Boolean
    autoRenewPeriod Number
    duration Number
    enableHt Boolean
    expiredTime String
    The expiration time of the management node.
    imageId String
    instanceChargeType String
    instanceId String
    The instance ID of the management node.
    instanceType String
    period Number
    periodUnit String
    spotPriceLimit Number
    spotStrategy String
    systemDisk Property Map

    ClusterV2ManagerManagerNodeSystemDisk, ClusterV2ManagerManagerNodeSystemDiskArgs

    Category string
    Level string
    Size int
    Category string
    Level string
    Size int
    category string
    level string
    size number
    category String
    level String
    size Integer
    category string
    level string
    size number
    category str
    level str
    size int
    category String
    level String
    size Number

    ClusterV2ManagerScheduler, ClusterV2ManagerSchedulerArgs

    Type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    Version string
    Type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    Version string
    type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version string
    type String
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version String
    type string
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version string
    type str
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version str
    type String
    The scheduler type. Valid values:

    • SLURM
    • PBS
    • OPENGRIDSCHEDULER
    • LSF_PLUGIN
    • PBS_PLUGIN
    version String

    ClusterV2MonitorSpec, ClusterV2MonitorSpecArgs

    EnableComputeLoadMonitor bool
    Specifies whether to enable the monitoring component for the compute nodes. Valid values:

    • true
    • false
    EnableComputeLoadMonitor bool
    Specifies whether to enable the monitoring component for the compute nodes. Valid values:

    • true
    • false
    enable_compute_load_monitor bool
    Specifies whether to enable the monitoring component for the compute nodes. Valid values:

    • true
    • false
    enableComputeLoadMonitor Boolean
    Specifies whether to enable the monitoring component for the compute nodes. Valid values:

    • true
    • false
    enableComputeLoadMonitor boolean
    Specifies whether to enable the monitoring component for the compute nodes. Valid values:

    • true
    • false
    enable_compute_load_monitor bool
    Specifies whether to enable the monitoring component for the compute nodes. Valid values:

    • true
    • false
    enableComputeLoadMonitor Boolean
    Specifies whether to enable the monitoring component for the compute nodes. Valid values:

    • true
    • false

    ClusterV2Queue, ClusterV2QueueArgs

    AllocationStrategy string
    The auto scale-out strategy of the queue.
    ComputeNodes List<Pulumi.AliCloud.Ehpc.Inputs.ClusterV2QueueComputeNode>
    The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See computeNodes below.
    EnableScaleIn bool
    Specifies whether to enable auto scale-in for the queue. Valid values:

    • true
    • false
    EnableScaleOut bool
    Specifies whether to enable auto scale-out for the queue. Valid values:

    • true
    • false
    HostnamePrefix string
    The hostname prefix of the compute nodes in the queue.
    HostnameSuffix string
    The hostname suffix of the compute nodes in the queue.
    InitialCount int
    The initial number of compute nodes that the queue retains.
    InterConnect string
    The network type between the compute nodes in the queue. Valid values:

    • vpc
    • eRDMA
    KeepAliveNodes List<string>
    The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
    MaxCount int
    The maximum number of compute nodes that the queue can retain.
    MaxCountPerCycle int
    The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
    MinCount int
    The minimum number of compute nodes that the queue retains.
    QueueName string
    The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
    RamRole string
    The name of the instance role attached to the compute nodes in the queue.
    ReservedNodePoolId string
    The ID of the reserved node pool used by the queue.
    VswitchIds List<string>
    The list of vSwitches available to the compute nodes in the queue. The value range of N is 1 to 5.
    AllocationStrategy string
    The auto scale-out strategy of the queue.
    ComputeNodes []ClusterV2QueueComputeNode
    The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See computeNodes below.
    EnableScaleIn bool
    Specifies whether to enable auto scale-in for the queue. Valid values:

    • true
    • false
    EnableScaleOut bool
    Specifies whether to enable auto scale-out for the queue. Valid values:

    • true
    • false
    HostnamePrefix string
    The hostname prefix of the compute nodes in the queue.
    HostnameSuffix string
    The hostname suffix of the compute nodes in the queue.
    InitialCount int
    The initial number of compute nodes that the queue retains.
    InterConnect string
    The network type between the compute nodes in the queue. Valid values:

    • vpc
    • eRDMA
    KeepAliveNodes []string
    The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
    MaxCount int
    The maximum number of compute nodes that the queue can retain.
    MaxCountPerCycle int
    The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
    MinCount int
    The minimum number of compute nodes that the queue retains.
    QueueName string
    The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
    RamRole string
    The name of the instance role attached to the compute nodes in the queue.
    ReservedNodePoolId string
    The ID of the reserved node pool used by the queue.
    VswitchIds []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 computeNodes below.
    enable_scale_in bool
    Specifies whether to enable auto scale-in for the queue. Valid values:

    • true
    • false
    enable_scale_out bool
    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_nodes list(string)
    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_per_cycle number
    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_pool_id string
    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.
    allocationStrategy String
    The auto scale-out strategy of the queue.
    computeNodes List<ClusterV2QueueComputeNode>
    The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See computeNodes below.
    enableScaleIn Boolean
    Specifies whether to enable auto scale-in for the queue. Valid values:

    • true
    • false
    enableScaleOut Boolean
    Specifies whether to enable auto scale-out for the queue. Valid values:

    • true
    • false
    hostnamePrefix String
    The hostname prefix of the compute nodes in the queue.
    hostnameSuffix String
    The hostname suffix of the compute nodes in the queue.
    initialCount Integer
    The initial number of compute nodes that the queue retains.
    interConnect String
    The network type between the compute nodes in the queue. Valid values:

    • vpc
    • eRDMA
    keepAliveNodes List<String>
    The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
    maxCount Integer
    The maximum number of compute nodes that the queue can retain.
    maxCountPerCycle Integer
    The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
    minCount Integer
    The minimum number of compute nodes that the queue retains.
    queueName String
    The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
    ramRole String
    The name of the instance role attached to the compute nodes in the queue.
    reservedNodePoolId String
    The ID of the reserved node pool used by the queue.
    vswitchIds List<String>
    The list of vSwitches available to the compute nodes in the queue. The value range of N is 1 to 5.
    allocationStrategy string
    The auto scale-out strategy of the queue.
    computeNodes ClusterV2QueueComputeNode[]
    The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See computeNodes below.
    enableScaleIn boolean
    Specifies whether to enable auto scale-in for the queue. Valid values:

    • true
    • false
    enableScaleOut boolean
    Specifies whether to enable auto scale-out for the queue. Valid values:

    • true
    • false
    hostnamePrefix string
    The hostname prefix of the compute nodes in the queue.
    hostnameSuffix string
    The hostname suffix of the compute nodes in the queue.
    initialCount number
    The initial number of compute nodes that the queue retains.
    interConnect string
    The network type between the compute nodes in the queue. Valid values:

    • vpc
    • eRDMA
    keepAliveNodes string[]
    The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
    maxCount number
    The maximum number of compute nodes that the queue can retain.
    maxCountPerCycle number
    The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
    minCount number
    The minimum number of compute nodes that the queue retains.
    queueName string
    The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
    ramRole string
    The name of the instance role attached to the compute nodes in the queue.
    reservedNodePoolId string
    The ID of the reserved node pool used by the queue.
    vswitchIds 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[ClusterV2QueueComputeNode]
    The list of hardware configurations of the compute nodes in the queue. The value range of N is 0 to 10. See computeNodes below.
    enable_scale_in bool
    Specifies whether to enable auto scale-in for the queue. Valid values:

    • true
    • false
    enable_scale_out bool
    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_nodes Sequence[str]
    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_per_cycle int
    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_pool_id str
    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.
    allocationStrategy String
    The auto scale-out strategy of the queue.
    computeNodes 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 computeNodes below.
    enableScaleIn Boolean
    Specifies whether to enable auto scale-in for the queue. Valid values:

    • true
    • false
    enableScaleOut Boolean
    Specifies whether to enable auto scale-out for the queue. Valid values:

    • true
    • false
    hostnamePrefix String
    The hostname prefix of the compute nodes in the queue.
    hostnameSuffix String
    The hostname suffix of the compute nodes in the queue.
    initialCount Number
    The initial number of compute nodes that the queue retains.
    interConnect String
    The network type between the compute nodes in the queue. Valid values:

    • vpc
    • eRDMA
    keepAliveNodes List<String>
    The list of nodes with deletion protection enabled in the queue. The value is the hostname of the node.
    maxCount Number
    The maximum number of compute nodes that the queue can retain.
    maxCountPerCycle Number
    The maximum number of compute nodes that the queue can scale out in each scale-out cycle.
    minCount Number
    The minimum number of compute nodes that the queue retains.
    queueName String
    The name of the queue. The name must be 1 to 15 characters in length. It can contain letters, digits, and periods (.).
    ramRole String
    The name of the instance role attached to the compute nodes in the queue.
    reservedNodePoolId String
    The ID of the reserved node pool used by the queue.
    vswitchIds 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

    ClusterV2QueueComputeNodeSystemDisk, ClusterV2QueueComputeNodeSystemDiskArgs

    Category string
    Level string
    Size int
    Category string
    Level string
    Size int
    category string
    level string
    size number
    category String
    level String
    size Integer
    category string
    level string
    size number
    category str
    level str
    size int
    category String
    level String
    size Number

    ClusterV2SchedulerSpec, ClusterV2SchedulerSpecArgs

    EnableTopologyAwareness bool
    Specifies whether to enable the topology awareness feature for the cluster. Valid values:

    • true
    • false
    EnableTopologyAwareness bool
    Specifies whether to enable the topology awareness feature for the cluster. Valid values:

    • true
    • false
    enable_topology_awareness bool
    Specifies whether to enable the topology awareness feature for the cluster. Valid values:

    • true
    • false
    enableTopologyAwareness Boolean
    Specifies whether to enable the topology awareness feature for the cluster. Valid values:

    • true
    • false
    enableTopologyAwareness boolean
    Specifies whether to enable the topology awareness feature for the cluster. Valid values:

    • true
    • false
    enable_topology_awareness bool
    Specifies whether to enable the topology awareness feature for the cluster. Valid values:

    • true
    • false
    enableTopologyAwareness Boolean
    Specifies whether to enable the topology awareness feature for the cluster. Valid values:

    • true
    • false

    ClusterV2SharedStorage, ClusterV2SharedStorageArgs

    FileSystemId string
    The ID of the mounted file system.
    MountDirectory string
    The local Mount directory where the file system is mounted.
    MountOptions string
    Storage mount options for the mounted file system.
    MountTargetDomain string
    The mount point address of the mounted file system.
    NasDirectory string
    The remote directory to which the mounted file system needs to be mounted.
    ProtocolType string
    The protocol type of the mounted file system. Value range:

    • NFS
    • SMB
    FileSystemId string
    The ID of the mounted file system.
    MountDirectory string
    The local Mount directory where the file system is mounted.
    MountOptions string
    Storage mount options for the mounted file system.
    MountTargetDomain string
    The mount point address of the mounted file system.
    NasDirectory string
    The remote directory to which the mounted file system needs to be mounted.
    ProtocolType string
    The protocol type of the mounted file system. Value range:

    • NFS
    • SMB
    file_system_id string
    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_domain string
    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
    fileSystemId String
    The ID of the mounted file system.
    mountDirectory String
    The local Mount directory where the file system is mounted.
    mountOptions String
    Storage mount options for the mounted file system.
    mountTargetDomain String
    The mount point address of the mounted file system.
    nasDirectory String
    The remote directory to which the mounted file system needs to be mounted.
    protocolType String
    The protocol type of the mounted file system. Value range:

    • NFS
    • SMB
    fileSystemId string
    The ID of the mounted file system.
    mountDirectory string
    The local Mount directory where the file system is mounted.
    mountOptions string
    Storage mount options for the mounted file system.
    mountTargetDomain string
    The mount point address of the mounted file system.
    nasDirectory string
    The remote directory to which the mounted file system needs to be mounted.
    protocolType string
    The protocol type of the mounted file system. Value range:

    • NFS
    • SMB
    file_system_id str
    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_domain str
    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
    fileSystemId String
    The ID of the mounted file system.
    mountDirectory String
    The local Mount directory where the file system is mounted.
    mountOptions String
    Storage mount options for the mounted file system.
    mountTargetDomain String
    The mount point address of the mounted file system.
    nasDirectory String
    The remote directory to which the mounted file system needs to be mounted.
    protocolType 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 alicloud Terraform Provider.
    alicloud logo alicloud logo
    Viewing docs for Alibaba Cloud v4.0.1
    published on Tuesday, Oct 27, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial