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
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var defaultZones = AliCloud.GetZones.Invoke(new()
{
AvailableResourceCreation = "VSwitch",
});
var defaultImages = AliCloud.Ecs.GetImages.Invoke(new()
{
NameRegex = "^centos_7_6_x64*",
Owners = "system",
});
var defaultInstanceTypes = AliCloud.Ecs.GetInstanceTypes.Invoke(new()
{
AvailabilityZone = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
});
var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new()
{
VpcName = name,
CidrBlock = "10.0.0.0/8",
});
var defaultSwitch = new AliCloud.Vpc.Switch("defaultSwitch", new()
{
VswitchName = name,
CidrBlock = "10.1.0.0/16",
VpcId = defaultNetwork.Id,
ZoneId = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
});
var defaultFileSystem = new AliCloud.Nas.FileSystem("defaultFileSystem", new()
{
StorageType = "Performance",
ProtocolType = "NFS",
});
var defaultMountTarget = new AliCloud.Nas.MountTarget("defaultMountTarget", new()
{
FileSystemId = defaultFileSystem.Id,
AccessGroupName = "DEFAULT_VPC_GROUP_NAME",
VswitchId = defaultSwitch.Id,
});
var defaultCluster = new AliCloud.Ehpc.Cluster("defaultCluster", new()
{
ClusterName = name,
DeployMode = "Simple",
Description = name,
HaEnable = false,
ImageId = defaultImages.Apply(getImagesResult => getImagesResult.Images[0]?.Id),
ImageOwnerAlias = "system",
VolumeProtocol = "nfs",
VolumeId = defaultFileSystem.Id,
VolumeMountpoint = defaultMountTarget.MountTargetDomain,
ComputeCount = 1,
ComputeInstanceType = defaultInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
LoginCount = 1,
LoginInstanceType = defaultInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
ManagerCount = 1,
ManagerInstanceType = defaultInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
OsTag = "CentOS_7.6_64",
SchedulerType = "pbs",
Password = "your-password123",
VswitchId = defaultSwitch.Id,
VpcId = defaultNetwork.Id,
ZoneId = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ehpc"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/nas"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
AvailableResourceCreation: pulumi.StringRef("VSwitch"),
}, nil)
if err != nil {
return err
}
defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
NameRegex: pulumi.StringRef("^centos_7_6_x64*"),
Owners: pulumi.StringRef("system"),
}, nil)
if err != nil {
return err
}
defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
AvailabilityZone: pulumi.StringRef(defaultZones.Zones[0].Id),
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
VpcName: pulumi.String(name),
CidrBlock: pulumi.String("10.0.0.0/8"),
})
if err != nil {
return err
}
defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
VswitchName: pulumi.String(name),
CidrBlock: pulumi.String("10.1.0.0/16"),
VpcId: defaultNetwork.ID(),
ZoneId: *pulumi.String(defaultZones.Zones[0].Id),
})
if err != nil {
return err
}
defaultFileSystem, err := nas.NewFileSystem(ctx, "defaultFileSystem", &nas.FileSystemArgs{
StorageType: pulumi.String("Performance"),
ProtocolType: pulumi.String("NFS"),
})
if err != nil {
return err
}
defaultMountTarget, err := nas.NewMountTarget(ctx, "defaultMountTarget", &nas.MountTargetArgs{
FileSystemId: defaultFileSystem.ID(),
AccessGroupName: pulumi.String("DEFAULT_VPC_GROUP_NAME"),
VswitchId: defaultSwitch.ID(),
})
if err != nil {
return err
}
_, err = ehpc.NewCluster(ctx, "defaultCluster", &ehpc.ClusterArgs{
ClusterName: pulumi.String(name),
DeployMode: pulumi.String("Simple"),
Description: pulumi.String(name),
HaEnable: pulumi.Bool(false),
ImageId: *pulumi.String(defaultImages.Images[0].Id),
ImageOwnerAlias: pulumi.String("system"),
VolumeProtocol: pulumi.String("nfs"),
VolumeId: defaultFileSystem.ID(),
VolumeMountpoint: defaultMountTarget.MountTargetDomain,
ComputeCount: pulumi.Int(1),
ComputeInstanceType: *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
LoginCount: pulumi.Int(1),
LoginInstanceType: *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
ManagerCount: pulumi.Int(1),
ManagerInstanceType: *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
OsTag: pulumi.String("CentOS_7.6_64"),
SchedulerType: pulumi.String("pbs"),
Password: pulumi.String("your-password123"),
VswitchId: defaultSwitch.ID(),
VpcId: defaultNetwork.ID(),
ZoneId: *pulumi.String(defaultZones.Zones[0].Id),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.ecs.EcsFunctions;
import com.pulumi.alicloud.ecs.inputs.GetImagesArgs;
import com.pulumi.alicloud.ecs.inputs.GetInstanceTypesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.nas.FileSystem;
import com.pulumi.alicloud.nas.FileSystemArgs;
import com.pulumi.alicloud.nas.MountTarget;
import com.pulumi.alicloud.nas.MountTargetArgs;
import com.pulumi.alicloud.ehpc.Cluster;
import com.pulumi.alicloud.ehpc.ClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf-example");
final var defaultZones = AlicloudFunctions.getZones(GetZonesArgs.builder()
.availableResourceCreation("VSwitch")
.build());
final var defaultImages = EcsFunctions.getImages(GetImagesArgs.builder()
.nameRegex("^centos_7_6_x64*")
.owners("system")
.build());
final var defaultInstanceTypes = EcsFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
.availabilityZone(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(name)
.cidrBlock("10.0.0.0/8")
.build());
var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
.vswitchName(name)
.cidrBlock("10.1.0.0/16")
.vpcId(defaultNetwork.id())
.zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.build());
var defaultFileSystem = new FileSystem("defaultFileSystem", FileSystemArgs.builder()
.storageType("Performance")
.protocolType("NFS")
.build());
var defaultMountTarget = new MountTarget("defaultMountTarget", MountTargetArgs.builder()
.fileSystemId(defaultFileSystem.id())
.accessGroupName("DEFAULT_VPC_GROUP_NAME")
.vswitchId(defaultSwitch.id())
.build());
var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()
.clusterName(name)
.deployMode("Simple")
.description(name)
.haEnable(false)
.imageId(defaultImages.applyValue(getImagesResult -> getImagesResult.images()[0].id()))
.imageOwnerAlias("system")
.volumeProtocol("nfs")
.volumeId(defaultFileSystem.id())
.volumeMountpoint(defaultMountTarget.mountTargetDomain())
.computeCount(1)
.computeInstanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
.loginCount(1)
.loginInstanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
.managerCount(1)
.managerInstanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
.osTag("CentOS_7.6_64")
.schedulerType("pbs")
.password("your-password123")
.vswitchId(defaultSwitch.id())
.vpcId(defaultNetwork.id())
.zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
default_zones = alicloud.get_zones(available_resource_creation="VSwitch")
default_images = alicloud.ecs.get_images(name_regex="^centos_7_6_x64*",
owners="system")
default_instance_types = alicloud.ecs.get_instance_types(availability_zone=default_zones.zones[0].id)
default_network = alicloud.vpc.Network("defaultNetwork",
vpc_name=name,
cidr_block="10.0.0.0/8")
default_switch = alicloud.vpc.Switch("defaultSwitch",
vswitch_name=name,
cidr_block="10.1.0.0/16",
vpc_id=default_network.id,
zone_id=default_zones.zones[0].id)
default_file_system = alicloud.nas.FileSystem("defaultFileSystem",
storage_type="Performance",
protocol_type="NFS")
default_mount_target = alicloud.nas.MountTarget("defaultMountTarget",
file_system_id=default_file_system.id,
access_group_name="DEFAULT_VPC_GROUP_NAME",
vswitch_id=default_switch.id)
default_cluster = alicloud.ehpc.Cluster("defaultCluster",
cluster_name=name,
deploy_mode="Simple",
description=name,
ha_enable=False,
image_id=default_images.images[0].id,
image_owner_alias="system",
volume_protocol="nfs",
volume_id=default_file_system.id,
volume_mountpoint=default_mount_target.mount_target_domain,
compute_count=1,
compute_instance_type=default_instance_types.instance_types[0].id,
login_count=1,
login_instance_type=default_instance_types.instance_types[0].id,
manager_count=1,
manager_instance_type=default_instance_types.instance_types[0].id,
os_tag="CentOS_7.6_64",
scheduler_type="pbs",
password="your-password123",
vswitch_id=default_switch.id,
vpc_id=default_network.id,
zone_id=default_zones.zones[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const defaultZones = alicloud.getZones({
availableResourceCreation: "VSwitch",
});
const defaultImages = alicloud.ecs.getImages({
nameRegex: "^centos_7_6_x64*",
owners: "system",
});
const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
availabilityZone: defaultZones.zones?.[0]?.id,
}));
const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
vpcName: name,
cidrBlock: "10.0.0.0/8",
});
const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
vswitchName: name,
cidrBlock: "10.1.0.0/16",
vpcId: defaultNetwork.id,
zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
});
const defaultFileSystem = new alicloud.nas.FileSystem("defaultFileSystem", {
storageType: "Performance",
protocolType: "NFS",
});
const defaultMountTarget = new alicloud.nas.MountTarget("defaultMountTarget", {
fileSystemId: defaultFileSystem.id,
accessGroupName: "DEFAULT_VPC_GROUP_NAME",
vswitchId: defaultSwitch.id,
});
const defaultCluster = new alicloud.ehpc.Cluster("defaultCluster", {
clusterName: name,
deployMode: "Simple",
description: name,
haEnable: false,
imageId: defaultImages.then(defaultImages => defaultImages.images?.[0]?.id),
imageOwnerAlias: "system",
volumeProtocol: "nfs",
volumeId: defaultFileSystem.id,
volumeMountpoint: defaultMountTarget.mountTargetDomain,
computeCount: 1,
computeInstanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id),
loginCount: 1,
loginInstanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id),
managerCount: 1,
managerInstanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id),
osTag: "CentOS_7.6_64",
schedulerType: "pbs",
password: "your-password123",
vswitchId: defaultSwitch.id,
vpcId: defaultNetwork.id,
zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
});
configuration:
name:
type: string
default: tf-example
resources:
defaultNetwork:
type: alicloud:vpc:Network
properties:
vpcName: ${name}
cidrBlock: 10.0.0.0/8
defaultSwitch:
type: alicloud:vpc:Switch
properties:
vswitchName: ${name}
cidrBlock: 10.1.0.0/16
vpcId: ${defaultNetwork.id}
zoneId: ${defaultZones.zones[0].id}
defaultFileSystem:
type: alicloud:nas:FileSystem
properties:
storageType: Performance
protocolType: NFS
defaultMountTarget:
type: alicloud:nas:MountTarget
properties:
fileSystemId: ${defaultFileSystem.id}
accessGroupName: DEFAULT_VPC_GROUP_NAME
vswitchId: ${defaultSwitch.id}
defaultCluster:
type: alicloud:ehpc:Cluster
properties:
clusterName: ${name}
deployMode: Simple
description: ${name}
haEnable: false
imageId: ${defaultImages.images[0].id}
imageOwnerAlias: system
volumeProtocol: nfs
volumeId: ${defaultFileSystem.id}
volumeMountpoint: ${defaultMountTarget.mountTargetDomain}
computeCount: 1
computeInstanceType: ${defaultInstanceTypes.instanceTypes[0].id}
loginCount: 1
loginInstanceType: ${defaultInstanceTypes.instanceTypes[0].id}
managerCount: 1
managerInstanceType: ${defaultInstanceTypes.instanceTypes[0].id}
osTag: CentOS_7.6_64
schedulerType: pbs
password: your-password123
vswitchId: ${defaultSwitch.id}
vpcId: ${defaultNetwork.id}
zoneId: ${defaultZones.zones[0].id}
variables:
defaultZones:
fn::invoke:
Function: alicloud:getZones
Arguments:
availableResourceCreation: VSwitch
defaultImages:
fn::invoke:
Function: alicloud:ecs:getImages
Arguments:
nameRegex: ^centos_7_6_x64*
owners: system
defaultInstanceTypes:
fn::invoke:
Function: alicloud:ecs:getInstanceTypes
Arguments:
availabilityZone: ${defaultZones.zones[0].id}
Create Cluster Resource
new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_type: Optional[str] = None,
additional_volumes: Optional[Sequence[ClusterAdditionalVolumeArgs]] = None,
applications: Optional[Sequence[ClusterApplicationArgs]] = None,
auto_renew: Optional[bool] = None,
auto_renew_period: Optional[int] = None,
client_version: Optional[str] = None,
cluster_name: Optional[str] = None,
cluster_version: Optional[str] = None,
compute_count: Optional[int] = None,
compute_enable_ht: Optional[bool] = None,
compute_instance_type: Optional[str] = None,
compute_spot_price_limit: Optional[str] = None,
compute_spot_strategy: Optional[str] = None,
deploy_mode: Optional[str] = None,
description: Optional[str] = None,
domain: Optional[str] = None,
ecs_charge_type: Optional[str] = None,
ehpc_version: Optional[str] = None,
ha_enable: Optional[bool] = None,
image_id: Optional[str] = None,
image_owner_alias: Optional[str] = None,
input_file_url: Optional[str] = None,
is_compute_ess: Optional[bool] = None,
job_queue: Optional[str] = None,
key_pair_name: Optional[str] = None,
login_count: Optional[int] = None,
login_instance_type: Optional[str] = None,
manager_count: Optional[int] = None,
manager_instance_type: Optional[str] = None,
os_tag: Optional[str] = None,
password: Optional[str] = None,
period: Optional[int] = None,
period_unit: Optional[str] = None,
plugin: Optional[str] = None,
post_install_scripts: Optional[Sequence[ClusterPostInstallScriptArgs]] = None,
ram_node_types: Optional[Sequence[str]] = None,
ram_role_name: Optional[str] = None,
release_instance: Optional[bool] = None,
remote_directory: Optional[str] = None,
remote_vis_enable: Optional[bool] = None,
resource_group_id: Optional[str] = None,
scc_cluster_id: Optional[str] = None,
scheduler_type: Optional[str] = None,
security_group_id: Optional[str] = None,
security_group_name: Optional[str] = None,
system_disk_level: Optional[str] = None,
system_disk_size: Optional[int] = None,
system_disk_type: Optional[str] = None,
volume_id: Optional[str] = None,
volume_mount_option: Optional[str] = None,
volume_mountpoint: Optional[str] = None,
volume_protocol: Optional[str] = None,
volume_type: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
without_agent: Optional[bool] = None,
without_elastic_ip: Optional[bool] = None,
zone_id: Optional[str] = None)
@overload
def Cluster(resource_name: str,
args: ClusterArgs,
opts: Optional[ResourceOptions] = None)
func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: alicloud:ehpc:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Cluster resource accepts the following input properties:
- Cluster
Name string The name of the cluster. The name must be
2
to64
characters in length.- Compute
Count int The number of the compute nodes. Valid values:
1
to99
.- Compute
Instance stringType The instance type of the compute nodes.
- Login
Count int The number of the logon nodes. Valid values:
1
.- Login
Instance stringType The instance type of the logon nodes.
- Manager
Instance stringType The instance type of the management nodes.
- Os
Tag string The image tag of the operating system.
- Account
Type string The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- Additional
Volumes List<Pulumi.Ali Cloud. Ehpc. Inputs. Cluster Additional Volume> The additional volumes. See
additional_volumes
below.- Applications
List<Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster Application> The application. See
application
below.- Auto
Renew bool Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- Auto
Renew intPeriod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- Client
Version string The version of the E-HPC client. By default, the parameter is set to the latest version number.
- Cluster
Version string The version of the cluster. Default value:
1.0
.- Compute
Enable boolHt Specifies whether the compute nodes support hyper-threading. Default value:
true
.- Compute
Spot stringPrice Limit 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 stringStrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- Deploy
Mode string The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- Description string
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- Domain string
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
- Ecs
Charge stringType The billing method of the nodes.
- Ehpc
Version string The version of E-HPC. By default, the parameter is set to the latest version number.
- Ha
Enable bool Specifies whether to enable the high availability feature. Default value:
false
. Note: If high availability is enabled, a primary management node and a secondary management node are used.- Image
Id string The ID of the image.
- Image
Owner stringAlias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- Input
File stringUrl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- Is
Compute boolEss Specifies whether to enable auto scaling. Default value:
false
.- Job
Queue string The queue to which the compute nodes are added.
- Key
Pair stringName The name of the AccessKey pair.
- Manager
Count int The number of the management nodes. Valid values: 1 and 2.
- Password string
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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 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.
- Post
Install List<Pulumi.Scripts Ali Cloud. Ehpc. Inputs. Cluster Post Install Script> The post install script. See
post_install_script
below.- Ram
Node List<string>Types The node of the RAM role.
- Ram
Role stringName The name of the Resource Access Management (RAM) role.
- Release
Instance bool The release instance. Valid values:
true
.- Remote
Directory string The remote directory to which the file system is mounted.
- Remote
Vis boolEnable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- Resource
Group stringId The ID of the resource group.
- Scc
Cluster stringId 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 string The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- Security
Group stringId The ID of the security group to which the cluster belongs.
- Security
Group stringName 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 stringLevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- System
Disk intSize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- System
Disk stringType The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- Volume
Id string The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- Volume
Mount stringOption The mount options of the file system.
- Volume
Mountpoint 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.
- Volume
Protocol string The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- Volume
Type string The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- Vpc
Id string The ID of the virtual private cloud (VPC) to which the cluster belongs.
- Vswitch
Id string 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 boolIp Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- Zone
Id string The ID of the zone.
- Cluster
Name string The name of the cluster. The name must be
2
to64
characters in length.- Compute
Count int The number of the compute nodes. Valid values:
1
to99
.- Compute
Instance stringType The instance type of the compute nodes.
- Login
Count int The number of the logon nodes. Valid values:
1
.- Login
Instance stringType The instance type of the logon nodes.
- Manager
Instance stringType The instance type of the management nodes.
- Os
Tag string The image tag of the operating system.
- Account
Type string The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- Additional
Volumes []ClusterAdditional Volume Args The additional volumes. See
additional_volumes
below.- Applications
[]Cluster
Application Args The application. See
application
below.- Auto
Renew bool Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- Auto
Renew intPeriod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- Client
Version string The version of the E-HPC client. By default, the parameter is set to the latest version number.
- Cluster
Version string The version of the cluster. Default value:
1.0
.- Compute
Enable boolHt Specifies whether the compute nodes support hyper-threading. Default value:
true
.- Compute
Spot stringPrice Limit 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 stringStrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- Deploy
Mode string The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- Description string
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- Domain string
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
- Ecs
Charge stringType The billing method of the nodes.
- Ehpc
Version string The version of E-HPC. By default, the parameter is set to the latest version number.
- Ha
Enable bool Specifies whether to enable the high availability feature. Default value:
false
. Note: If high availability is enabled, a primary management node and a secondary management node are used.- Image
Id string The ID of the image.
- Image
Owner stringAlias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- Input
File stringUrl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- Is
Compute boolEss Specifies whether to enable auto scaling. Default value:
false
.- Job
Queue string The queue to which the compute nodes are added.
- Key
Pair stringName The name of the AccessKey pair.
- Manager
Count int The number of the management nodes. Valid values: 1 and 2.
- Password string
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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 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.
- Post
Install []ClusterScripts Post Install Script Args The post install script. See
post_install_script
below.- Ram
Node []stringTypes The node of the RAM role.
- Ram
Role stringName The name of the Resource Access Management (RAM) role.
- Release
Instance bool The release instance. Valid values:
true
.- Remote
Directory string The remote directory to which the file system is mounted.
- Remote
Vis boolEnable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- Resource
Group stringId The ID of the resource group.
- Scc
Cluster stringId 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 string The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- Security
Group stringId The ID of the security group to which the cluster belongs.
- Security
Group stringName 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 stringLevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- System
Disk intSize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- System
Disk stringType The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- Volume
Id string The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- Volume
Mount stringOption The mount options of the file system.
- Volume
Mountpoint 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.
- Volume
Protocol string The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- Volume
Type string The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- Vpc
Id string The ID of the virtual private cloud (VPC) to which the cluster belongs.
- Vswitch
Id string 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 boolIp Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- Zone
Id string The ID of the zone.
- cluster
Name String The name of the cluster. The name must be
2
to64
characters in length.- compute
Count Integer The number of the compute nodes. Valid values:
1
to99
.- compute
Instance StringType The instance type of the compute nodes.
- login
Count Integer The number of the logon nodes. Valid values:
1
.- login
Instance StringType The instance type of the logon nodes.
- manager
Instance StringType The instance type of the management nodes.
- os
Tag String The image tag of the operating system.
- account
Type String The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- additional
Volumes List<ClusterAdditional Volume> The additional volumes. See
additional_volumes
below.- applications
List<Cluster
Application> The application. See
application
below.- auto
Renew Boolean Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- auto
Renew IntegerPeriod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- client
Version String The version of the E-HPC client. By default, the parameter is set to the latest version number.
- cluster
Version String The version of the cluster. Default value:
1.0
.- compute
Enable BooleanHt Specifies whether the compute nodes support hyper-threading. Default value:
true
.- compute
Spot StringPrice Limit 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 StringStrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- deploy
Mode String The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- description String
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- domain String
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
- ecs
Charge StringType The billing method of the nodes.
- ehpc
Version String The version of E-HPC. By default, the parameter is set to the latest version number.
- ha
Enable 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.- image
Id String The ID of the image.
- image
Owner StringAlias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- input
File StringUrl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- is
Compute BooleanEss Specifies whether to enable auto scaling. Default value:
false
.- job
Queue String The queue to which the compute nodes are added.
- key
Pair StringName The name of the AccessKey pair.
- manager
Count Integer The number of the management nodes. Valid values: 1 and 2.
- password String
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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.
- period
Unit 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.
- post
Install List<ClusterScripts Post Install Script> The post install script. See
post_install_script
below.- ram
Node List<String>Types The node of the RAM role.
- ram
Role StringName The name of the Resource Access Management (RAM) role.
- release
Instance Boolean The release instance. Valid values:
true
.- remote
Directory String The remote directory to which the file system is mounted.
- remote
Vis BooleanEnable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- resource
Group StringId The ID of the resource group.
- scc
Cluster StringId 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 String The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- security
Group StringId The ID of the security group to which the cluster belongs.
- security
Group StringName 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 StringLevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- system
Disk IntegerSize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- system
Disk StringType The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- volume
Id String The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- volume
Mount StringOption The mount options of the file system.
- volume
Mountpoint 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.
- volume
Protocol String The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- volume
Type String The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- vpc
Id String The ID of the virtual private cloud (VPC) to which the cluster belongs.
- vswitch
Id String The ID of the vSwitch. E-HPC supports only VPC networks.
- without
Agent Boolean Specifies whether not to install the agent. Default value:
false
.- without
Elastic BooleanIp Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- zone
Id String The ID of the zone.
- cluster
Name string The name of the cluster. The name must be
2
to64
characters in length.- compute
Count number The number of the compute nodes. Valid values:
1
to99
.- compute
Instance stringType The instance type of the compute nodes.
- login
Count number The number of the logon nodes. Valid values:
1
.- login
Instance stringType The instance type of the logon nodes.
- manager
Instance stringType The instance type of the management nodes.
- os
Tag string The image tag of the operating system.
- account
Type string The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- additional
Volumes ClusterAdditional Volume[] The additional volumes. See
additional_volumes
below.- applications
Cluster
Application[] The application. See
application
below.- auto
Renew boolean Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- auto
Renew numberPeriod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- client
Version string The version of the E-HPC client. By default, the parameter is set to the latest version number.
- cluster
Version string The version of the cluster. Default value:
1.0
.- compute
Enable booleanHt Specifies whether the compute nodes support hyper-threading. Default value:
true
.- compute
Spot stringPrice Limit 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 stringStrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- deploy
Mode string The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- description string
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- domain string
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
- ecs
Charge stringType The billing method of the nodes.
- ehpc
Version string The version of E-HPC. By default, the parameter is set to the latest version number.
- ha
Enable 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.- image
Id string The ID of the image.
- image
Owner stringAlias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- input
File stringUrl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- is
Compute booleanEss Specifies whether to enable auto scaling. Default value:
false
.- job
Queue string The queue to which the compute nodes are added.
- key
Pair stringName The name of the AccessKey pair.
- manager
Count number The number of the management nodes. Valid values: 1 and 2.
- password string
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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.
- period
Unit 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.
- post
Install ClusterScripts Post Install Script[] The post install script. See
post_install_script
below.- ram
Node string[]Types The node of the RAM role.
- ram
Role stringName The name of the Resource Access Management (RAM) role.
- release
Instance boolean The release instance. Valid values:
true
.- remote
Directory string The remote directory to which the file system is mounted.
- remote
Vis booleanEnable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- resource
Group stringId The ID of the resource group.
- scc
Cluster stringId 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 string The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- security
Group stringId The ID of the security group to which the cluster belongs.
- security
Group stringName 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 stringLevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- system
Disk numberSize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- system
Disk stringType The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- volume
Id string The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- volume
Mount stringOption The mount options of the file system.
- volume
Mountpoint 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.
- volume
Protocol string The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- volume
Type string The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- vpc
Id string The ID of the virtual private cloud (VPC) to which the cluster belongs.
- vswitch
Id string The ID of the vSwitch. E-HPC supports only VPC networks.
- without
Agent boolean Specifies whether not to install the agent. Default value:
false
.- without
Elastic booleanIp Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- zone
Id string The ID of the zone.
- cluster_
name str The name of the cluster. The name must be
2
to64
characters in length.- compute_
count int The number of the compute nodes. Valid values:
1
to99
.- compute_
instance_ strtype The instance type of the compute nodes.
- login_
count int The number of the logon nodes. Valid values:
1
.- login_
instance_ strtype The instance type of the logon nodes.
- manager_
instance_ strtype The instance type of the management nodes.
- os_
tag str The image tag of the operating system.
- account_
type str The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- additional_
volumes Sequence[ClusterAdditional Volume Args] The additional volumes. See
additional_volumes
below.- applications
Sequence[Cluster
Application Args] The application. See
application
below.- auto_
renew bool Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- auto_
renew_ intperiod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- client_
version str The version of the E-HPC client. By default, the parameter is set to the latest version number.
- cluster_
version str The version of the cluster. Default value:
1.0
.- compute_
enable_ boolht Specifies whether the compute nodes support hyper-threading. Default value:
true
.- compute_
spot_ strprice_ limit 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_ strstrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- deploy_
mode str The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- description str
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- 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_ strtype The billing method of the nodes.
- ehpc_
version str The version of E-HPC. By default, the parameter is set to the latest version number.
- ha_
enable bool Specifies whether to enable the high availability feature. Default value:
false
. Note: If high availability is enabled, a primary management node and a secondary management node are used.- image_
id str The ID of the image.
- image_
owner_ stralias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- input_
file_ strurl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- is_
compute_ booless Specifies whether to enable auto scaling. Default value:
false
.- job_
queue str The queue to which the compute nodes are added.
- key_
pair_ strname The name of the AccessKey pair.
- manager_
count int The number of the management nodes. Valid values: 1 and 2.
- password str
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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_ Sequence[Clusterscripts Post Install Script Args] The post install script. See
post_install_script
below.- ram_
node_ Sequence[str]types The node of the RAM role.
- ram_
role_ strname The name of the Resource Access Management (RAM) role.
- release_
instance bool The release instance. Valid values:
true
.- remote_
directory str The remote directory to which the file system is mounted.
- remote_
vis_ boolenable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- resource_
group_ strid The ID of the resource group.
- scc_
cluster_ strid The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.
- scheduler_
type str The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- security_
group_ strid The ID of the security group to which the cluster belongs.
- security_
group_ strname 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_ strlevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- system_
disk_ intsize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- system_
disk_ strtype The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- volume_
id str The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- volume_
mount_ stroption The mount options of the file system.
- volume_
mountpoint str The mount target of the file system. Take note of the following information:
- If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
- If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
- volume_
protocol str The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- volume_
type str The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- vpc_
id str The ID of the virtual private cloud (VPC) to which the cluster belongs.
- vswitch_
id str The ID of the vSwitch. E-HPC supports only VPC networks.
- without_
agent bool Specifies whether not to install the agent. Default value:
false
.- without_
elastic_ boolip Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- zone_
id str The ID of the zone.
- cluster
Name String The name of the cluster. The name must be
2
to64
characters in length.- compute
Count Number The number of the compute nodes. Valid values:
1
to99
.- compute
Instance StringType The instance type of the compute nodes.
- login
Count Number The number of the logon nodes. Valid values:
1
.- login
Instance StringType The instance type of the logon nodes.
- manager
Instance StringType The instance type of the management nodes.
- os
Tag String The image tag of the operating system.
- account
Type String The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- additional
Volumes List<Property Map> The additional volumes. See
additional_volumes
below.- applications List<Property Map>
The application. See
application
below.- auto
Renew Boolean Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- auto
Renew NumberPeriod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- client
Version String The version of the E-HPC client. By default, the parameter is set to the latest version number.
- cluster
Version String The version of the cluster. Default value:
1.0
.- compute
Enable BooleanHt Specifies whether the compute nodes support hyper-threading. Default value:
true
.- compute
Spot StringPrice Limit 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 StringStrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- deploy
Mode String The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- description String
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- domain String
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
- ecs
Charge StringType The billing method of the nodes.
- ehpc
Version String The version of E-HPC. By default, the parameter is set to the latest version number.
- ha
Enable 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.- image
Id String The ID of the image.
- image
Owner StringAlias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- input
File StringUrl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- is
Compute BooleanEss Specifies whether to enable auto scaling. Default value:
false
.- job
Queue String The queue to which the compute nodes are added.
- key
Pair StringName The name of the AccessKey pair.
- manager
Count Number The number of the management nodes. Valid values: 1 and 2.
- password String
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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.
- period
Unit 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.
- post
Install List<Property Map>Scripts The post install script. See
post_install_script
below.- ram
Node List<String>Types The node of the RAM role.
- ram
Role StringName The name of the Resource Access Management (RAM) role.
- release
Instance Boolean The release instance. Valid values:
true
.- remote
Directory String The remote directory to which the file system is mounted.
- remote
Vis BooleanEnable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- resource
Group StringId The ID of the resource group.
- scc
Cluster StringId 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 String The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- security
Group StringId The ID of the security group to which the cluster belongs.
- security
Group StringName 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 StringLevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- system
Disk NumberSize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- system
Disk StringType The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- volume
Id String The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- volume
Mount StringOption The mount options of the file system.
- volume
Mountpoint 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.
- volume
Protocol String The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- volume
Type String The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- vpc
Id String The ID of the virtual private cloud (VPC) to which the cluster belongs.
- vswitch
Id String The ID of the vSwitch. E-HPC supports only VPC networks.
- without
Agent Boolean Specifies whether not to install the agent. Default value:
false
.- without
Elastic BooleanIp Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- zone
Id 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:
Look up Existing Cluster Resource
Get an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ClusterState, opts?: CustomResourceOptions): Cluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_type: Optional[str] = None,
additional_volumes: Optional[Sequence[ClusterAdditionalVolumeArgs]] = None,
applications: Optional[Sequence[ClusterApplicationArgs]] = None,
auto_renew: Optional[bool] = None,
auto_renew_period: Optional[int] = None,
client_version: Optional[str] = None,
cluster_name: Optional[str] = None,
cluster_version: Optional[str] = None,
compute_count: Optional[int] = None,
compute_enable_ht: Optional[bool] = None,
compute_instance_type: Optional[str] = None,
compute_spot_price_limit: Optional[str] = None,
compute_spot_strategy: Optional[str] = None,
deploy_mode: Optional[str] = None,
description: Optional[str] = None,
domain: Optional[str] = None,
ecs_charge_type: Optional[str] = None,
ehpc_version: Optional[str] = None,
ha_enable: Optional[bool] = None,
image_id: Optional[str] = None,
image_owner_alias: Optional[str] = None,
input_file_url: Optional[str] = None,
is_compute_ess: Optional[bool] = None,
job_queue: Optional[str] = None,
key_pair_name: Optional[str] = None,
login_count: Optional[int] = None,
login_instance_type: Optional[str] = None,
manager_count: Optional[int] = None,
manager_instance_type: Optional[str] = None,
os_tag: Optional[str] = None,
password: Optional[str] = None,
period: Optional[int] = None,
period_unit: Optional[str] = None,
plugin: Optional[str] = None,
post_install_scripts: Optional[Sequence[ClusterPostInstallScriptArgs]] = None,
ram_node_types: Optional[Sequence[str]] = None,
ram_role_name: Optional[str] = None,
release_instance: Optional[bool] = None,
remote_directory: Optional[str] = None,
remote_vis_enable: Optional[bool] = None,
resource_group_id: Optional[str] = None,
scc_cluster_id: Optional[str] = None,
scheduler_type: Optional[str] = None,
security_group_id: Optional[str] = None,
security_group_name: Optional[str] = None,
status: Optional[str] = None,
system_disk_level: Optional[str] = None,
system_disk_size: Optional[int] = None,
system_disk_type: Optional[str] = None,
volume_id: Optional[str] = None,
volume_mount_option: Optional[str] = None,
volume_mountpoint: Optional[str] = None,
volume_protocol: Optional[str] = None,
volume_type: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
without_agent: Optional[bool] = None,
without_elastic_ip: Optional[bool] = None,
zone_id: Optional[str] = None) -> Cluster
func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Type string The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- Additional
Volumes List<Pulumi.Ali Cloud. Ehpc. Inputs. Cluster Additional Volume> The additional volumes. See
additional_volumes
below.- Applications
List<Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster Application> The application. See
application
below.- Auto
Renew bool Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- Auto
Renew intPeriod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- Client
Version string The version of the E-HPC client. By default, the parameter is set to the latest version number.
- Cluster
Name string The name of the cluster. The name must be
2
to64
characters in length.- Cluster
Version string The version of the cluster. Default value:
1.0
.- Compute
Count int The number of the compute nodes. Valid values:
1
to99
.- Compute
Enable boolHt Specifies whether the compute nodes support hyper-threading. Default value:
true
.- Compute
Instance stringType The instance type of the compute nodes.
- Compute
Spot stringPrice Limit 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 stringStrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- Deploy
Mode string The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- Description string
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- Domain string
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
- Ecs
Charge stringType The billing method of the nodes.
- Ehpc
Version string The version of E-HPC. By default, the parameter is set to the latest version number.
- Ha
Enable bool Specifies whether to enable the high availability feature. Default value:
false
. Note: If high availability is enabled, a primary management node and a secondary management node are used.- Image
Id string The ID of the image.
- Image
Owner stringAlias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- Input
File stringUrl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- Is
Compute boolEss Specifies whether to enable auto scaling. Default value:
false
.- Job
Queue string The queue to which the compute nodes are added.
- Key
Pair stringName The name of the AccessKey pair.
- Login
Count int The number of the logon nodes. Valid values:
1
.- Login
Instance stringType The instance type of the logon nodes.
- Manager
Count int The number of the management nodes. Valid values: 1 and 2.
- Manager
Instance stringType The instance type of the management nodes.
- Os
Tag string The image tag of the operating system.
- Password string
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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 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.
- Post
Install List<Pulumi.Scripts Ali Cloud. Ehpc. Inputs. Cluster Post Install Script> The post install script. See
post_install_script
below.- Ram
Node List<string>Types The node of the RAM role.
- Ram
Role stringName The name of the Resource Access Management (RAM) role.
- Release
Instance bool The release instance. Valid values:
true
.- Remote
Directory string The remote directory to which the file system is mounted.
- Remote
Vis boolEnable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- Resource
Group stringId The ID of the resource group.
- Scc
Cluster stringId 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 string The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- Security
Group stringId The ID of the security group to which the cluster belongs.
- Security
Group stringName 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.
- System
Disk stringLevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- System
Disk intSize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- System
Disk stringType The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- Volume
Id string The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- Volume
Mount stringOption The mount options of the file system.
- Volume
Mountpoint 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.
- Volume
Protocol string The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- Volume
Type string The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- Vpc
Id string The ID of the virtual private cloud (VPC) to which the cluster belongs.
- Vswitch
Id string 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 boolIp Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- Zone
Id string The ID of the zone.
- Account
Type string The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- Additional
Volumes []ClusterAdditional Volume Args The additional volumes. See
additional_volumes
below.- Applications
[]Cluster
Application Args The application. See
application
below.- Auto
Renew bool Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- Auto
Renew intPeriod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- Client
Version string The version of the E-HPC client. By default, the parameter is set to the latest version number.
- Cluster
Name string The name of the cluster. The name must be
2
to64
characters in length.- Cluster
Version string The version of the cluster. Default value:
1.0
.- Compute
Count int The number of the compute nodes. Valid values:
1
to99
.- Compute
Enable boolHt Specifies whether the compute nodes support hyper-threading. Default value:
true
.- Compute
Instance stringType The instance type of the compute nodes.
- Compute
Spot stringPrice Limit 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 stringStrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- Deploy
Mode string The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- Description string
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- Domain string
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
- Ecs
Charge stringType The billing method of the nodes.
- Ehpc
Version string The version of E-HPC. By default, the parameter is set to the latest version number.
- Ha
Enable bool Specifies whether to enable the high availability feature. Default value:
false
. Note: If high availability is enabled, a primary management node and a secondary management node are used.- Image
Id string The ID of the image.
- Image
Owner stringAlias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- Input
File stringUrl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- Is
Compute boolEss Specifies whether to enable auto scaling. Default value:
false
.- Job
Queue string The queue to which the compute nodes are added.
- Key
Pair stringName The name of the AccessKey pair.
- Login
Count int The number of the logon nodes. Valid values:
1
.- Login
Instance stringType The instance type of the logon nodes.
- Manager
Count int The number of the management nodes. Valid values: 1 and 2.
- Manager
Instance stringType The instance type of the management nodes.
- Os
Tag string The image tag of the operating system.
- Password string
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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 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.
- Post
Install []ClusterScripts Post Install Script Args The post install script. See
post_install_script
below.- Ram
Node []stringTypes The node of the RAM role.
- Ram
Role stringName The name of the Resource Access Management (RAM) role.
- Release
Instance bool The release instance. Valid values:
true
.- Remote
Directory string The remote directory to which the file system is mounted.
- Remote
Vis boolEnable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- Resource
Group stringId The ID of the resource group.
- Scc
Cluster stringId 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 string The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- Security
Group stringId The ID of the security group to which the cluster belongs.
- Security
Group stringName 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.
- System
Disk stringLevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- System
Disk intSize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- System
Disk stringType The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- Volume
Id string The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- Volume
Mount stringOption The mount options of the file system.
- Volume
Mountpoint 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.
- Volume
Protocol string The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- Volume
Type string The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- Vpc
Id string The ID of the virtual private cloud (VPC) to which the cluster belongs.
- Vswitch
Id string 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 boolIp Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- Zone
Id string The ID of the zone.
- account
Type String The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- additional
Volumes List<ClusterAdditional Volume> The additional volumes. See
additional_volumes
below.- applications
List<Cluster
Application> The application. See
application
below.- auto
Renew Boolean Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- auto
Renew IntegerPeriod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- client
Version String The version of the E-HPC client. By default, the parameter is set to the latest version number.
- cluster
Name String The name of the cluster. The name must be
2
to64
characters in length.- cluster
Version String The version of the cluster. Default value:
1.0
.- compute
Count Integer The number of the compute nodes. Valid values:
1
to99
.- compute
Enable BooleanHt Specifies whether the compute nodes support hyper-threading. Default value:
true
.- compute
Instance StringType The instance type of the compute nodes.
- compute
Spot StringPrice Limit 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 StringStrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- deploy
Mode String The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- description String
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- domain String
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
- ecs
Charge StringType The billing method of the nodes.
- ehpc
Version String The version of E-HPC. By default, the parameter is set to the latest version number.
- ha
Enable 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.- image
Id String The ID of the image.
- image
Owner StringAlias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- input
File StringUrl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- is
Compute BooleanEss Specifies whether to enable auto scaling. Default value:
false
.- job
Queue String The queue to which the compute nodes are added.
- key
Pair StringName The name of the AccessKey pair.
- login
Count Integer The number of the logon nodes. Valid values:
1
.- login
Instance StringType The instance type of the logon nodes.
- manager
Count Integer The number of the management nodes. Valid values: 1 and 2.
- manager
Instance StringType The instance type of the management nodes.
- os
Tag String The image tag of the operating system.
- password String
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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.
- period
Unit 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.
- post
Install List<ClusterScripts Post Install Script> The post install script. See
post_install_script
below.- ram
Node List<String>Types The node of the RAM role.
- ram
Role StringName The name of the Resource Access Management (RAM) role.
- release
Instance Boolean The release instance. Valid values:
true
.- remote
Directory String The remote directory to which the file system is mounted.
- remote
Vis BooleanEnable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- resource
Group StringId The ID of the resource group.
- scc
Cluster StringId 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 String The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- security
Group StringId The ID of the security group to which the cluster belongs.
- security
Group StringName 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.
- system
Disk StringLevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- system
Disk IntegerSize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- system
Disk StringType The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- volume
Id String The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- volume
Mount StringOption The mount options of the file system.
- volume
Mountpoint 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.
- volume
Protocol String The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- volume
Type String The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- vpc
Id String The ID of the virtual private cloud (VPC) to which the cluster belongs.
- vswitch
Id String The ID of the vSwitch. E-HPC supports only VPC networks.
- without
Agent Boolean Specifies whether not to install the agent. Default value:
false
.- without
Elastic BooleanIp Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- zone
Id String The ID of the zone.
- account
Type string The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- additional
Volumes ClusterAdditional Volume[] The additional volumes. See
additional_volumes
below.- applications
Cluster
Application[] The application. See
application
below.- auto
Renew boolean Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- auto
Renew numberPeriod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- client
Version string The version of the E-HPC client. By default, the parameter is set to the latest version number.
- cluster
Name string The name of the cluster. The name must be
2
to64
characters in length.- cluster
Version string The version of the cluster. Default value:
1.0
.- compute
Count number The number of the compute nodes. Valid values:
1
to99
.- compute
Enable booleanHt Specifies whether the compute nodes support hyper-threading. Default value:
true
.- compute
Instance stringType The instance type of the compute nodes.
- compute
Spot stringPrice Limit 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 stringStrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- deploy
Mode string The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- description string
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- domain string
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
- ecs
Charge stringType The billing method of the nodes.
- ehpc
Version string The version of E-HPC. By default, the parameter is set to the latest version number.
- ha
Enable 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.- image
Id string The ID of the image.
- image
Owner stringAlias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- input
File stringUrl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- is
Compute booleanEss Specifies whether to enable auto scaling. Default value:
false
.- job
Queue string The queue to which the compute nodes are added.
- key
Pair stringName The name of the AccessKey pair.
- login
Count number The number of the logon nodes. Valid values:
1
.- login
Instance stringType The instance type of the logon nodes.
- manager
Count number The number of the management nodes. Valid values: 1 and 2.
- manager
Instance stringType The instance type of the management nodes.
- os
Tag string The image tag of the operating system.
- password string
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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.
- period
Unit 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.
- post
Install ClusterScripts Post Install Script[] The post install script. See
post_install_script
below.- ram
Node string[]Types The node of the RAM role.
- ram
Role stringName The name of the Resource Access Management (RAM) role.
- release
Instance boolean The release instance. Valid values:
true
.- remote
Directory string The remote directory to which the file system is mounted.
- remote
Vis booleanEnable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- resource
Group stringId The ID of the resource group.
- scc
Cluster stringId 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 string The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- security
Group stringId The ID of the security group to which the cluster belongs.
- security
Group stringName 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.
- system
Disk stringLevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- system
Disk numberSize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- system
Disk stringType The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- volume
Id string The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- volume
Mount stringOption The mount options of the file system.
- volume
Mountpoint 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.
- volume
Protocol string The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- volume
Type string The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- vpc
Id string The ID of the virtual private cloud (VPC) to which the cluster belongs.
- vswitch
Id string The ID of the vSwitch. E-HPC supports only VPC networks.
- without
Agent boolean Specifies whether not to install the agent. Default value:
false
.- without
Elastic booleanIp Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- zone
Id string The ID of the zone.
- account_
type str The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- additional_
volumes Sequence[ClusterAdditional Volume Args] The additional volumes. See
additional_volumes
below.- applications
Sequence[Cluster
Application Args] The application. See
application
below.- auto_
renew bool Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- auto_
renew_ intperiod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- client_
version str The version of the E-HPC client. By default, the parameter is set to the latest version number.
- cluster_
name str The name of the cluster. The name must be
2
to64
characters in length.- cluster_
version str The version of the cluster. Default value:
1.0
.- compute_
count int The number of the compute nodes. Valid values:
1
to99
.- compute_
enable_ boolht Specifies whether the compute nodes support hyper-threading. Default value:
true
.- compute_
instance_ strtype The instance type of the compute nodes.
- compute_
spot_ strprice_ limit 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_ strstrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- deploy_
mode str The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- description str
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- 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_ strtype The billing method of the nodes.
- ehpc_
version str The version of E-HPC. By default, the parameter is set to the latest version number.
- ha_
enable bool Specifies whether to enable the high availability feature. Default value:
false
. Note: If high availability is enabled, a primary management node and a secondary management node are used.- image_
id str The ID of the image.
- image_
owner_ stralias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- input_
file_ strurl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- is_
compute_ booless Specifies whether to enable auto scaling. Default value:
false
.- job_
queue str The queue to which the compute nodes are added.
- key_
pair_ strname The name of the AccessKey pair.
- login_
count int The number of the logon nodes. Valid values:
1
.- login_
instance_ strtype The instance type of the logon nodes.
- manager_
count int The number of the management nodes. Valid values: 1 and 2.
- manager_
instance_ strtype The instance type of the management nodes.
- os_
tag str The image tag of the operating system.
- password str
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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_ Sequence[Clusterscripts Post Install Script Args] The post install script. See
post_install_script
below.- ram_
node_ Sequence[str]types The node of the RAM role.
- ram_
role_ strname The name of the Resource Access Management (RAM) role.
- release_
instance bool The release instance. Valid values:
true
.- remote_
directory str The remote directory to which the file system is mounted.
- remote_
vis_ boolenable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- resource_
group_ strid The ID of the resource group.
- scc_
cluster_ strid The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.
- scheduler_
type str The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- security_
group_ strid The ID of the security group to which the cluster belongs.
- security_
group_ strname 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_ strlevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- system_
disk_ intsize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- system_
disk_ strtype The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- volume_
id str The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- volume_
mount_ stroption The mount options of the file system.
- volume_
mountpoint str The mount target of the file system. Take note of the following information:
- If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
- If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
- volume_
protocol str The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- volume_
type str The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- vpc_
id str The ID of the virtual private cloud (VPC) to which the cluster belongs.
- vswitch_
id str The ID of the vSwitch. E-HPC supports only VPC networks.
- without_
agent bool Specifies whether not to install the agent. Default value:
false
.- without_
elastic_ boolip Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- zone_
id str The ID of the zone.
- account
Type String The type of the domain account service. Valid values:
nis
,ldap
. Default value:nis
- additional
Volumes List<Property Map> The additional volumes. See
additional_volumes
below.- applications List<Property Map>
The application. See
application
below.- auto
Renew Boolean Specifies whether to enable auto-renewal for the subscription. Default value:
false
.- auto
Renew NumberPeriod The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
- client
Version String The version of the E-HPC client. By default, the parameter is set to the latest version number.
- cluster
Name String The name of the cluster. The name must be
2
to64
characters in length.- cluster
Version String The version of the cluster. Default value:
1.0
.- compute
Count Number The number of the compute nodes. Valid values:
1
to99
.- compute
Enable BooleanHt Specifies whether the compute nodes support hyper-threading. Default value:
true
.- compute
Instance StringType The instance type of the compute nodes.
- compute
Spot StringPrice Limit 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 StringStrategy The bidding method of the compute nodes. Default value:
NoSpot
. Valid values:- deploy
Mode String The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.- description String
The description of the cluster. The description must be
2
to256
characters in length. It cannot start withhttp://
orhttps://
.- domain String
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
- ecs
Charge StringType The billing method of the nodes.
- ehpc
Version String The version of E-HPC. By default, the parameter is set to the latest version number.
- ha
Enable 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.- image
Id String The ID of the image.
- image
Owner StringAlias The type of the image. Valid values:
others
,self
,system
,marketplace
. Default value:system
.- input
File StringUrl The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
- is
Compute BooleanEss Specifies whether to enable auto scaling. Default value:
false
.- job
Queue String The queue to which the compute nodes are added.
- key
Pair StringName The name of the AccessKey pair.
- login
Count Number The number of the logon nodes. Valid values:
1
.- login
Instance StringType The instance type of the logon nodes.
- manager
Count Number The number of the management nodes. Valid values: 1 and 2.
- manager
Instance StringType The instance type of the management nodes.
- os
Tag String The image tag of the operating system.
- password String
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /
. You must specify eitherpassword
orkey_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.
- period
Unit 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.
- post
Install List<Property Map>Scripts The post install script. See
post_install_script
below.- ram
Node List<String>Types The node of the RAM role.
- ram
Role StringName The name of the Resource Access Management (RAM) role.
- release
Instance Boolean The release instance. Valid values:
true
.- remote
Directory String The remote directory to which the file system is mounted.
- remote
Vis BooleanEnable Specifies whether to enable Virtual Network Computing (VNC). Default value:
false
.- resource
Group StringId The ID of the resource group.
- scc
Cluster StringId 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 String The type of the scheduler. Valid values:
pbs
,slurm
,opengridscheduler
anddeadline
. Default value:pbs
.- security
Group StringId The ID of the security group to which the cluster belongs.
- security
Group StringName 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.
- system
Disk StringLevel The performance level of the ESSD that is used as the system disk. Default value:
PL1
For more information, see ESSDs. Valid values:- system
Disk NumberSize The size of the system disk. Unit:
GB
. Valid values:40
to500
. Default value:40
.- system
Disk StringType The type of the system disk. Valid values:
cloud_efficiency
,cloud_ssd
,cloud_essd
orcloud
. Default value:cloud_ssd
.- volume
Id String The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
- volume
Mount StringOption The mount options of the file system.
- volume
Mountpoint 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.
- volume
Protocol String The type of the protocol that is used by the file system. Valid values:
NFS
,SMB
. Default value:NFS
.- volume
Type String The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
- vpc
Id String The ID of the virtual private cloud (VPC) to which the cluster belongs.
- vswitch
Id String The ID of the vSwitch. E-HPC supports only VPC networks.
- without
Agent Boolean Specifies whether not to install the agent. Default value:
false
.- without
Elastic BooleanIp Specifies whether the logon node uses an elastic IP address (EIP). Default value:
false
.- zone
Id String The ID of the zone.
Supporting Types
ClusterAdditionalVolume, ClusterAdditionalVolumeArgs
- Job
Queue string The queue of the nodes to which the additional file system is attached.
- Local
Directory string The local directory on which the additional file system is mounted.
- Location string
The type of the cluster. Valid value:
PublicCloud
.- Remote
Directory string The remote directory to which the additional file system is mounted.
- Roles
List<Pulumi.
Ali Cloud. Ehpc. Inputs. Cluster Additional Volume Role> The roles. See
roles
below.- Volume
Id string The ID of the additional file system.
- Volume
Mount stringOption The mount options of the file system.
- Volume
Mountpoint string The mount target of the additional file system.
- Volume
Protocol string The type of the protocol that is used by the additional file system. Valid values:
NFS
,SMB
. Default value:NFS
- Volume
Type string The type of the additional shared storage. Only NAS file systems are supported.
- Job
Queue string The queue of the nodes to which the additional file system is attached.
- Local
Directory string The local directory on which the additional file system is mounted.
- Location string
The type of the cluster. Valid value:
PublicCloud
.- Remote
Directory string The remote directory to which the additional file system is mounted.
- Roles
[]Cluster
Additional Volume Role The roles. See
roles
below.- Volume
Id string The ID of the additional file system.
- Volume
Mount stringOption The mount options of the file system.
- Volume
Mountpoint string The mount target of the additional file system.
- Volume
Protocol string The type of the protocol that is used by the additional file system. Valid values:
NFS
,SMB
. Default value:NFS
- Volume
Type string The type of the additional shared storage. Only NAS file systems are supported.
- job
Queue String The queue of the nodes to which the additional file system is attached.
- local
Directory String The local directory on which the additional file system is mounted.
- location String
The type of the cluster. Valid value:
PublicCloud
.- remote
Directory String The remote directory to which the additional file system is mounted.
- roles
List<Cluster
Additional Volume Role> The roles. See
roles
below.- volume
Id String The ID of the additional file system.
- volume
Mount StringOption The mount options of the file system.
- volume
Mountpoint String The mount target of the additional file system.
- volume
Protocol String The type of the protocol that is used by the additional file system. Valid values:
NFS
,SMB
. Default value:NFS
- volume
Type String The type of the additional shared storage. Only NAS file systems are supported.
- job
Queue string The queue of the nodes to which the additional file system is attached.
- local
Directory string The local directory on which the additional file system is mounted.
- location string
The type of the cluster. Valid value:
PublicCloud
.- remote
Directory string The remote directory to which the additional file system is mounted.
- roles
Cluster
Additional Volume Role[] The roles. See
roles
below.- volume
Id string The ID of the additional file system.
- volume
Mount stringOption The mount options of the file system.
- volume
Mountpoint string The mount target of the additional file system.
- volume
Protocol string The type of the protocol that is used by the additional file system. Valid values:
NFS
,SMB
. Default value:NFS
- volume
Type 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[Cluster
Additional Volume Role] The roles. See
roles
below.- volume_
id str The ID of the additional file system.
- volume_
mount_ stroption 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.
- job
Queue String The queue of the nodes to which the additional file system is attached.
- local
Directory String The local directory on which the additional file system is mounted.
- location String
The type of the cluster. Valid value:
PublicCloud
.- remote
Directory String The remote directory to which the additional file system is mounted.
- roles List<Property Map>
The roles. See
roles
below.- volume
Id String The ID of the additional file system.
- volume
Mount StringOption The mount options of the file system.
- volume
Mountpoint String The mount target of the additional file system.
- volume
Protocol String The type of the protocol that is used by the additional file system. Valid values:
NFS
,SMB
. Default value:NFS
- volume
Type 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
Import
Ehpc Cluster can be imported using the id, e.g.
$ pulumi import alicloud:ehpc/cluster:Cluster example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.