1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. ehpc
  5. Cluster
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.ehpc.Cluster

Explore with Pulumi AI

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

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 _default = alicloud.getZones({
    availableResourceCreation: "VSwitch",
});
const defaultGetImages = alicloud.ecs.getImages({
    nameRegex: "^centos_7_6_x64*",
    owners: "system",
});
const defaultGetInstanceTypes = _default.then(_default => alicloud.ecs.getInstanceTypes({
    availabilityZone: _default.zones?.[0]?.id,
}));
const defaultNetwork = new alicloud.vpc.Network("default", {
    vpcName: name,
    cidrBlock: "10.0.0.0/8",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
    vswitchName: name,
    cidrBlock: "10.1.0.0/16",
    vpcId: defaultNetwork.id,
    zoneId: _default.then(_default => _default.zones?.[0]?.id),
});
const defaultFileSystem = new alicloud.nas.FileSystem("default", {
    storageType: "Performance",
    protocolType: "NFS",
});
const defaultMountTarget = new alicloud.nas.MountTarget("default", {
    fileSystemId: defaultFileSystem.id,
    accessGroupName: "DEFAULT_VPC_GROUP_NAME",
    vswitchId: defaultSwitch.id,
});
const defaultCluster = new alicloud.ehpc.Cluster("default", {
    clusterName: name,
    deployMode: "Simple",
    description: name,
    haEnable: false,
    imageId: defaultGetImages.then(defaultGetImages => defaultGetImages.images?.[0]?.id),
    imageOwnerAlias: "system",
    volumeProtocol: "nfs",
    volumeId: defaultFileSystem.id,
    volumeMountpoint: defaultMountTarget.mountTargetDomain,
    computeCount: 1,
    computeInstanceType: defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes?.[0]?.id),
    loginCount: 1,
    loginInstanceType: defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes?.[0]?.id),
    managerCount: 1,
    managerInstanceType: defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes?.[0]?.id),
    osTag: "CentOS_7.6_64",
    schedulerType: "pbs",
    password: "your-password123",
    vswitchId: defaultSwitch.id,
    vpcId: defaultNetwork.id,
    zoneId: _default.then(_default => _default.zones?.[0]?.id),
});
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "tf-example"
default = alicloud.get_zones(available_resource_creation="VSwitch")
default_get_images = alicloud.ecs.get_images(name_regex="^centos_7_6_x64*",
    owners="system")
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id)
default_network = alicloud.vpc.Network("default",
    vpc_name=name,
    cidr_block="10.0.0.0/8")
default_switch = alicloud.vpc.Switch("default",
    vswitch_name=name,
    cidr_block="10.1.0.0/16",
    vpc_id=default_network.id,
    zone_id=default.zones[0].id)
default_file_system = alicloud.nas.FileSystem("default",
    storage_type="Performance",
    protocol_type="NFS")
default_mount_target = alicloud.nas.MountTarget("default",
    file_system_id=default_file_system.id,
    access_group_name="DEFAULT_VPC_GROUP_NAME",
    vswitch_id=default_switch.id)
default_cluster = alicloud.ehpc.Cluster("default",
    cluster_name=name,
    deploy_mode="Simple",
    description=name,
    ha_enable=False,
    image_id=default_get_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_get_instance_types.instance_types[0].id,
    login_count=1,
    login_instance_type=default_get_instance_types.instance_types[0].id,
    manager_count=1,
    manager_instance_type=default_get_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[0].id)
