1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ehpc
  5. Cluster
Alibaba Cloud v3.43.1 published on Monday, Sep 11, 2023 by Pulumi

alicloud.ehpc.Cluster

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.43.1 published on Monday, Sep 11, 2023 by Pulumi

    Provides a Ehpc Cluster resource.

    For information about Ehpc Cluster and how to use it, see What is Cluster.

    NOTE: Available since v1.173.0.

    Example Usage

    Basic Usage

    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") ?? "tf-example";
        var defaultZones = AliCloud.GetZones.Invoke(new()
        {
            AvailableResourceCreation = "VSwitch",
        });
    
        var defaultImages = AliCloud.Ecs.GetImages.Invoke(new()
        {
            NameRegex = "^centos_7_6_x64*",
            Owners = "system",
        });
    
        var defaultInstanceTypes = AliCloud.Ecs.GetInstanceTypes.Invoke(new()
        {
            AvailabilityZone = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
        });
    
        var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new()
        {
            VpcName = name,
            CidrBlock = "10.0.0.0/8",
        });
    
        var defaultSwitch = new AliCloud.Vpc.Switch("defaultSwitch", new()
        {
            VswitchName = name,
            CidrBlock = "10.1.0.0/16",
            VpcId = defaultNetwork.Id,
            ZoneId = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
        });
    
        var defaultFileSystem = new AliCloud.Nas.FileSystem("defaultFileSystem", new()
        {
            StorageType = "Performance",
            ProtocolType = "NFS",
        });
    
        var defaultMountTarget = new AliCloud.Nas.MountTarget("defaultMountTarget", new()
        {
            FileSystemId = defaultFileSystem.Id,
            AccessGroupName = "DEFAULT_VPC_GROUP_NAME",
            VswitchId = defaultSwitch.Id,
        });
    
        var defaultCluster = new AliCloud.Ehpc.Cluster("defaultCluster", new()
        {
            ClusterName = name,
            DeployMode = "Simple",
            Description = name,
            HaEnable = false,
            ImageId = defaultImages.Apply(getImagesResult => getImagesResult.Images[0]?.Id),
            ImageOwnerAlias = "system",
            VolumeProtocol = "nfs",
            VolumeId = defaultFileSystem.Id,
            VolumeMountpoint = defaultMountTarget.MountTargetDomain,
            ComputeCount = 1,
            ComputeInstanceType = defaultInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
            LoginCount = 1,
            LoginInstanceType = defaultInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
            ManagerCount = 1,
            ManagerInstanceType = defaultInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
            OsTag = "CentOS_7.6_64",
            SchedulerType = "pbs",
            Password = "your-password123",
            VswitchId = defaultSwitch.Id,
            VpcId = defaultNetwork.Id,
            ZoneId = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ehpc"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/nas"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/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 := "tf-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
    			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
    			NameRegex: pulumi.StringRef("^centos_7_6_x64*"),
    			Owners:    pulumi.StringRef("system"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
    			AvailabilityZone: pulumi.StringRef(defaultZones.Zones[0].Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
    			VpcName:   pulumi.String(name),
    			CidrBlock: pulumi.String("10.0.0.0/8"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
    			VswitchName: pulumi.String(name),
    			CidrBlock:   pulumi.String("10.1.0.0/16"),
    			VpcId:       defaultNetwork.ID(),
    			ZoneId:      *pulumi.String(defaultZones.Zones[0].Id),
    		})
    		if err != nil {
    			return err
    		}
    		defaultFileSystem, err := nas.NewFileSystem(ctx, "defaultFileSystem", &nas.FileSystemArgs{
    			StorageType:  pulumi.String("Performance"),
    			ProtocolType: pulumi.String("NFS"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultMountTarget, err := nas.NewMountTarget(ctx, "defaultMountTarget", &nas.MountTargetArgs{
    			FileSystemId:    defaultFileSystem.ID(),
    			AccessGroupName: pulumi.String("DEFAULT_VPC_GROUP_NAME"),
    			VswitchId:       defaultSwitch.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ehpc.NewCluster(ctx, "defaultCluster", &ehpc.ClusterArgs{
    			ClusterName:         pulumi.String(name),
    			DeployMode:          pulumi.String("Simple"),
    			Description:         pulumi.String(name),
    			HaEnable:            pulumi.Bool(false),
    			ImageId:             *pulumi.String(defaultImages.Images[0].Id),
    			ImageOwnerAlias:     pulumi.String("system"),
    			VolumeProtocol:      pulumi.String("nfs"),
    			VolumeId:            defaultFileSystem.ID(),
    			VolumeMountpoint:    defaultMountTarget.MountTargetDomain,
    			ComputeCount:        pulumi.Int(1),
    			ComputeInstanceType: *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
    			LoginCount:          pulumi.Int(1),
    			LoginInstanceType:   *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
    			ManagerCount:        pulumi.Int(1),
    			ManagerInstanceType: *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
    			OsTag:               pulumi.String("CentOS_7.6_64"),
    			SchedulerType:       pulumi.String("pbs"),
    			Password:            pulumi.String("your-password123"),
    			VswitchId:           defaultSwitch.ID(),
    			VpcId:               defaultNetwork.ID(),
    			ZoneId:              *pulumi.String(defaultZones.Zones[0].Id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.AlicloudFunctions;
    import com.pulumi.alicloud.inputs.GetZonesArgs;
    import com.pulumi.alicloud.ecs.EcsFunctions;
    import com.pulumi.alicloud.ecs.inputs.GetImagesArgs;
    import com.pulumi.alicloud.ecs.inputs.GetInstanceTypesArgs;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.vpc.Switch;
    import com.pulumi.alicloud.vpc.SwitchArgs;
    import com.pulumi.alicloud.nas.FileSystem;
    import com.pulumi.alicloud.nas.FileSystemArgs;
    import com.pulumi.alicloud.nas.MountTarget;
    import com.pulumi.alicloud.nas.MountTargetArgs;
    import com.pulumi.alicloud.ehpc.Cluster;
    import com.pulumi.alicloud.ehpc.ClusterArgs;
    import java.util.List;
    import java.util.ArrayList;
    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("tf-example");
            final var defaultZones = AlicloudFunctions.getZones(GetZonesArgs.builder()
                .availableResourceCreation("VSwitch")
                .build());
    
            final var defaultImages = EcsFunctions.getImages(GetImagesArgs.builder()
                .nameRegex("^centos_7_6_x64*")
                .owners("system")
                .build());
    
            final var defaultInstanceTypes = EcsFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
                .availabilityZone(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
                .build());
    
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()        
                .vpcName(name)
                .cidrBlock("10.0.0.0/8")
                .build());
    
            var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()        
                .vswitchName(name)
                .cidrBlock("10.1.0.0/16")
                .vpcId(defaultNetwork.id())
                .zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
                .build());
    
            var defaultFileSystem = new FileSystem("defaultFileSystem", FileSystemArgs.builder()        
                .storageType("Performance")
                .protocolType("NFS")
                .build());
    
            var defaultMountTarget = new MountTarget("defaultMountTarget", MountTargetArgs.builder()        
                .fileSystemId(defaultFileSystem.id())
                .accessGroupName("DEFAULT_VPC_GROUP_NAME")
                .vswitchId(defaultSwitch.id())
                .build());
    
            var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()        
                .clusterName(name)
                .deployMode("Simple")
                .description(name)
                .haEnable(false)
                .imageId(defaultImages.applyValue(getImagesResult -> getImagesResult.images()[0].id()))
                .imageOwnerAlias("system")
                .volumeProtocol("nfs")
                .volumeId(defaultFileSystem.id())
                .volumeMountpoint(defaultMountTarget.mountTargetDomain())
                .computeCount(1)
                .computeInstanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
                .loginCount(1)
                .loginInstanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
                .managerCount(1)
                .managerInstanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
                .osTag("CentOS_7.6_64")
                .schedulerType("pbs")
                .password("your-password123")
                .vswitchId(defaultSwitch.id())
                .vpcId(defaultNetwork.id())
                .zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tf-example"
    default_zones = alicloud.get_zones(available_resource_creation="VSwitch")
    default_images = alicloud.ecs.get_images(name_regex="^centos_7_6_x64*",
        owners="system")
    default_instance_types = alicloud.ecs.get_instance_types(availability_zone=default_zones.zones[0].id)
    default_network = alicloud.vpc.Network("defaultNetwork",
        vpc_name=name,
        cidr_block="10.0.0.0/8")
    default_switch = alicloud.vpc.Switch("defaultSwitch",
        vswitch_name=name,
        cidr_block="10.1.0.0/16",
        vpc_id=default_network.id,
        zone_id=default_zones.zones[0].id)
    default_file_system = alicloud.nas.FileSystem("defaultFileSystem",
        storage_type="Performance",
        protocol_type="NFS")
    default_mount_target = alicloud.nas.MountTarget("defaultMountTarget",
        file_system_id=default_file_system.id,
        access_group_name="DEFAULT_VPC_GROUP_NAME",
        vswitch_id=default_switch.id)
    default_cluster = alicloud.ehpc.Cluster("defaultCluster",
        cluster_name=name,
        deploy_mode="Simple",
        description=name,
        ha_enable=False,
        image_id=default_images.images[0].id,
        image_owner_alias="system",
        volume_protocol="nfs",
        volume_id=default_file_system.id,
        volume_mountpoint=default_mount_target.mount_target_domain,
        compute_count=1,
        compute_instance_type=default_instance_types.instance_types[0].id,
        login_count=1,
        login_instance_type=default_instance_types.instance_types[0].id,
        manager_count=1,
        manager_instance_type=default_instance_types.instance_types[0].id,
        os_tag="CentOS_7.6_64",
        scheduler_type="pbs",
        password="your-password123",
        vswitch_id=default_switch.id,
        vpc_id=default_network.id,
        zone_id=default_zones.zones[0].id)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "tf-example";
    const defaultZones = alicloud.getZones({
        availableResourceCreation: "VSwitch",
    });
    const defaultImages = alicloud.ecs.getImages({
        nameRegex: "^centos_7_6_x64*",
        owners: "system",
    });
    const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
        availabilityZone: defaultZones.zones?.[0]?.id,
    }));
    const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
        vpcName: name,
        cidrBlock: "10.0.0.0/8",
    });
    const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
        vswitchName: name,
        cidrBlock: "10.1.0.0/16",
        vpcId: defaultNetwork.id,
        zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
    });
    const defaultFileSystem = new alicloud.nas.FileSystem("defaultFileSystem", {
        storageType: "Performance",
        protocolType: "NFS",
    });
    const defaultMountTarget = new alicloud.nas.MountTarget("defaultMountTarget", {
        fileSystemId: defaultFileSystem.id,
        accessGroupName: "DEFAULT_VPC_GROUP_NAME",
        vswitchId: defaultSwitch.id,
    });
    const defaultCluster = new alicloud.ehpc.Cluster("defaultCluster", {
        clusterName: name,
        deployMode: "Simple",
        description: name,
        haEnable: false,
        imageId: defaultImages.then(defaultImages => defaultImages.images?.[0]?.id),
        imageOwnerAlias: "system",
        volumeProtocol: "nfs",
        volumeId: defaultFileSystem.id,
        volumeMountpoint: defaultMountTarget.mountTargetDomain,
        computeCount: 1,
        computeInstanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id),
        loginCount: 1,
        loginInstanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id),
        managerCount: 1,
        managerInstanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id),
        osTag: "CentOS_7.6_64",
        schedulerType: "pbs",
        password: "your-password123",
        vswitchId: defaultSwitch.id,
        vpcId: defaultNetwork.id,
        zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
    });
    
    configuration:
      name:
        type: string
        default: tf-example
    resources:
      defaultNetwork:
        type: alicloud:vpc:Network
        properties:
          vpcName: ${name}
          cidrBlock: 10.0.0.0/8
      defaultSwitch:
        type: alicloud:vpc:Switch
        properties:
          vswitchName: ${name}
          cidrBlock: 10.1.0.0/16
          vpcId: ${defaultNetwork.id}
          zoneId: ${defaultZones.zones[0].id}
      defaultFileSystem:
        type: alicloud:nas:FileSystem
        properties:
          storageType: Performance
          protocolType: NFS
      defaultMountTarget:
        type: alicloud:nas:MountTarget
        properties:
          fileSystemId: ${defaultFileSystem.id}
          accessGroupName: DEFAULT_VPC_GROUP_NAME
          vswitchId: ${defaultSwitch.id}
      defaultCluster:
        type: alicloud:ehpc:Cluster
        properties:
          clusterName: ${name}
          deployMode: Simple
          description: ${name}
          haEnable: false
          imageId: ${defaultImages.images[0].id}
          imageOwnerAlias: system
          volumeProtocol: nfs
          volumeId: ${defaultFileSystem.id}
          volumeMountpoint: ${defaultMountTarget.mountTargetDomain}
          computeCount: 1
          computeInstanceType: ${defaultInstanceTypes.instanceTypes[0].id}
          loginCount: 1
          loginInstanceType: ${defaultInstanceTypes.instanceTypes[0].id}
          managerCount: 1
          managerInstanceType: ${defaultInstanceTypes.instanceTypes[0].id}
          osTag: CentOS_7.6_64
          schedulerType: pbs
          password: your-password123
          vswitchId: ${defaultSwitch.id}
          vpcId: ${defaultNetwork.id}
          zoneId: ${defaultZones.zones[0].id}
    variables:
      defaultZones:
        fn::invoke:
          Function: alicloud:getZones
          Arguments:
            availableResourceCreation: VSwitch
      defaultImages:
        fn::invoke:
          Function: alicloud:ecs:getImages
          Arguments:
            nameRegex: ^centos_7_6_x64*
            owners: system
      defaultInstanceTypes:
        fn::invoke:
          Function: alicloud:ecs:getInstanceTypes
          Arguments:
            availabilityZone: ${defaultZones.zones[0].id}
    

    Create Cluster Resource

    new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
    @overload
    def Cluster(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                account_type: Optional[str] = None,
                additional_volumes: Optional[Sequence[ClusterAdditionalVolumeArgs]] = None,
                applications: Optional[Sequence[ClusterApplicationArgs]] = None,
                auto_renew: Optional[bool] = None,
                auto_renew_period: Optional[int] = None,
                client_version: Optional[str] = None,
                cluster_name: Optional[str] = None,
                cluster_version: Optional[str] = None,
                compute_count: Optional[int] = None,
                compute_enable_ht: Optional[bool] = None,
                compute_instance_type: Optional[str] = None,
                compute_spot_price_limit: Optional[str] = None,
                compute_spot_strategy: Optional[str] = None,
                deploy_mode: Optional[str] = None,
                description: Optional[str] = None,
                domain: Optional[str] = None,
                ecs_charge_type: Optional[str] = None,
                ehpc_version: Optional[str] = None,
                ha_enable: Optional[bool] = None,
                image_id: Optional[str] = None,
                image_owner_alias: Optional[str] = None,
                input_file_url: Optional[str] = None,
                is_compute_ess: Optional[bool] = None,
                job_queue: Optional[str] = None,
                key_pair_name: Optional[str] = None,
                login_count: Optional[int] = None,
                login_instance_type: Optional[str] = None,
                manager_count: Optional[int] = None,
                manager_instance_type: Optional[str] = None,
                os_tag: Optional[str] = None,
                password: Optional[str] = None,
                period: Optional[int] = None,
                period_unit: Optional[str] = None,
                plugin: Optional[str] = None,
                post_install_scripts: Optional[Sequence[ClusterPostInstallScriptArgs]] = None,
                ram_node_types: Optional[Sequence[str]] = None,
                ram_role_name: Optional[str] = None,
                release_instance: Optional[bool] = None,
                remote_directory: Optional[str] = None,
                remote_vis_enable: Optional[bool] = None,
                resource_group_id: Optional[str] = None,
                scc_cluster_id: Optional[str] = None,
                scheduler_type: Optional[str] = None,
                security_group_id: Optional[str] = None,
                security_group_name: Optional[str] = None,
                system_disk_level: Optional[str] = None,
                system_disk_size: Optional[int] = None,
                system_disk_type: Optional[str] = None,
                volume_id: Optional[str] = None,
                volume_mount_option: Optional[str] = None,
                volume_mountpoint: Optional[str] = None,
                volume_protocol: Optional[str] = None,
                volume_type: Optional[str] = None,
                vpc_id: Optional[str] = None,
                vswitch_id: Optional[str] = None,
                without_agent: Optional[bool] = None,
                without_elastic_ip: Optional[bool] = None,
                zone_id: Optional[str] = None)
    @overload
    def Cluster(resource_name: str,
                args: ClusterArgs,
                opts: Optional[ResourceOptions] = None)
    func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
    public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
    public Cluster(String name, ClusterArgs args)
    public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
    
    type: alicloud:ehpc:Cluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ClusterArgs
    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 ClusterArgs
    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 ClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Cluster Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Cluster resource accepts the following input properties:

    ClusterName string

    The name of the cluster. The name must be 2 to 64 characters in length.

    ComputeCount int

    The number of the compute nodes. Valid values: 1 to 99.

    ComputeInstanceType string

    The instance type of the compute nodes.

    LoginCount int

    The number of the logon nodes. Valid values: 1.

    LoginInstanceType string

    The instance type of the logon nodes.

    ManagerInstanceType string

    The instance type of the management nodes.

    OsTag string

    The image tag of the operating system.

    AccountType string

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    AdditionalVolumes List<Pulumi.AliCloud.Ehpc.Inputs.ClusterAdditionalVolume>

    The additional volumes. See additional_volumes below.

    Applications List<Pulumi.AliCloud.Ehpc.Inputs.ClusterApplication>

    The application. See application below.

    AutoRenew bool

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    AutoRenewPeriod int

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    ClientVersion string

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    ClusterVersion string

    The version of the cluster. Default value: 1.0.

    ComputeEnableHt bool

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    ComputeSpotPriceLimit string

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    ComputeSpotStrategy string

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    DeployMode string

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    Description string

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    Domain string

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    EcsChargeType string

    The billing method of the nodes.

    EhpcVersion string

    The version of E-HPC. By default, the parameter is set to the latest version number.

    HaEnable bool

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    ImageId string

    The ID of the image.

    ImageOwnerAlias string

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    InputFileUrl string

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    IsComputeEss bool

    Specifies whether to enable auto scaling. Default value: false.

    JobQueue string

    The queue to which the compute nodes are added.

    KeyPairName string

    The name of the AccessKey pair.

    ManagerCount int

    The number of the management nodes. Valid values: 1 and 2.

    Password string

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    Period int

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    PeriodUnit string

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    Plugin string

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    PostInstallScripts List<Pulumi.AliCloud.Ehpc.Inputs.ClusterPostInstallScript>

    The post install script. See post_install_script below.

    RamNodeTypes List<string>

    The node of the RAM role.

    RamRoleName string

    The name of the Resource Access Management (RAM) role.

    ReleaseInstance bool

    The release instance. Valid values: true.

    RemoteDirectory string

    The remote directory to which the file system is mounted.

    RemoteVisEnable bool

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    ResourceGroupId string

    The ID of the resource group.

    SccClusterId string

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    SchedulerType string

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    SecurityGroupId string

    The ID of the security group to which the cluster belongs.

    SecurityGroupName string

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    SystemDiskLevel string

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    SystemDiskSize int

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    SystemDiskType string

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    VolumeId string

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    VolumeMountOption string

    The mount options of the file system.

    VolumeMountpoint string

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    VolumeProtocol string

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    VolumeType string

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    VpcId string

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    VswitchId string

    The ID of the vSwitch. E-HPC supports only VPC networks.

    WithoutAgent bool

    Specifies whether not to install the agent. Default value: false.

    WithoutElasticIp bool

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    ZoneId string

    The ID of the zone.

    ClusterName string

    The name of the cluster. The name must be 2 to 64 characters in length.

    ComputeCount int

    The number of the compute nodes. Valid values: 1 to 99.

    ComputeInstanceType string

    The instance type of the compute nodes.

    LoginCount int

    The number of the logon nodes. Valid values: 1.

    LoginInstanceType string

    The instance type of the logon nodes.

    ManagerInstanceType string

    The instance type of the management nodes.

    OsTag string

    The image tag of the operating system.

    AccountType string

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    AdditionalVolumes []ClusterAdditionalVolumeArgs

    The additional volumes. See additional_volumes below.

    Applications []ClusterApplicationArgs

    The application. See application below.

    AutoRenew bool

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    AutoRenewPeriod int

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    ClientVersion string

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    ClusterVersion string

    The version of the cluster. Default value: 1.0.

    ComputeEnableHt bool

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    ComputeSpotPriceLimit string

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    ComputeSpotStrategy string

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    DeployMode string

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    Description string

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    Domain string

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    EcsChargeType string

    The billing method of the nodes.

    EhpcVersion string

    The version of E-HPC. By default, the parameter is set to the latest version number.

    HaEnable bool

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    ImageId string

    The ID of the image.

    ImageOwnerAlias string

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    InputFileUrl string

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    IsComputeEss bool

    Specifies whether to enable auto scaling. Default value: false.

    JobQueue string

    The queue to which the compute nodes are added.

    KeyPairName string

    The name of the AccessKey pair.

    ManagerCount int

    The number of the management nodes. Valid values: 1 and 2.

    Password string

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    Period int

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    PeriodUnit string

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    Plugin string

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    PostInstallScripts []ClusterPostInstallScriptArgs

    The post install script. See post_install_script below.

    RamNodeTypes []string

    The node of the RAM role.

    RamRoleName string

    The name of the Resource Access Management (RAM) role.

    ReleaseInstance bool

    The release instance. Valid values: true.

    RemoteDirectory string

    The remote directory to which the file system is mounted.

    RemoteVisEnable bool

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    ResourceGroupId string

    The ID of the resource group.

    SccClusterId string

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    SchedulerType string

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    SecurityGroupId string

    The ID of the security group to which the cluster belongs.

    SecurityGroupName string

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    SystemDiskLevel string

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    SystemDiskSize int

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    SystemDiskType string

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    VolumeId string

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    VolumeMountOption string

    The mount options of the file system.

    VolumeMountpoint string

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    VolumeProtocol string

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    VolumeType string

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    VpcId string

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    VswitchId string

    The ID of the vSwitch. E-HPC supports only VPC networks.

    WithoutAgent bool

    Specifies whether not to install the agent. Default value: false.

    WithoutElasticIp bool

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    ZoneId string

    The ID of the zone.

    clusterName String

    The name of the cluster. The name must be 2 to 64 characters in length.

    computeCount Integer

    The number of the compute nodes. Valid values: 1 to 99.

    computeInstanceType String

    The instance type of the compute nodes.

    loginCount Integer

    The number of the logon nodes. Valid values: 1.

    loginInstanceType String

    The instance type of the logon nodes.

    managerInstanceType String

    The instance type of the management nodes.

    osTag String

    The image tag of the operating system.

    accountType String

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    additionalVolumes List<ClusterAdditionalVolume>

    The additional volumes. See additional_volumes below.

    applications List<ClusterApplication>

    The application. See application below.

    autoRenew Boolean

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    autoRenewPeriod Integer

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    clientVersion String

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    clusterVersion String

    The version of the cluster. Default value: 1.0.

    computeEnableHt Boolean

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    computeSpotPriceLimit String

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    computeSpotStrategy String

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    deployMode String

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    description String

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    domain String

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    ecsChargeType String

    The billing method of the nodes.

    ehpcVersion String

    The version of E-HPC. By default, the parameter is set to the latest version number.

    haEnable Boolean

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    imageId String

    The ID of the image.

    imageOwnerAlias String

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    inputFileUrl String

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    isComputeEss Boolean

    Specifies whether to enable auto scaling. Default value: false.

    jobQueue String

    The queue to which the compute nodes are added.

    keyPairName String

    The name of the AccessKey pair.

    managerCount Integer

    The number of the management nodes. Valid values: 1 and 2.

    password String

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    period Integer

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    periodUnit String

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    plugin String

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    postInstallScripts List<ClusterPostInstallScript>

    The post install script. See post_install_script below.

    ramNodeTypes List<String>

    The node of the RAM role.

    ramRoleName String

    The name of the Resource Access Management (RAM) role.

    releaseInstance Boolean

    The release instance. Valid values: true.

    remoteDirectory String

    The remote directory to which the file system is mounted.

    remoteVisEnable Boolean

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    resourceGroupId String

    The ID of the resource group.

    sccClusterId String

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    schedulerType String

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    securityGroupId String

    The ID of the security group to which the cluster belongs.

    securityGroupName String

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    systemDiskLevel String

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    systemDiskSize Integer

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    systemDiskType String

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    volumeId String

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    volumeMountOption String

    The mount options of the file system.

    volumeMountpoint String

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    volumeProtocol String

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    volumeType String

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    vpcId String

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    vswitchId String

    The ID of the vSwitch. E-HPC supports only VPC networks.

    withoutAgent Boolean

    Specifies whether not to install the agent. Default value: false.

    withoutElasticIp Boolean

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    zoneId String

    The ID of the zone.

    clusterName string

    The name of the cluster. The name must be 2 to 64 characters in length.

    computeCount number

    The number of the compute nodes. Valid values: 1 to 99.

    computeInstanceType string

    The instance type of the compute nodes.

    loginCount number

    The number of the logon nodes. Valid values: 1.

    loginInstanceType string

    The instance type of the logon nodes.

    managerInstanceType string

    The instance type of the management nodes.

    osTag string

    The image tag of the operating system.

    accountType string

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    additionalVolumes ClusterAdditionalVolume[]

    The additional volumes. See additional_volumes below.

    applications ClusterApplication[]

    The application. See application below.

    autoRenew boolean

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    autoRenewPeriod number

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    clientVersion string

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    clusterVersion string

    The version of the cluster. Default value: 1.0.

    computeEnableHt boolean

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    computeSpotPriceLimit string

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    computeSpotStrategy string

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    deployMode string

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    description string

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    domain string

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    ecsChargeType string

    The billing method of the nodes.

    ehpcVersion string

    The version of E-HPC. By default, the parameter is set to the latest version number.

    haEnable boolean

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    imageId string

    The ID of the image.

    imageOwnerAlias string

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    inputFileUrl string

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    isComputeEss boolean

    Specifies whether to enable auto scaling. Default value: false.

    jobQueue string

    The queue to which the compute nodes are added.

    keyPairName string

    The name of the AccessKey pair.

    managerCount number

    The number of the management nodes. Valid values: 1 and 2.

    password string

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    period number

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    periodUnit string

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    plugin string

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    postInstallScripts ClusterPostInstallScript[]

    The post install script. See post_install_script below.

    ramNodeTypes string[]

    The node of the RAM role.

    ramRoleName string

    The name of the Resource Access Management (RAM) role.

    releaseInstance boolean

    The release instance. Valid values: true.

    remoteDirectory string

    The remote directory to which the file system is mounted.

    remoteVisEnable boolean

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    resourceGroupId string

    The ID of the resource group.

    sccClusterId string

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    schedulerType string

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    securityGroupId string

    The ID of the security group to which the cluster belongs.

    securityGroupName string

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    systemDiskLevel string

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    systemDiskSize number

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    systemDiskType string

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    volumeId string

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    volumeMountOption string

    The mount options of the file system.

    volumeMountpoint string

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    volumeProtocol string

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    volumeType string

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    vpcId string

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    vswitchId string

    The ID of the vSwitch. E-HPC supports only VPC networks.

    withoutAgent boolean

    Specifies whether not to install the agent. Default value: false.

    withoutElasticIp boolean

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    zoneId string

    The ID of the zone.

    cluster_name str

    The name of the cluster. The name must be 2 to 64 characters in length.

    compute_count int

    The number of the compute nodes. Valid values: 1 to 99.

    compute_instance_type str

    The instance type of the compute nodes.

    login_count int

    The number of the logon nodes. Valid values: 1.

    login_instance_type str

    The instance type of the logon nodes.

    manager_instance_type str

    The instance type of the management nodes.

    os_tag str

    The image tag of the operating system.

    account_type str

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    additional_volumes Sequence[ClusterAdditionalVolumeArgs]

    The additional volumes. See additional_volumes below.

    applications Sequence[ClusterApplicationArgs]

    The application. See application below.

    auto_renew bool

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    auto_renew_period int

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    client_version str

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    cluster_version str

    The version of the cluster. Default value: 1.0.

    compute_enable_ht bool

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    compute_spot_price_limit str

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    compute_spot_strategy str

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    deploy_mode str

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    description str

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    domain str

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    ecs_charge_type str

    The billing method of the nodes.

    ehpc_version str

    The version of E-HPC. By default, the parameter is set to the latest version number.

    ha_enable bool

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    image_id str

    The ID of the image.

    image_owner_alias str

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    input_file_url str

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    is_compute_ess bool

    Specifies whether to enable auto scaling. Default value: false.

    job_queue str

    The queue to which the compute nodes are added.

    key_pair_name str

    The name of the AccessKey pair.

    manager_count int

    The number of the management nodes. Valid values: 1 and 2.

    password str

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    period int

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    period_unit str

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    plugin str

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    post_install_scripts Sequence[ClusterPostInstallScriptArgs]

    The post install script. See post_install_script below.

    ram_node_types Sequence[str]

    The node of the RAM role.

    ram_role_name str

    The name of the Resource Access Management (RAM) role.

    release_instance bool

    The release instance. Valid values: true.

    remote_directory str

    The remote directory to which the file system is mounted.

    remote_vis_enable bool

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    resource_group_id str

    The ID of the resource group.

    scc_cluster_id str

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    scheduler_type str

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    security_group_id str

    The ID of the security group to which the cluster belongs.

    security_group_name str

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    system_disk_level str

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    system_disk_size int

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    system_disk_type str

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    volume_id str

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    volume_mount_option str

    The mount options of the file system.

    volume_mountpoint str

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    volume_protocol str

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    volume_type str

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    vpc_id str

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    vswitch_id str

    The ID of the vSwitch. E-HPC supports only VPC networks.

    without_agent bool

    Specifies whether not to install the agent. Default value: false.

    without_elastic_ip bool

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    zone_id str

    The ID of the zone.

    clusterName String

    The name of the cluster. The name must be 2 to 64 characters in length.

    computeCount Number

    The number of the compute nodes. Valid values: 1 to 99.

    computeInstanceType String

    The instance type of the compute nodes.

    loginCount Number

    The number of the logon nodes. Valid values: 1.

    loginInstanceType String

    The instance type of the logon nodes.

    managerInstanceType String

    The instance type of the management nodes.

    osTag String

    The image tag of the operating system.

    accountType String

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    additionalVolumes List<Property Map>

    The additional volumes. See additional_volumes below.

    applications List<Property Map>

    The application. See application below.

    autoRenew Boolean

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    autoRenewPeriod Number

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    clientVersion String

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    clusterVersion String

    The version of the cluster. Default value: 1.0.

    computeEnableHt Boolean

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    computeSpotPriceLimit String

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    computeSpotStrategy String

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    deployMode String

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    description String

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    domain String

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    ecsChargeType String

    The billing method of the nodes.

    ehpcVersion String

    The version of E-HPC. By default, the parameter is set to the latest version number.

    haEnable Boolean

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    imageId String

    The ID of the image.

    imageOwnerAlias String

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    inputFileUrl String

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    isComputeEss Boolean

    Specifies whether to enable auto scaling. Default value: false.

    jobQueue String

    The queue to which the compute nodes are added.

    keyPairName String

    The name of the AccessKey pair.

    managerCount Number

    The number of the management nodes. Valid values: 1 and 2.

    password String

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    period Number

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    periodUnit String

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    plugin String

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    postInstallScripts List<Property Map>

    The post install script. See post_install_script below.

    ramNodeTypes List<String>

    The node of the RAM role.

    ramRoleName String

    The name of the Resource Access Management (RAM) role.

    releaseInstance Boolean

    The release instance. Valid values: true.

    remoteDirectory String

    The remote directory to which the file system is mounted.

    remoteVisEnable Boolean

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    resourceGroupId String

    The ID of the resource group.

    sccClusterId String

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    schedulerType String

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    securityGroupId String

    The ID of the security group to which the cluster belongs.

    securityGroupName String

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    systemDiskLevel String

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    systemDiskSize Number

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    systemDiskType String

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    volumeId String

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    volumeMountOption String

    The mount options of the file system.

    volumeMountpoint String

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    volumeProtocol String

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    volumeType String

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    vpcId String

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    vswitchId String

    The ID of the vSwitch. E-HPC supports only VPC networks.

    withoutAgent Boolean

    Specifies whether not to install the agent. Default value: false.

    withoutElasticIp Boolean

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    zoneId String

    The ID of the zone.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Status string

    The status of the resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    Status string

    The status of the resource.

    id String

    The provider-assigned unique ID for this managed resource.

    status String

    The status of the resource.

    id string

    The provider-assigned unique ID for this managed resource.

    status string

    The status of the resource.

    id str

    The provider-assigned unique ID for this managed resource.

    status str

    The status of the resource.

    id String

    The provider-assigned unique ID for this managed resource.

    status String

    The status of the resource.

    Look up Existing Cluster Resource

    Get an existing Cluster 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?: ClusterState, opts?: CustomResourceOptions): Cluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_type: Optional[str] = None,
            additional_volumes: Optional[Sequence[ClusterAdditionalVolumeArgs]] = None,
            applications: Optional[Sequence[ClusterApplicationArgs]] = None,
            auto_renew: Optional[bool] = None,
            auto_renew_period: Optional[int] = None,
            client_version: Optional[str] = None,
            cluster_name: Optional[str] = None,
            cluster_version: Optional[str] = None,
            compute_count: Optional[int] = None,
            compute_enable_ht: Optional[bool] = None,
            compute_instance_type: Optional[str] = None,
            compute_spot_price_limit: Optional[str] = None,
            compute_spot_strategy: Optional[str] = None,
            deploy_mode: Optional[str] = None,
            description: Optional[str] = None,
            domain: Optional[str] = None,
            ecs_charge_type: Optional[str] = None,
            ehpc_version: Optional[str] = None,
            ha_enable: Optional[bool] = None,
            image_id: Optional[str] = None,
            image_owner_alias: Optional[str] = None,
            input_file_url: Optional[str] = None,
            is_compute_ess: Optional[bool] = None,
            job_queue: Optional[str] = None,
            key_pair_name: Optional[str] = None,
            login_count: Optional[int] = None,
            login_instance_type: Optional[str] = None,
            manager_count: Optional[int] = None,
            manager_instance_type: Optional[str] = None,
            os_tag: Optional[str] = None,
            password: Optional[str] = None,
            period: Optional[int] = None,
            period_unit: Optional[str] = None,
            plugin: Optional[str] = None,
            post_install_scripts: Optional[Sequence[ClusterPostInstallScriptArgs]] = None,
            ram_node_types: Optional[Sequence[str]] = None,
            ram_role_name: Optional[str] = None,
            release_instance: Optional[bool] = None,
            remote_directory: Optional[str] = None,
            remote_vis_enable: Optional[bool] = None,
            resource_group_id: Optional[str] = None,
            scc_cluster_id: Optional[str] = None,
            scheduler_type: Optional[str] = None,
            security_group_id: Optional[str] = None,
            security_group_name: Optional[str] = None,
            status: Optional[str] = None,
            system_disk_level: Optional[str] = None,
            system_disk_size: Optional[int] = None,
            system_disk_type: Optional[str] = None,
            volume_id: Optional[str] = None,
            volume_mount_option: Optional[str] = None,
            volume_mountpoint: Optional[str] = None,
            volume_protocol: Optional[str] = None,
            volume_type: Optional[str] = None,
            vpc_id: Optional[str] = None,
            vswitch_id: Optional[str] = None,
            without_agent: Optional[bool] = None,
            without_elastic_ip: Optional[bool] = None,
            zone_id: Optional[str] = None) -> Cluster
    func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
    public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
    public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AccountType string

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    AdditionalVolumes List<Pulumi.AliCloud.Ehpc.Inputs.ClusterAdditionalVolume>

    The additional volumes. See additional_volumes below.

    Applications List<Pulumi.AliCloud.Ehpc.Inputs.ClusterApplication>

    The application. See application below.

    AutoRenew bool

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    AutoRenewPeriod int

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    ClientVersion string

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    ClusterName string

    The name of the cluster. The name must be 2 to 64 characters in length.

    ClusterVersion string

    The version of the cluster. Default value: 1.0.

    ComputeCount int

    The number of the compute nodes. Valid values: 1 to 99.

    ComputeEnableHt bool

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    ComputeInstanceType string

    The instance type of the compute nodes.

    ComputeSpotPriceLimit string

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    ComputeSpotStrategy string

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    DeployMode string

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    Description string

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    Domain string

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    EcsChargeType string

    The billing method of the nodes.

    EhpcVersion string

    The version of E-HPC. By default, the parameter is set to the latest version number.

    HaEnable bool

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    ImageId string

    The ID of the image.

    ImageOwnerAlias string

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    InputFileUrl string

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    IsComputeEss bool

    Specifies whether to enable auto scaling. Default value: false.

    JobQueue string

    The queue to which the compute nodes are added.

    KeyPairName string

    The name of the AccessKey pair.

    LoginCount int

    The number of the logon nodes. Valid values: 1.

    LoginInstanceType string

    The instance type of the logon nodes.

    ManagerCount int

    The number of the management nodes. Valid values: 1 and 2.

    ManagerInstanceType string

    The instance type of the management nodes.

    OsTag string

    The image tag of the operating system.

    Password string

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    Period int

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    PeriodUnit string

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    Plugin string

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    PostInstallScripts List<Pulumi.AliCloud.Ehpc.Inputs.ClusterPostInstallScript>

    The post install script. See post_install_script below.

    RamNodeTypes List<string>

    The node of the RAM role.

    RamRoleName string

    The name of the Resource Access Management (RAM) role.

    ReleaseInstance bool

    The release instance. Valid values: true.

    RemoteDirectory string

    The remote directory to which the file system is mounted.

    RemoteVisEnable bool

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    ResourceGroupId string

    The ID of the resource group.

    SccClusterId string

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    SchedulerType string

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    SecurityGroupId string

    The ID of the security group to which the cluster belongs.

    SecurityGroupName string

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    Status string

    The status of the resource.

    SystemDiskLevel string

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    SystemDiskSize int

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    SystemDiskType string

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    VolumeId string

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    VolumeMountOption string

    The mount options of the file system.

    VolumeMountpoint string

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    VolumeProtocol string

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    VolumeType string

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    VpcId string

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    VswitchId string

    The ID of the vSwitch. E-HPC supports only VPC networks.

    WithoutAgent bool

    Specifies whether not to install the agent. Default value: false.

    WithoutElasticIp bool

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    ZoneId string

    The ID of the zone.

    AccountType string

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    AdditionalVolumes []ClusterAdditionalVolumeArgs

    The additional volumes. See additional_volumes below.

    Applications []ClusterApplicationArgs

    The application. See application below.

    AutoRenew bool

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    AutoRenewPeriod int

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    ClientVersion string

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    ClusterName string

    The name of the cluster. The name must be 2 to 64 characters in length.

    ClusterVersion string

    The version of the cluster. Default value: 1.0.

    ComputeCount int

    The number of the compute nodes. Valid values: 1 to 99.

    ComputeEnableHt bool

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    ComputeInstanceType string

    The instance type of the compute nodes.

    ComputeSpotPriceLimit string

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    ComputeSpotStrategy string

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    DeployMode string

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    Description string

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    Domain string

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    EcsChargeType string

    The billing method of the nodes.

    EhpcVersion string

    The version of E-HPC. By default, the parameter is set to the latest version number.

    HaEnable bool

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    ImageId string

    The ID of the image.

    ImageOwnerAlias string

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    InputFileUrl string

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    IsComputeEss bool

    Specifies whether to enable auto scaling. Default value: false.

    JobQueue string

    The queue to which the compute nodes are added.

    KeyPairName string

    The name of the AccessKey pair.

    LoginCount int

    The number of the logon nodes. Valid values: 1.

    LoginInstanceType string

    The instance type of the logon nodes.

    ManagerCount int

    The number of the management nodes. Valid values: 1 and 2.

    ManagerInstanceType string

    The instance type of the management nodes.

    OsTag string

    The image tag of the operating system.

    Password string

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    Period int

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    PeriodUnit string

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    Plugin string

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    PostInstallScripts []ClusterPostInstallScriptArgs

    The post install script. See post_install_script below.

    RamNodeTypes []string

    The node of the RAM role.

    RamRoleName string

    The name of the Resource Access Management (RAM) role.

    ReleaseInstance bool

    The release instance. Valid values: true.

    RemoteDirectory string

    The remote directory to which the file system is mounted.

    RemoteVisEnable bool

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    ResourceGroupId string

    The ID of the resource group.

    SccClusterId string

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    SchedulerType string

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    SecurityGroupId string

    The ID of the security group to which the cluster belongs.

    SecurityGroupName string

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    Status string

    The status of the resource.

    SystemDiskLevel string

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    SystemDiskSize int

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    SystemDiskType string

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    VolumeId string

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    VolumeMountOption string

    The mount options of the file system.

    VolumeMountpoint string

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    VolumeProtocol string

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    VolumeType string

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    VpcId string

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    VswitchId string

    The ID of the vSwitch. E-HPC supports only VPC networks.

    WithoutAgent bool

    Specifies whether not to install the agent. Default value: false.

    WithoutElasticIp bool

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    ZoneId string

    The ID of the zone.

    accountType String

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    additionalVolumes List<ClusterAdditionalVolume>

    The additional volumes. See additional_volumes below.

    applications List<ClusterApplication>

    The application. See application below.

    autoRenew Boolean

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    autoRenewPeriod Integer

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    clientVersion String

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    clusterName String

    The name of the cluster. The name must be 2 to 64 characters in length.

    clusterVersion String

    The version of the cluster. Default value: 1.0.

    computeCount Integer

    The number of the compute nodes. Valid values: 1 to 99.

    computeEnableHt Boolean

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    computeInstanceType String

    The instance type of the compute nodes.

    computeSpotPriceLimit String

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    computeSpotStrategy String

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    deployMode String

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    description String

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    domain String

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    ecsChargeType String

    The billing method of the nodes.

    ehpcVersion String

    The version of E-HPC. By default, the parameter is set to the latest version number.

    haEnable Boolean

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    imageId String

    The ID of the image.

    imageOwnerAlias String

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    inputFileUrl String

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    isComputeEss Boolean

    Specifies whether to enable auto scaling. Default value: false.

    jobQueue String

    The queue to which the compute nodes are added.

    keyPairName String

    The name of the AccessKey pair.

    loginCount Integer

    The number of the logon nodes. Valid values: 1.

    loginInstanceType String

    The instance type of the logon nodes.

    managerCount Integer

    The number of the management nodes. Valid values: 1 and 2.

    managerInstanceType String

    The instance type of the management nodes.

    osTag String

    The image tag of the operating system.

    password String

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    period Integer

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    periodUnit String

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    plugin String

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    postInstallScripts List<ClusterPostInstallScript>

    The post install script. See post_install_script below.

    ramNodeTypes List<String>

    The node of the RAM role.

    ramRoleName String

    The name of the Resource Access Management (RAM) role.

    releaseInstance Boolean

    The release instance. Valid values: true.

    remoteDirectory String

    The remote directory to which the file system is mounted.

    remoteVisEnable Boolean

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    resourceGroupId String

    The ID of the resource group.

    sccClusterId String

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    schedulerType String

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    securityGroupId String

    The ID of the security group to which the cluster belongs.

    securityGroupName String

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    status String

    The status of the resource.

    systemDiskLevel String

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    systemDiskSize Integer

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    systemDiskType String

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    volumeId String

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    volumeMountOption String

    The mount options of the file system.

    volumeMountpoint String

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    volumeProtocol String

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    volumeType String

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    vpcId String

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    vswitchId String

    The ID of the vSwitch. E-HPC supports only VPC networks.

    withoutAgent Boolean

    Specifies whether not to install the agent. Default value: false.

    withoutElasticIp Boolean

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    zoneId String

    The ID of the zone.

    accountType string

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    additionalVolumes ClusterAdditionalVolume[]

    The additional volumes. See additional_volumes below.

    applications ClusterApplication[]

    The application. See application below.

    autoRenew boolean

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    autoRenewPeriod number

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    clientVersion string

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    clusterName string

    The name of the cluster. The name must be 2 to 64 characters in length.

    clusterVersion string

    The version of the cluster. Default value: 1.0.

    computeCount number

    The number of the compute nodes. Valid values: 1 to 99.

    computeEnableHt boolean

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    computeInstanceType string

    The instance type of the compute nodes.

    computeSpotPriceLimit string

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    computeSpotStrategy string

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    deployMode string

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    description string

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    domain string

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    ecsChargeType string

    The billing method of the nodes.

    ehpcVersion string

    The version of E-HPC. By default, the parameter is set to the latest version number.

    haEnable boolean

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    imageId string

    The ID of the image.

    imageOwnerAlias string

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    inputFileUrl string

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    isComputeEss boolean

    Specifies whether to enable auto scaling. Default value: false.

    jobQueue string

    The queue to which the compute nodes are added.

    keyPairName string

    The name of the AccessKey pair.

    loginCount number

    The number of the logon nodes. Valid values: 1.

    loginInstanceType string

    The instance type of the logon nodes.

    managerCount number

    The number of the management nodes. Valid values: 1 and 2.

    managerInstanceType string

    The instance type of the management nodes.

    osTag string

    The image tag of the operating system.

    password string

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    period number

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    periodUnit string

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    plugin string

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    postInstallScripts ClusterPostInstallScript[]

    The post install script. See post_install_script below.

    ramNodeTypes string[]

    The node of the RAM role.

    ramRoleName string

    The name of the Resource Access Management (RAM) role.

    releaseInstance boolean

    The release instance. Valid values: true.

    remoteDirectory string

    The remote directory to which the file system is mounted.

    remoteVisEnable boolean

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    resourceGroupId string

    The ID of the resource group.

    sccClusterId string

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    schedulerType string

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    securityGroupId string

    The ID of the security group to which the cluster belongs.

    securityGroupName string

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    status string

    The status of the resource.

    systemDiskLevel string

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    systemDiskSize number

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    systemDiskType string

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    volumeId string

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    volumeMountOption string

    The mount options of the file system.

    volumeMountpoint string

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    volumeProtocol string

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    volumeType string

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    vpcId string

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    vswitchId string

    The ID of the vSwitch. E-HPC supports only VPC networks.

    withoutAgent boolean

    Specifies whether not to install the agent. Default value: false.

    withoutElasticIp boolean

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    zoneId string

    The ID of the zone.

    account_type str

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    additional_volumes Sequence[ClusterAdditionalVolumeArgs]

    The additional volumes. See additional_volumes below.

    applications Sequence[ClusterApplicationArgs]

    The application. See application below.

    auto_renew bool

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    auto_renew_period int

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    client_version str

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    cluster_name str

    The name of the cluster. The name must be 2 to 64 characters in length.

    cluster_version str

    The version of the cluster. Default value: 1.0.

    compute_count int

    The number of the compute nodes. Valid values: 1 to 99.

    compute_enable_ht bool

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    compute_instance_type str

    The instance type of the compute nodes.

    compute_spot_price_limit str

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    compute_spot_strategy str

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    deploy_mode str

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    description str

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    domain str

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    ecs_charge_type str

    The billing method of the nodes.

    ehpc_version str

    The version of E-HPC. By default, the parameter is set to the latest version number.

    ha_enable bool

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    image_id str

    The ID of the image.

    image_owner_alias str

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    input_file_url str

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    is_compute_ess bool

    Specifies whether to enable auto scaling. Default value: false.

    job_queue str

    The queue to which the compute nodes are added.

    key_pair_name str

    The name of the AccessKey pair.

    login_count int

    The number of the logon nodes. Valid values: 1.

    login_instance_type str

    The instance type of the logon nodes.

    manager_count int

    The number of the management nodes. Valid values: 1 and 2.

    manager_instance_type str

    The instance type of the management nodes.

    os_tag str

    The image tag of the operating system.

    password str

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    period int

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    period_unit str

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    plugin str

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    post_install_scripts Sequence[ClusterPostInstallScriptArgs]

    The post install script. See post_install_script below.

    ram_node_types Sequence[str]

    The node of the RAM role.

    ram_role_name str

    The name of the Resource Access Management (RAM) role.

    release_instance bool

    The release instance. Valid values: true.

    remote_directory str

    The remote directory to which the file system is mounted.

    remote_vis_enable bool

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    resource_group_id str

    The ID of the resource group.

    scc_cluster_id str

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    scheduler_type str

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    security_group_id str

    The ID of the security group to which the cluster belongs.

    security_group_name str

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    status str

    The status of the resource.

    system_disk_level str

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    system_disk_size int

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    system_disk_type str

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    volume_id str

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    volume_mount_option str

    The mount options of the file system.

    volume_mountpoint str

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    volume_protocol str

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    volume_type str

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    vpc_id str

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    vswitch_id str

    The ID of the vSwitch. E-HPC supports only VPC networks.

    without_agent bool

    Specifies whether not to install the agent. Default value: false.

    without_elastic_ip bool

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    zone_id str

    The ID of the zone.

    accountType String

    The type of the domain account service. Valid values: nis, ldap. Default value: nis

    additionalVolumes List<Property Map>

    The additional volumes. See additional_volumes below.

    applications List<Property Map>

    The application. See application below.

    autoRenew Boolean

    Specifies whether to enable auto-renewal for the subscription. Default value: false.

    autoRenewPeriod Number

    The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

    clientVersion String

    The version of the E-HPC client. By default, the parameter is set to the latest version number.

    clusterName String

    The name of the cluster. The name must be 2 to 64 characters in length.

    clusterVersion String

    The version of the cluster. Default value: 1.0.

    computeCount Number

    The number of the compute nodes. Valid values: 1 to 99.

    computeEnableHt Boolean

    Specifies whether the compute nodes support hyper-threading. Default value: true.

    computeInstanceType String

    The instance type of the compute nodes.

    computeSpotPriceLimit String

    The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

    computeSpotStrategy String

    The bidding method of the compute nodes. Default value: NoSpot. Valid values:

    deployMode String

    The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

    description String

    The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

    domain String

    The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

    ecsChargeType String

    The billing method of the nodes.

    ehpcVersion String

    The version of E-HPC. By default, the parameter is set to the latest version number.

    haEnable Boolean

    Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

    imageId String

    The ID of the image.

    imageOwnerAlias String

    The type of the image. Valid values: others, self, system, marketplace. Default value: system.

    inputFileUrl String

    The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

    isComputeEss Boolean

    Specifies whether to enable auto scaling. Default value: false.

    jobQueue String

    The queue to which the compute nodes are added.

    keyPairName String

    The name of the AccessKey pair.

    loginCount Number

    The number of the logon nodes. Valid values: 1.

    loginInstanceType String

    The instance type of the logon nodes.

    managerCount Number

    The number of the management nodes. Valid values: 1 and 2.

    managerInstanceType String

    The instance type of the management nodes.

    osTag String

    The image tag of the operating system.

    password String

    The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

    period Number

    The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

    • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
    • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
    • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
    periodUnit String

    The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

    plugin String

    The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

    • pluginMod: the mode of the plug-in. The following modes are supported:
    • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
    • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
    • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
    • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
    postInstallScripts List<Property Map>

    The post install script. See post_install_script below.

    ramNodeTypes List<String>

    The node of the RAM role.

    ramRoleName String

    The name of the Resource Access Management (RAM) role.

    releaseInstance Boolean

    The release instance. Valid values: true.

    remoteDirectory String

    The remote directory to which the file system is mounted.

    remoteVisEnable Boolean

    Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

    resourceGroupId String

    The ID of the resource group.

    sccClusterId String

    The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

    schedulerType String

    The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

    securityGroupId String

    The ID of the security group to which the cluster belongs.

    securityGroupName String

    If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

    status String

    The status of the resource.

    systemDiskLevel String

    The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

    systemDiskSize Number

    The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

    systemDiskType String

    The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

    volumeId String

    The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.

    volumeMountOption String

    The mount options of the file system.

    volumeMountpoint String

    The mount target of the file system. Take note of the following information:

    • If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
    • If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
    volumeProtocol String

    The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.

    volumeType String

    The type of the shared storage. Only Apsara File Storage NAS file systems are supported.

    vpcId String

    The ID of the virtual private cloud (VPC) to which the cluster belongs.

    vswitchId String

    The ID of the vSwitch. E-HPC supports only VPC networks.

    withoutAgent Boolean

    Specifies whether not to install the agent. Default value: false.

    withoutElasticIp Boolean

    Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

    zoneId String

    The ID of the zone.

    Supporting Types

    ClusterAdditionalVolume, ClusterAdditionalVolumeArgs

    JobQueue string

    The queue of the nodes to which the additional file system is attached.

    LocalDirectory string

    The local directory on which the additional file system is mounted.

    Location string

    The type of the cluster. Valid value: PublicCloud.

    RemoteDirectory string

    The remote directory to which the additional file system is mounted.

    Roles List<Pulumi.AliCloud.Ehpc.Inputs.ClusterAdditionalVolumeRole>

    The roles. See roles below.

    VolumeId string

    The ID of the additional file system.

    VolumeMountOption string

    The mount options of the file system.

    VolumeMountpoint string

    The mount target of the additional file system.

    VolumeProtocol string

    The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

    VolumeType string

    The type of the additional shared storage. Only NAS file systems are supported.

    JobQueue string

    The queue of the nodes to which the additional file system is attached.

    LocalDirectory string

    The local directory on which the additional file system is mounted.

    Location string

    The type of the cluster. Valid value: PublicCloud.

    RemoteDirectory string

    The remote directory to which the additional file system is mounted.

    Roles []ClusterAdditionalVolumeRole

    The roles. See roles below.

    VolumeId string

    The ID of the additional file system.

    VolumeMountOption string

    The mount options of the file system.

    VolumeMountpoint string

    The mount target of the additional file system.

    VolumeProtocol string

    The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

    VolumeType string

    The type of the additional shared storage. Only NAS file systems are supported.

    jobQueue String

    The queue of the nodes to which the additional file system is attached.

    localDirectory String

    The local directory on which the additional file system is mounted.

    location String

    The type of the cluster. Valid value: PublicCloud.

    remoteDirectory String

    The remote directory to which the additional file system is mounted.

    roles List<ClusterAdditionalVolumeRole>

    The roles. See roles below.

    volumeId String

    The ID of the additional file system.

    volumeMountOption String

    The mount options of the file system.

    volumeMountpoint String

    The mount target of the additional file system.

    volumeProtocol String

    The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

    volumeType String

    The type of the additional shared storage. Only NAS file systems are supported.

    jobQueue string

    The queue of the nodes to which the additional file system is attached.

    localDirectory string

    The local directory on which the additional file system is mounted.

    location string

    The type of the cluster. Valid value: PublicCloud.

    remoteDirectory string

    The remote directory to which the additional file system is mounted.

    roles ClusterAdditionalVolumeRole[]

    The roles. See roles below.

    volumeId string

    The ID of the additional file system.

    volumeMountOption string

    The mount options of the file system.

    volumeMountpoint string

    The mount target of the additional file system.

    volumeProtocol string

    The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

    volumeType string

    The type of the additional shared storage. Only NAS file systems are supported.

    job_queue str

    The queue of the nodes to which the additional file system is attached.

    local_directory str

    The local directory on which the additional file system is mounted.

    location str

    The type of the cluster. Valid value: PublicCloud.

    remote_directory str

    The remote directory to which the additional file system is mounted.

    roles Sequence[ClusterAdditionalVolumeRole]

    The roles. See roles below.

    volume_id str

    The ID of the additional file system.

    volume_mount_option str

    The mount options of the file system.

    volume_mountpoint str

    The mount target of the additional file system.

    volume_protocol str

    The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

    volume_type str

    The type of the additional shared storage. Only NAS file systems are supported.

    jobQueue String

    The queue of the nodes to which the additional file system is attached.

    localDirectory String

    The local directory on which the additional file system is mounted.

    location String

    The type of the cluster. Valid value: PublicCloud.

    remoteDirectory String

    The remote directory to which the additional file system is mounted.

    roles List<Property Map>

    The roles. See roles below.

    volumeId String

    The ID of the additional file system.

    volumeMountOption String

    The mount options of the file system.

    volumeMountpoint String

    The mount target of the additional file system.

    volumeProtocol String

    The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

    volumeType String

    The type of the additional shared storage. Only NAS file systems are supported.

    ClusterAdditionalVolumeRole, ClusterAdditionalVolumeRoleArgs

    Name string

    The type of the nodes to which the additional file system is attached.

    Name string

    The type of the nodes to which the additional file system is attached.

    name String

    The type of the nodes to which the additional file system is attached.

    name string

    The type of the nodes to which the additional file system is attached.

    name str

    The type of the nodes to which the additional file system is attached.

    name String

    The type of the nodes to which the additional file system is attached.

    ClusterApplication, ClusterApplicationArgs

    Tag string

    The tag of the software.

    Tag string

    The tag of the software.

    tag String

    The tag of the software.

    tag string

    The tag of the software.

    tag str

    The tag of the software.

    tag String

    The tag of the software.

    ClusterPostInstallScript, ClusterPostInstallScriptArgs

    Args string

    The parameter that is used to run the script after the cluster is created.

    Url string

    The URL that is used to download the script after the cluster is created.

    Args string

    The parameter that is used to run the script after the cluster is created.

    Url string

    The URL that is used to download the script after the cluster is created.

    args String

    The parameter that is used to run the script after the cluster is created.

    url String

    The URL that is used to download the script after the cluster is created.

    args string

    The parameter that is used to run the script after the cluster is created.

    url string

    The URL that is used to download the script after the cluster is created.

    args str

    The parameter that is used to run the script after the cluster is created.

    url str

    The URL that is used to download the script after the cluster is created.

    args String

    The parameter that is used to run the script after the cluster is created.

    url String

    The URL that is used to download the script after the cluster is created.

    Import

    Ehpc Cluster can be imported using the id, e.g.

     $ pulumi import alicloud:ehpc/cluster:Cluster example <id>
    

    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
    Alibaba Cloud v3.43.1 published on Monday, Sep 11, 2023 by Pulumi