Copy
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
		}
		_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			NameRegex: pulumi.StringRef("^centos_7_6_x64*"),
			Owners:    pulumi.StringRef("system"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone: pulumi.StringRef(_default.Zones[0].Id),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.0.0.0/8"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			CidrBlock:   pulumi.String("10.1.0.0/16"),
			VpcId:       defaultNetwork.ID(),
			ZoneId:      pulumi.String(_default.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		defaultFileSystem, err := nas.NewFileSystem(ctx, "default", &nas.FileSystemArgs{
			StorageType:  pulumi.String("Performance"),
			ProtocolType: pulumi.String("NFS"),
		})
		if err != nil {
			return err
		}
		defaultMountTarget, err := nas.NewMountTarget(ctx, "default", &nas.MountTargetArgs{
			FileSystemId:    defaultFileSystem.ID(),
			AccessGroupName: pulumi.String("DEFAULT_VPC_GROUP_NAME"),
			VswitchId:       defaultSwitch.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ehpc.NewCluster(ctx, "default", &ehpc.ClusterArgs{
			ClusterName:         pulumi.String(name),
			DeployMode:          pulumi.String("Simple"),
			Description:         pulumi.String(name),
			HaEnable:            pulumi.Bool(false),
			ImageId:             pulumi.String(defaultGetImages.Images[0].Id),
			ImageOwnerAlias:     pulumi.String("system"),
			VolumeProtocol:      pulumi.String("nfs"),
			VolumeId:            defaultFileSystem.ID(),
			VolumeMountpoint:    defaultMountTarget.MountTargetDomain,
			ComputeCount:        pulumi.Int(1),
			ComputeInstanceType: pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id),
			LoginCount:          pulumi.Int(1),
			LoginInstanceType:   pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id),
			ManagerCount:        pulumi.Int(1),
			ManagerInstanceType: pulumi.String(defaultGetInstanceTypes.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(_default.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 @default = AliCloud.GetZones.Invoke(new()
    {
        AvailableResourceCreation = "VSwitch",
    });

    var defaultGetImages = AliCloud.Ecs.GetImages.Invoke(new()
    {
        NameRegex = "^centos_7_6_x64*",
        Owners = "system",
    });

    var defaultGetInstanceTypes = AliCloud.Ecs.GetInstanceTypes.Invoke(new()
    {
        AvailabilityZone = @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
    });

    var defaultNetwork = new AliCloud.Vpc.Network("default", new()
    {
        VpcName = name,
        CidrBlock = "10.0.0.0/8",
    });

    var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
    {
        VswitchName = name,
        CidrBlock = "10.1.0.0/16",
        VpcId = defaultNetwork.Id,
        ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
    });

    var defaultFileSystem = new AliCloud.Nas.FileSystem("default", new()
    {
        StorageType = "Performance",
        ProtocolType = "NFS",
    });

    var defaultMountTarget = new AliCloud.Nas.MountTarget("default", new()
    {
        FileSystemId = defaultFileSystem.Id,
        AccessGroupName = "DEFAULT_VPC_GROUP_NAME",
        VswitchId = defaultSwitch.Id,
    });

    var defaultCluster = new AliCloud.Ehpc.Cluster("default", new()
    {
        ClusterName = name,
        DeployMode = "Simple",
        Description = name,
        HaEnable = false,
        ImageId = defaultGetImages.Apply(getImagesResult => getImagesResult.Images[0]?.Id),
        ImageOwnerAlias = "system",
        VolumeProtocol = "nfs",
        VolumeId = defaultFileSystem.Id,
        VolumeMountpoint = defaultMountTarget.MountTargetDomain,
        ComputeCount = 1,
        ComputeInstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
        LoginCount = 1,
        LoginInstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
        ManagerCount = 1,
        ManagerInstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
        OsTag = "CentOS_7.6_64",
        SchedulerType = "pbs",
        Password = "your-password123",
        VswitchId = defaultSwitch.Id,
        VpcId = defaultNetwork.Id,
        ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
    });

});
Copy
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 default = AlicloudFunctions.getZones(GetZonesArgs.builder()
            .availableResourceCreation("VSwitch")
            .build());

        final var defaultGetImages = EcsFunctions.getImages(GetImagesArgs.builder()
            .nameRegex("^centos_7_6_x64*")
            .owners("system")
            .build());

        final var defaultGetInstanceTypes = EcsFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
            .availabilityZone(default_.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(default_.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(defaultGetImages.applyValue(getImagesResult -> getImagesResult.images()[0].id()))
            .imageOwnerAlias("system")
            .volumeProtocol("nfs")
            .volumeId(defaultFileSystem.id())
            .volumeMountpoint(defaultMountTarget.mountTargetDomain())
            .computeCount(1)
            .computeInstanceType(defaultGetInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
            .loginCount(1)
            .loginInstanceType(defaultGetInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
            .managerCount(1)
            .managerInstanceType(defaultGetInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
            .osTag("CentOS_7.6_64")
            .schedulerType("pbs")
            .password("your-password123")
            .vswitchId(defaultSwitch.id())
            .vpcId(defaultNetwork.id())
            .zoneId(default_.zones()[0].id())
            .build());

    }
}
Copy
configuration:
  name:
    type: string
    default: tf-example
resources:
  defaultNetwork:
    type: alicloud:vpc:Network
    name: default
    properties:
      vpcName: ${name}
      cidrBlock: 10.0.0.0/8
  defaultSwitch:
    type: alicloud:vpc:Switch
    name: default
    properties:
      vswitchName: ${name}
      cidrBlock: 10.1.0.0/16
      vpcId: ${defaultNetwork.id}
      zoneId: ${default.zones[0].id}
  defaultFileSystem:
    type: alicloud:nas:FileSystem
    name: default
    properties:
      storageType: Performance
      protocolType: NFS
  defaultMountTarget:
    type: alicloud:nas:MountTarget
    name: default
    properties:
      fileSystemId: ${defaultFileSystem.id}
      accessGroupName: DEFAULT_VPC_GROUP_NAME
      vswitchId: ${defaultSwitch.id}
  defaultCluster:
    type: alicloud:ehpc:Cluster
    name: default
    properties:
      clusterName: ${name}
      deployMode: Simple
      description: ${name}
      haEnable: false
      imageId: ${defaultGetImages.images[0].id}
      imageOwnerAlias: system
      volumeProtocol: nfs
      volumeId: ${defaultFileSystem.id}
      volumeMountpoint: ${defaultMountTarget.mountTargetDomain}
      computeCount: 1
      computeInstanceType: ${defaultGetInstanceTypes.instanceTypes[0].id}
      loginCount: 1
      loginInstanceType: ${defaultGetInstanceTypes.instanceTypes[0].id}
      managerCount: 1
      managerInstanceType: ${defaultGetInstanceTypes.instanceTypes[0].id}
      osTag: CentOS_7.6_64
      schedulerType: pbs
      password: your-password123
      vswitchId: ${defaultSwitch.id}
      vpcId: ${defaultNetwork.id}
      zoneId: ${default.zones[0].id}
variables:
  default:
    fn::invoke:
      function: alicloud:getZones
      arguments:
        availableResourceCreation: VSwitch
  defaultGetImages:
    fn::invoke:
      function: alicloud:ecs:getImages
      arguments:
        nameRegex: ^centos_7_6_x64*
        owners: system
  defaultGetInstanceTypes:
    fn::invoke:
      function: alicloud:ecs:getInstanceTypes
      arguments:
        availabilityZone: ${default.zones[0].id}
Copy

Create Cluster Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
            args: ClusterArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Cluster(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            compute_count: Optional[int] = None,
            os_tag: Optional[str] = None,
            manager_instance_type: Optional[str] = None,
            login_instance_type: Optional[str] = None,
            login_count: Optional[int] = None,
            compute_instance_type: Optional[str] = None,
            cluster_name: Optional[str] = None,
            description: Optional[str] = None,
            period_unit: Optional[str] = None,
            compute_enable_ht: Optional[bool] = None,
            client_version: Optional[str] = None,
            compute_spot_price_limit: Optional[str] = None,
            compute_spot_strategy: Optional[str] = None,
            deploy_mode: Optional[str] = None,
            account_type: 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,
            auto_renew_period: Optional[int] = None,
            auto_renew: Optional[bool] = None,
            manager_count: Optional[int] = None,
            applications: Optional[Sequence[ClusterApplicationArgs]] = None,
            additional_volumes: Optional[Sequence[ClusterAdditionalVolumeArgs]] = None,
            password: Optional[str] = None,
            period: Optional[int] = None,
            cluster_version: 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)
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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ClusterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ClusterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var exampleclusterResourceResourceFromEhpccluster = new AliCloud.Ehpc.Cluster("exampleclusterResourceResourceFromEhpccluster", new()
{
    ComputeCount = 0,
    OsTag = "string",
    ManagerInstanceType = "string",
    LoginInstanceType = "string",
    LoginCount = 0,
    ComputeInstanceType = "string",
    ClusterName = "string",
    Description = "string",
    PeriodUnit = "string",
    ComputeEnableHt = false,
    ClientVersion = "string",
    ComputeSpotPriceLimit = "string",
    ComputeSpotStrategy = "string",
    DeployMode = "string",
    AccountType = "string",
    Domain = "string",
    EcsChargeType = "string",
    EhpcVersion = "string",
    HaEnable = false,
    ImageId = "string",
    ImageOwnerAlias = "string",
    InputFileUrl = "string",
    IsComputeEss = false,
    JobQueue = "string",
    KeyPairName = "string",
    AutoRenewPeriod = 0,
    AutoRenew = false,
    ManagerCount = 0,
    Applications = new[]
    {
        new AliCloud.Ehpc.Inputs.ClusterApplicationArgs
        {
            Tag = "string",
        },
    },
    AdditionalVolumes = new[]
    {
        new AliCloud.Ehpc.Inputs.ClusterAdditionalVolumeArgs
        {
            JobQueue = "string",
            LocalDirectory = "string",
            Location = "string",
            RemoteDirectory = "string",
            Roles = new[]
            {
                new AliCloud.Ehpc.Inputs.ClusterAdditionalVolumeRoleArgs
                {
                    Name = "string",
                },
            },
            VolumeId = "string",
            VolumeMountOption = "string",
            VolumeMountpoint = "string",
            VolumeProtocol = "string",
            VolumeType = "string",
        },
    },
    Password = "string",
    Period = 0,
    ClusterVersion = "string",
    Plugin = "string",
    PostInstallScripts = new[]
    {
        new AliCloud.Ehpc.Inputs.ClusterPostInstallScriptArgs
        {
            Args = "string",
            Url = "string",
        },
    },
    RamNodeTypes = new[]
    {
        "string",
    },
    RamRoleName = "string",
    ReleaseInstance = false,
    RemoteDirectory = "string",
    RemoteVisEnable = false,
    ResourceGroupId = "string",
    SccClusterId = "string",
    SchedulerType = "string",
    SecurityGroupId = "string",
    SecurityGroupName = "string",
    SystemDiskLevel = "string",
    SystemDiskSize = 0,
    SystemDiskType = "string",
    VolumeId = "string",
    VolumeMountOption = "string",
    VolumeMountpoint = "string",
    VolumeProtocol = "string",
    VolumeType = "string",
    VpcId = "string",
    VswitchId = "string",
    WithoutAgent = false,
    WithoutElasticIp = false,
    ZoneId = "string",
});
Copy
example, err := ehpc.NewCluster(ctx, "exampleclusterResourceResourceFromEhpccluster", &ehpc.ClusterArgs{
	ComputeCount:          pulumi.Int(0),
	OsTag:                 pulumi.String("string"),
	ManagerInstanceType:   pulumi.String("string"),
	LoginInstanceType:     pulumi.String("string"),
	LoginCount:            pulumi.Int(0),
	ComputeInstanceType:   pulumi.String("string"),
	ClusterName:           pulumi.String("string"),
	Description:           pulumi.String("string"),
	PeriodUnit:            pulumi.String("string"),
	ComputeEnableHt:       pulumi.Bool(false),
	ClientVersion:         pulumi.String("string"),
	ComputeSpotPriceLimit: pulumi.String("string"),
	ComputeSpotStrategy:   pulumi.String("string"),
	DeployMode:            pulumi.String("string"),
	AccountType:           pulumi.String("string"),
	Domain:                pulumi.String("string"),
	EcsChargeType:         pulumi.String("string"),
	EhpcVersion:           pulumi.String("string"),
	HaEnable:              pulumi.Bool(false),
	ImageId:               pulumi.String("string"),
	ImageOwnerAlias:       pulumi.String("string"),
	InputFileUrl:          pulumi.String("string"),
	IsComputeEss:          pulumi.Bool(false),
	JobQueue:              pulumi.String("string"),
	KeyPairName:           pulumi.String("string"),
	AutoRenewPeriod:       pulumi.Int(0),
	AutoRenew:             pulumi.Bool(false),
	ManagerCount:          pulumi.Int(0),
	Applications: ehpc.ClusterApplicationArray{
		&ehpc.ClusterApplicationArgs{
			Tag: pulumi.String("string"),
		},
	},
	AdditionalVolumes: ehpc.ClusterAdditionalVolumeArray{
		&ehpc.ClusterAdditionalVolumeArgs{
			JobQueue:        pulumi.String("string"),
			LocalDirectory:  pulumi.String("string"),
			Location:        pulumi.String("string"),
			RemoteDirectory: pulumi.String("string"),
			Roles: ehpc.ClusterAdditionalVolumeRoleArray{
				&ehpc.ClusterAdditionalVolumeRoleArgs{
					Name: pulumi.String("string"),
				},
			},
			VolumeId:          pulumi.String("string"),
			VolumeMountOption: pulumi.String("string"),
			VolumeMountpoint:  pulumi.String("string"),
			VolumeProtocol:    pulumi.String("string"),
			VolumeType:        pulumi.String("string"),
		},
	},
	Password:       pulumi.String("string"),
	Period:         pulumi.Int(0),
	ClusterVersion: pulumi.String("string"),
	Plugin:         pulumi.String("string"),
	PostInstallScripts: ehpc.ClusterPostInstallScriptArray{
		&ehpc.ClusterPostInstallScriptArgs{
			Args: pulumi.String("string"),
			Url:  pulumi.String("string"),
		},
	},
	RamNodeTypes: pulumi.StringArray{
		pulumi.String("string"),
	},
	RamRoleName:       pulumi.String("string"),
	ReleaseInstance:   pulumi.Bool(false),
	RemoteDirectory:   pulumi.String("string"),
	RemoteVisEnable:   pulumi.Bool(false),
	ResourceGroupId:   pulumi.String("string"),
	SccClusterId:      pulumi.String("string"),
	SchedulerType:     pulumi.String("string"),
	SecurityGroupId:   pulumi.String("string"),
	SecurityGroupName: pulumi.String("string"),
	SystemDiskLevel:   pulumi.String("string"),
	SystemDiskSize:    pulumi.Int(0),
	SystemDiskType:    pulumi.String("string"),
	VolumeId:          pulumi.String("string"),
	VolumeMountOption: pulumi.String("string"),
	VolumeMountpoint:  pulumi.String("string"),
	VolumeProtocol:    pulumi.String("string"),
	VolumeType:        pulumi.String("string"),
	VpcId:             pulumi.String("string"),
	VswitchId:         pulumi.String("string"),
	WithoutAgent:      pulumi.Bool(false),
	WithoutElasticIp:  pulumi.Bool(false),
	ZoneId:            pulumi.String("string"),
})
Copy
var exampleclusterResourceResourceFromEhpccluster = new Cluster("exampleclusterResourceResourceFromEhpccluster", ClusterArgs.builder()
    .computeCount(0)
    .osTag("string")
    .managerInstanceType("string")
    .loginInstanceType("string")
    .loginCount(0)
    .computeInstanceType("string")
    .clusterName("string")
    .description("string")
    .periodUnit("string")
    .computeEnableHt(false)
    .clientVersion("string")
    .computeSpotPriceLimit("string")
    .computeSpotStrategy("string")
    .deployMode("string")
    .accountType("string")
    .domain("string")
    .ecsChargeType("string")
    .ehpcVersion("string")
    .haEnable(false)
    .imageId("string")
    .imageOwnerAlias("string")
    .inputFileUrl("string")
    .isComputeEss(false)
    .jobQueue("string")
    .keyPairName("string")
    .autoRenewPeriod(0)
    .autoRenew(false)
    .managerCount(0)
    .applications(ClusterApplicationArgs.builder()
        .tag("string")
        .build())
    .additionalVolumes(ClusterAdditionalVolumeArgs.builder()
        .jobQueue("string")
        .localDirectory("string")
        .location("string")
        .remoteDirectory("string")
        .roles(ClusterAdditionalVolumeRoleArgs.builder()
            .name("string")
            .build())
        .volumeId("string")
        .volumeMountOption("string")
        .volumeMountpoint("string")
        .volumeProtocol("string")
        .volumeType("string")
        .build())
    .password("string")
    .period(0)
    .clusterVersion("string")
    .plugin("string")
    .postInstallScripts(ClusterPostInstallScriptArgs.builder()
        .args("string")
        .url("string")
        .build())
    .ramNodeTypes("string")
    .ramRoleName("string")
    .releaseInstance(false)
    .remoteDirectory("string")
    .remoteVisEnable(false)
    .resourceGroupId("string")
    .sccClusterId("string")
    .schedulerType("string")
    .securityGroupId("string")
    .securityGroupName("string")
    .systemDiskLevel("string")
    .systemDiskSize(0)
    .systemDiskType("string")
    .volumeId("string")
    .volumeMountOption("string")
    .volumeMountpoint("string")
    .volumeProtocol("string")
    .volumeType("string")
    .vpcId("string")
    .vswitchId("string")
    .withoutAgent(false)
    .withoutElasticIp(false)
    .zoneId("string")
    .build());
Copy
examplecluster_resource_resource_from_ehpccluster = alicloud.ehpc.Cluster("exampleclusterResourceResourceFromEhpccluster",
    compute_count=0,
    os_tag="string",
    manager_instance_type="string",
    login_instance_type="string",
    login_count=0,
    compute_instance_type="string",
    cluster_name="string",
    description="string",
    period_unit="string",
    compute_enable_ht=False,
    client_version="string",
    compute_spot_price_limit="string",
    compute_spot_strategy="string",
    deploy_mode="string",
    account_type="string",
    domain="string",
    ecs_charge_type="string",
    ehpc_version="string",
    ha_enable=False,
    image_id="string",
    image_owner_alias="string",
    input_file_url="string",
    is_compute_ess=False,
    job_queue="string",
    key_pair_name="string",
    auto_renew_period=0,
    auto_renew=False,
    manager_count=0,
    applications=[{
        "tag": "string",
    }],
    additional_volumes=[{
        "job_queue": "string",
        "local_directory": "string",
        "location": "string",
        "remote_directory": "string",
        "roles": [{
            "name": "string",
        }],
        "volume_id": "string",
        "volume_mount_option": "string",
        "volume_mountpoint": "string",
        "volume_protocol": "string",
        "volume_type": "string",
    }],
    password="string",
    period=0,
    cluster_version="string",
    plugin="string",
    post_install_scripts=[{
        "args": "string",
        "url": "string",
    }],
    ram_node_types=["string"],
    ram_role_name="string",
    release_instance=False,
    remote_directory="string",
    remote_vis_enable=False,
    resource_group_id="string",
    scc_cluster_id="string",
    scheduler_type="string",
    security_group_id="string",
    security_group_name="string",
    system_disk_level="string",
    system_disk_size=0,
    system_disk_type="string",
    volume_id="string",
    volume_mount_option="string",
    volume_mountpoint="string",
    volume_protocol="string",
    volume_type="string",
    vpc_id="string",
    vswitch_id="string",
    without_agent=False,
    without_elastic_ip=False,
    zone_id="string")
Copy
const exampleclusterResourceResourceFromEhpccluster = new alicloud.ehpc.Cluster("exampleclusterResourceResourceFromEhpccluster", {
    computeCount: 0,
    osTag: "string",
    managerInstanceType: "string",
    loginInstanceType: "string",
    loginCount: 0,
    computeInstanceType: "string",
    clusterName: "string",
    description: "string",
    periodUnit: "string",
    computeEnableHt: false,
    clientVersion: "string",
    computeSpotPriceLimit: "string",
    computeSpotStrategy: "string",
    deployMode: "string",
    accountType: "string",
    domain: "string",
    ecsChargeType: "string",
    ehpcVersion: "string",
    haEnable: false,
    imageId: "string",
    imageOwnerAlias: "string",
    inputFileUrl: "string",
    isComputeEss: false,
    jobQueue: "string",
    keyPairName: "string",
    autoRenewPeriod: 0,
    autoRenew: false,
    managerCount: 0,
    applications: [{
        tag: "string",
    }],
    additionalVolumes: [{
        jobQueue: "string",
        localDirectory: "string",
        location: "string",
        remoteDirectory: "string",
        roles: [{
            name: "string",
        }],
        volumeId: "string",
        volumeMountOption: "string",
        volumeMountpoint: "string",
        volumeProtocol: "string",
        volumeType: "string",
    }],
    password: "string",
    period: 0,
    clusterVersion: "string",
    plugin: "string",
    postInstallScripts: [{
        args: "string",
        url: "string",
    }],
    ramNodeTypes: ["string"],
    ramRoleName: "string",
    releaseInstance: false,
    remoteDirectory: "string",
    remoteVisEnable: false,
    resourceGroupId: "string",
    sccClusterId: "string",
    schedulerType: "string",
    securityGroupId: "string",
    securityGroupName: "string",
    systemDiskLevel: "string",
    systemDiskSize: 0,
    systemDiskType: "string",
    volumeId: "string",
    volumeMountOption: "string",
    volumeMountpoint: "string",
    volumeProtocol: "string",
    volumeType: "string",
    vpcId: "string",
    vswitchId: "string",
    withoutAgent: false,
    withoutElasticIp: false,
    zoneId: "string",
});
Copy
type: alicloud:ehpc:Cluster
properties:
    accountType: string
    additionalVolumes:
        - jobQueue: string
          localDirectory: string
          location: string
          remoteDirectory: string
          roles:
            - name: string
          volumeId: string
          volumeMountOption: string
          volumeMountpoint: string
          volumeProtocol: string
          volumeType: string
    applications:
        - tag: string
    autoRenew: false
    autoRenewPeriod: 0
    clientVersion: string
    clusterName: string
    clusterVersion: string
    computeCount: 0
    computeEnableHt: false
    computeInstanceType: string
    computeSpotPriceLimit: string
    computeSpotStrategy: string
    deployMode: string
    description: string
    domain: string
    ecsChargeType: string
    ehpcVersion: string
    haEnable: false
    imageId: string
    imageOwnerAlias: string
    inputFileUrl: string
    isComputeEss: false
    jobQueue: string
    keyPairName: string
    loginCount: 0
    loginInstanceType: string
    managerCount: 0
    managerInstanceType: string
    osTag: string
    password: string
    period: 0
    periodUnit: string
    plugin: string
    postInstallScripts:
        - args: string
          url: string
    ramNodeTypes:
        - string
    ramRoleName: string
    releaseInstance: false
    remoteDirectory: string
    remoteVisEnable: false
    resourceGroupId: string
    sccClusterId: string
    schedulerType: string
    securityGroupId: string
    securityGroupName: string
    systemDiskLevel: string
    systemDiskSize: 0
    systemDiskType: string
    volumeId: string
    volumeMountOption: string
    volumeMountpoint: string
    volumeProtocol: string
    volumeType: string
    vpcId: string
    vswitchId: string
    withoutAgent: false
    withoutElasticIp: false
    zoneId: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Cluster resource accepts the following input properties:

ClusterName This property is required. string
The name of the cluster. The name must be 2 to 64 characters in length.
ComputeCount
This property is required.
Changes to this property will trigger replacement.
int
The number of the compute nodes. Valid values: 1 to 99.
ComputeInstanceType
This property is required.
Changes to this property will trigger replacement.
string
The instance type of the compute nodes.
LoginCount
This property is required.
Changes to this property will trigger replacement.
int
The number of the logon nodes. Valid values: 1.
LoginInstanceType
This property is required.
Changes to this property will trigger replacement.
string
The instance type of the logon nodes.
ManagerInstanceType
This property is required.
Changes to this property will trigger replacement.
string
The instance type of the management nodes.
OsTag
This property is required.
Changes to this property will trigger replacement.
string
The image tag of the operating system.
AccountType Changes to this property will trigger replacement. string
The type of the domain account service. Valid values: nis, ldap. Default value: nis
AdditionalVolumes Changes to this property will trigger replacement. List<Pulumi.AliCloud.Ehpc.Inputs.ClusterAdditionalVolume>
The additional volumes. See additional_volumes below.
Applications Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
DeployMode Changes to this property will trigger replacement. string
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The name of the AccessKey pair.
ManagerCount Changes to this property will trigger replacement. int
The number of the management nodes. Valid values: 1 and 2.
Password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
SecurityGroupId Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
VolumeType Changes to this property will trigger replacement. string
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
VpcId Changes to this property will trigger replacement. string
The ID of the virtual private cloud (VPC) to which the cluster belongs.
VswitchId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The ID of the zone.
ClusterName This property is required. string
The name of the cluster. The name must be 2 to 64 characters in length.
ComputeCount
This property is required.
Changes to this property will trigger replacement.
int
The number of the compute nodes. Valid values: 1 to 99.
ComputeInstanceType
This property is required.
Changes to this property will trigger replacement.
string
The instance type of the compute nodes.
LoginCount
This property is required.
Changes to this property will trigger replacement.
int
The number of the logon nodes. Valid values: 1.
LoginInstanceType
This property is required.
Changes to this property will trigger replacement.
string
The instance type of the logon nodes.
ManagerInstanceType
This property is required.
Changes to this property will trigger replacement.
string
The instance type of the management nodes.
OsTag
This property is required.
Changes to this property will trigger replacement.
string
The image tag of the operating system.
AccountType Changes to this property will trigger replacement. string
The type of the domain account service. Valid values: nis, ldap. Default value: nis
AdditionalVolumes Changes to this property will trigger replacement. []ClusterAdditionalVolumeArgs
The additional volumes. See additional_volumes below.
Applications Changes to this property will trigger replacement. []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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
DeployMode Changes to this property will trigger replacement. string
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The name of the AccessKey pair.
ManagerCount Changes to this property will trigger replacement. int
The number of the management nodes. Valid values: 1 and 2.
Password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. []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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
SecurityGroupId Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
VolumeType Changes to this property will trigger replacement. string
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
VpcId Changes to this property will trigger replacement. string
The ID of the virtual private cloud (VPC) to which the cluster belongs.
VswitchId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The ID of the zone.
clusterName This property is required. String
The name of the cluster. The name must be 2 to 64 characters in length.
computeCount
This property is required.
Changes to this property will trigger replacement.
Integer
The number of the compute nodes. Valid values: 1 to 99.
computeInstanceType
This property is required.
Changes to this property will trigger replacement.
String
The instance type of the compute nodes.
loginCount
This property is required.
Changes to this property will trigger replacement.
Integer
The number of the logon nodes. Valid values: 1.
loginInstanceType
This property is required.
Changes to this property will trigger replacement.
String
The instance type of the logon nodes.
managerInstanceType
This property is required.
Changes to this property will trigger replacement.
String
The instance type of the management nodes.
osTag
This property is required.
Changes to this property will trigger replacement.
String
The image tag of the operating system.
accountType Changes to this property will trigger replacement. String
The type of the domain account service. Valid values: nis, ldap. Default value: nis
additionalVolumes Changes to this property will trigger replacement. List<ClusterAdditionalVolume>
The additional volumes. See additional_volumes below.
applications Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode Changes to this property will trigger replacement. String
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The name of the AccessKey pair.
managerCount Changes to this property will trigger replacement. Integer
The number of the management nodes. Valid values: 1 and 2.
password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
securityGroupId Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
volumeType Changes to this property will trigger replacement. String
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
vpcId Changes to this property will trigger replacement. String
The ID of the virtual private cloud (VPC) to which the cluster belongs.
vswitchId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The ID of the zone.
clusterName This property is required. string
The name of the cluster. The name must be 2 to 64 characters in length.
computeCount
This property is required.
Changes to this property will trigger replacement.
number
The number of the compute nodes. Valid values: 1 to 99.
computeInstanceType
This property is required.
Changes to this property will trigger replacement.
string
The instance type of the compute nodes.
loginCount
This property is required.
Changes to this property will trigger replacement.
number
The number of the logon nodes. Valid values: 1.
loginInstanceType
This property is required.
Changes to this property will trigger replacement.
string
The instance type of the logon nodes.
managerInstanceType
This property is required.
Changes to this property will trigger replacement.
string
The instance type of the management nodes.
osTag
This property is required.
Changes to this property will trigger replacement.
string
The image tag of the operating system.
accountType Changes to this property will trigger replacement. string
The type of the domain account service. Valid values: nis, ldap. Default value: nis
additionalVolumes Changes to this property will trigger replacement. ClusterAdditionalVolume[]
The additional volumes. See additional_volumes below.
applications Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode Changes to this property will trigger replacement. string
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The name of the AccessKey pair.
managerCount Changes to this property will trigger replacement. number
The number of the management nodes. Valid values: 1 and 2.
password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
securityGroupId Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
volumeType Changes to this property will trigger replacement. string
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
vpcId Changes to this property will trigger replacement. string
The ID of the virtual private cloud (VPC) to which the cluster belongs.
vswitchId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The ID of the zone.
cluster_name This property is required. str
The name of the cluster. The name must be 2 to 64 characters in length.
compute_count
This property is required.
Changes to this property will trigger replacement.
int
The number of the compute nodes. Valid values: 1 to 99.
compute_instance_type
This property is required.
Changes to this property will trigger replacement.
str
The instance type of the compute nodes.
login_count
This property is required.
Changes to this property will trigger replacement.
int
The number of the logon nodes. Valid values: 1.
login_instance_type
This property is required.
Changes to this property will trigger replacement.
str
The instance type of the logon nodes.
manager_instance_type
This property is required.
Changes to this property will trigger replacement.
str
The instance type of the management nodes.
os_tag
This property is required.
Changes to this property will trigger replacement.
str
The image tag of the operating system.
account_type Changes to this property will trigger replacement. str
The type of the domain account service. Valid values: nis, ldap. Default value: nis
additional_volumes Changes to this property will trigger replacement. Sequence[ClusterAdditionalVolumeArgs]
The additional volumes. See additional_volumes below.
applications Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deploy_mode Changes to this property will trigger replacement. str
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The name of the AccessKey pair.
manager_count Changes to this property will trigger replacement. int
The number of the management nodes. Valid values: 1 and 2.
password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
security_group_id Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
volume_type Changes to this property will trigger replacement. str
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
vpc_id Changes to this property will trigger replacement. str
The ID of the virtual private cloud (VPC) to which the cluster belongs.
vswitch_id Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The ID of the zone.
clusterName This property is required. String
The name of the cluster. The name must be 2 to 64 characters in length.
computeCount
This property is required.
Changes to this property will trigger replacement.
Number
The number of the compute nodes. Valid values: 1 to 99.
computeInstanceType
This property is required.
Changes to this property will trigger replacement.
String
The instance type of the compute nodes.
loginCount
This property is required.
Changes to this property will trigger replacement.
Number
The number of the logon nodes. Valid values: 1.
loginInstanceType
This property is required.
Changes to this property will trigger replacement.
String
The instance type of the logon nodes.
managerInstanceType
This property is required.
Changes to this property will trigger replacement.
String
The instance type of the management nodes.
osTag
This property is required.
Changes to this property will trigger replacement.
String
The image tag of the operating system.
accountType Changes to this property will trigger replacement. String
The type of the domain account service. Valid values: nis, ldap. Default value: nis
additionalVolumes Changes to this property will trigger replacement. List<Property Map>
The additional volumes. See additional_volumes below.
applications Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode Changes to this property will trigger replacement. String
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The name of the AccessKey pair.
managerCount Changes to this property will trigger replacement. Number
The number of the management nodes. Valid values: 1 and 2.
password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
securityGroupId Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
volumeType Changes to this property will trigger replacement. String
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
vpcId Changes to this property will trigger replacement. String
The ID of the virtual private cloud (VPC) to which the cluster belongs.
vswitchId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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)
resources:  _:    type: alicloud:ehpc:Cluster    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. string
The type of the domain account service. Valid values: nis, ldap. Default value: nis
AdditionalVolumes Changes to this property will trigger replacement. List<Pulumi.AliCloud.Ehpc.Inputs.ClusterAdditionalVolume>
The additional volumes. See additional_volumes below.
Applications Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
DeployMode Changes to this property will trigger replacement. string
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The name of the AccessKey pair.
LoginCount Changes to this property will trigger replacement. int
The number of the logon nodes. Valid values: 1.
LoginInstanceType Changes to this property will trigger replacement. string
The instance type of the logon nodes.
ManagerCount Changes to this property will trigger replacement. int
The number of the management nodes. Valid values: 1 and 2.
ManagerInstanceType Changes to this property will trigger replacement. string
The instance type of the management nodes.
OsTag Changes to this property will trigger replacement. string
The image tag of the operating system.
Password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
SecurityGroupId Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
VolumeType Changes to this property will trigger replacement. string
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
VpcId Changes to this property will trigger replacement. string
The ID of the virtual private cloud (VPC) to which the cluster belongs.
VswitchId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The ID of the zone.
AccountType Changes to this property will trigger replacement. string
The type of the domain account service. Valid values: nis, ldap. Default value: nis
AdditionalVolumes Changes to this property will trigger replacement. []ClusterAdditionalVolumeArgs
The additional volumes. See additional_volumes below.
Applications Changes to this property will trigger replacement. []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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
DeployMode Changes to this property will trigger replacement. string
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The name of the AccessKey pair.
LoginCount Changes to this property will trigger replacement. int
The number of the logon nodes. Valid values: 1.
LoginInstanceType Changes to this property will trigger replacement. string
The instance type of the logon nodes.
ManagerCount Changes to this property will trigger replacement. int
The number of the management nodes. Valid values: 1 and 2.
ManagerInstanceType Changes to this property will trigger replacement. string
The instance type of the management nodes.
OsTag Changes to this property will trigger replacement. string
The image tag of the operating system.
Password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. []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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
SecurityGroupId Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
VolumeType Changes to this property will trigger replacement. string
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
VpcId Changes to this property will trigger replacement. string
The ID of the virtual private cloud (VPC) to which the cluster belongs.
VswitchId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The ID of the zone.
accountType Changes to this property will trigger replacement. String
The type of the domain account service. Valid values: nis, ldap. Default value: nis
additionalVolumes Changes to this property will trigger replacement. List<ClusterAdditionalVolume>
The additional volumes. See additional_volumes below.
applications Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode Changes to this property will trigger replacement. String
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The name of the AccessKey pair.
loginCount Changes to this property will trigger replacement. Integer
The number of the logon nodes. Valid values: 1.
loginInstanceType Changes to this property will trigger replacement. String
The instance type of the logon nodes.
managerCount Changes to this property will trigger replacement. Integer
The number of the management nodes. Valid values: 1 and 2.
managerInstanceType Changes to this property will trigger replacement. String
The instance type of the management nodes.
osTag Changes to this property will trigger replacement. String
The image tag of the operating system.
password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
securityGroupId Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
volumeType Changes to this property will trigger replacement. String
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
vpcId Changes to this property will trigger replacement. String
The ID of the virtual private cloud (VPC) to which the cluster belongs.
vswitchId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The ID of the zone.
accountType Changes to this property will trigger replacement. string
The type of the domain account service. Valid values: nis, ldap. Default value: nis
additionalVolumes Changes to this property will trigger replacement. ClusterAdditionalVolume[]
The additional volumes. See additional_volumes below.
applications Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode Changes to this property will trigger replacement. string
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The name of the AccessKey pair.
loginCount Changes to this property will trigger replacement. number
The number of the logon nodes. Valid values: 1.
loginInstanceType Changes to this property will trigger replacement. string
The instance type of the logon nodes.
managerCount Changes to this property will trigger replacement. number
The number of the management nodes. Valid values: 1 and 2.
managerInstanceType Changes to this property will trigger replacement. string
The instance type of the management nodes.
osTag Changes to this property will trigger replacement. string
The image tag of the operating system.
password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
securityGroupId Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
volumeType Changes to this property will trigger replacement. string
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
vpcId Changes to this property will trigger replacement. string
The ID of the virtual private cloud (VPC) to which the cluster belongs.
vswitchId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The ID of the zone.
account_type Changes to this property will trigger replacement. str
The type of the domain account service. Valid values: nis, ldap. Default value: nis
additional_volumes Changes to this property will trigger replacement. Sequence[ClusterAdditionalVolumeArgs]
The additional volumes. See additional_volumes below.
applications Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deploy_mode Changes to this property will trigger replacement. str
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The name of the AccessKey pair.
login_count Changes to this property will trigger replacement. int
The number of the logon nodes. Valid values: 1.
login_instance_type Changes to this property will trigger replacement. str
The instance type of the logon nodes.
manager_count Changes to this property will trigger replacement. int
The number of the management nodes. Valid values: 1 and 2.
manager_instance_type Changes to this property will trigger replacement. str
The instance type of the management nodes.
os_tag Changes to this property will trigger replacement. str
The image tag of the operating system.
password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
security_group_id Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
volume_type Changes to this property will trigger replacement. str
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
vpc_id Changes to this property will trigger replacement. str
The ID of the virtual private cloud (VPC) to which the cluster belongs.
vswitch_id Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The ID of the zone.
accountType Changes to this property will trigger replacement. String
The type of the domain account service. Valid values: nis, ldap. Default value: nis
additionalVolumes Changes to this property will trigger replacement. List<Property Map>
The additional volumes. See additional_volumes below.
applications Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode Changes to this property will trigger replacement. String
The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.
  • Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.
  • Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The name of the AccessKey pair.
loginCount Changes to this property will trigger replacement. Number
The number of the logon nodes. Valid values: 1.
loginInstanceType Changes to this property will trigger replacement. String
The instance type of the logon nodes.
managerCount Changes to this property will trigger replacement. Number
The number of the management nodes. Valid values: 1 and 2.
managerInstanceType Changes to this property will trigger replacement. String
The instance type of the management nodes.
osTag Changes to this property will trigger replacement. String
The image tag of the operating system.
password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.
securityGroupId Changes to this property will trigger replacement. 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:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The type of the protocol that is used by the file system. Valid values: NFS, SMB. Default value: NFS.
volumeType Changes to this property will trigger replacement. String
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
vpcId Changes to this property will trigger replacement. String
The ID of the virtual private cloud (VPC) to which the cluster belongs.
vswitchId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.