alicloud.ehpc.Cluster
Explore with Pulumi AI
Provides a Ehpc Cluster resource.
For information about Ehpc Cluster and how to use it, see What is Cluster.
NOTE: Available since v1.173.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const default = alicloud.getZones({
availableResourceCreation: "VSwitch",
});
const defaultGetImages = alicloud.ecs.getImages({
nameRegex: "^centos_7_6_x64*",
owners: "system",
});
const defaultGetInstanceTypes = _default.then(_default => alicloud.ecs.getInstanceTypes({
availabilityZone: _default.zones?.[0]?.id,
}));
const defaultNetwork = new alicloud.vpc.Network("default", {
vpcName: name,
cidrBlock: "10.0.0.0/8",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
vswitchName: name,
cidrBlock: "10.1.0.0/16",
vpcId: defaultNetwork.id,
zoneId: _default.then(_default => _default.zones?.[0]?.id),
});
const defaultFileSystem = new alicloud.nas.FileSystem("default", {
storageType: "Performance",
protocolType: "NFS",
});
const defaultMountTarget = new alicloud.nas.MountTarget("default", {
fileSystemId: defaultFileSystem.id,
accessGroupName: "DEFAULT_VPC_GROUP_NAME",
vswitchId: defaultSwitch.id,
});
const defaultCluster = new alicloud.ehpc.Cluster("default", {
clusterName: name,
deployMode: "Simple",
description: name,
haEnable: false,
imageId: defaultGetImages.then(defaultGetImages => defaultGetImages.images?.[0]?.id),
imageOwnerAlias: "system",
volumeProtocol: "nfs",
volumeId: defaultFileSystem.id,
volumeMountpoint: defaultMountTarget.mountTargetDomain,
computeCount: 1,
computeInstanceType: defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes?.[0]?.id),
loginCount: 1,
loginInstanceType: defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes?.[0]?.id),
managerCount: 1,
managerInstanceType: defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes?.[0]?.id),
osTag: "CentOS_7.6_64",
schedulerType: "pbs",
password: "your-password123",
vswitchId: defaultSwitch.id,
vpcId: defaultNetwork.id,
zoneId: _default.then(_default => _default.zones?.[0]?.id),
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
default = alicloud.get_zones(available_resource_creation="VSwitch")
default_get_images = alicloud.ecs.get_images(name_regex="^centos_7_6_x64*",
owners="system")
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id)
default_network = alicloud.vpc.Network("default",
vpc_name=name,
cidr_block="10.0.0.0/8")
default_switch = alicloud.vpc.Switch("default",
vswitch_name=name,
cidr_block="10.1.0.0/16",
vpc_id=default_network.id,
zone_id=default.zones[0].id)
default_file_system = alicloud.nas.FileSystem("default",
storage_type="Performance",
protocol_type="NFS")
default_mount_target = alicloud.nas.MountTarget("default",
file_system_id=default_file_system.id,
access_group_name="DEFAULT_VPC_GROUP_NAME",
vswitch_id=default_switch.id)
default_cluster = alicloud.ehpc.Cluster("default",
cluster_name=name,
deploy_mode="Simple",
description=name,
ha_enable=False,
image_id=default_get_images.images[0].id,
image_owner_alias="system",
volume_protocol="nfs",
volume_id=default_file_system.id,
volume_mountpoint=default_mount_target.mount_target_domain,
compute_count=1,
compute_instance_type=default_get_instance_types.instance_types[0].id,
login_count=1,
login_instance_type=default_get_instance_types.instance_types[0].id,
manager_count=1,
manager_instance_type=default_get_instance_types.instance_types[0].id,
os_tag="CentOS_7.6_64",
scheduler_type="pbs",
password="your-password123",
vswitch_id=default_switch.id,
vpc_id=default_network.id,
zone_id=default.zones[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ehpc"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/nas"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
AvailableResourceCreation: pulumi.StringRef("VSwitch"),
}, nil)
if err != nil {
return err
}
defaultGetImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
NameRegex: pulumi.StringRef("^centos_7_6_x64*"),
Owners: pulumi.StringRef("system"),
}, nil)
if err != nil {
return err
}
defaultGetInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
AvailabilityZone: pulumi.StringRef(_default.Zones[0].Id),
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
VpcName: pulumi.String(name),
CidrBlock: pulumi.String("10.0.0.0/8"),
})
if err != nil {
return err
}
defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
VswitchName: pulumi.String(name),
CidrBlock: pulumi.String("10.1.0.0/16"),
VpcId: defaultNetwork.ID(),
ZoneId: pulumi.String(_default.Zones[0].Id),
})
if err != nil {
return err
}
defaultFileSystem, err := nas.NewFileSystem(ctx, "default", &nas.FileSystemArgs{
StorageType: pulumi.String("Performance"),
ProtocolType: pulumi.String("NFS"),
})
if err != nil {
return err
}
defaultMountTarget, err := nas.NewMountTarget(ctx, "default", &nas.MountTargetArgs{
FileSystemId: defaultFileSystem.ID(),
AccessGroupName: pulumi.String("DEFAULT_VPC_GROUP_NAME"),
VswitchId: defaultSwitch.ID(),
})
if err != nil {
return err
}
_, err = ehpc.NewCluster(ctx, "default", &ehpc.ClusterArgs{
ClusterName: pulumi.String(name),
DeployMode: pulumi.String("Simple"),
Description: pulumi.String(name),
HaEnable: pulumi.Bool(false),
ImageId: pulumi.String(defaultGetImages.Images[0].Id),
ImageOwnerAlias: pulumi.String("system"),
VolumeProtocol: pulumi.String("nfs"),
VolumeId: defaultFileSystem.ID(),
VolumeMountpoint: defaultMountTarget.MountTargetDomain,
ComputeCount: pulumi.Int(1),
ComputeInstanceType: pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id),
LoginCount: pulumi.Int(1),
LoginInstanceType: pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id),
ManagerCount: pulumi.Int(1),
ManagerInstanceType: pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id),
OsTag: pulumi.String("CentOS_7.6_64"),
SchedulerType: pulumi.String("pbs"),
Password: pulumi.String("your-password123"),
VswitchId: defaultSwitch.ID(),
VpcId: defaultNetwork.ID(),
ZoneId: pulumi.String(_default.Zones[0].Id),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var @default = AliCloud.GetZones.Invoke(new()
{
AvailableResourceCreation = "VSwitch",
});
var defaultGetImages = AliCloud.Ecs.GetImages.Invoke(new()
{
NameRegex = "^centos_7_6_x64*",
Owners = "system",
});
var defaultGetInstanceTypes = AliCloud.Ecs.GetInstanceTypes.Invoke(new()
{
AvailabilityZone = @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
});
var defaultNetwork = new AliCloud.Vpc.Network("default", new()
{
VpcName = name,
CidrBlock = "10.0.0.0/8",
});
var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
{
VswitchName = name,
CidrBlock = "10.1.0.0/16",
VpcId = defaultNetwork.Id,
ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
});
var defaultFileSystem = new AliCloud.Nas.FileSystem("default", new()
{
StorageType = "Performance",
ProtocolType = "NFS",
});
var defaultMountTarget = new AliCloud.Nas.MountTarget("default", new()
{
FileSystemId = defaultFileSystem.Id,
AccessGroupName = "DEFAULT_VPC_GROUP_NAME",
VswitchId = defaultSwitch.Id,
});
var defaultCluster = new AliCloud.Ehpc.Cluster("default", new()
{
ClusterName = name,
DeployMode = "Simple",
Description = name,
HaEnable = false,
ImageId = defaultGetImages.Apply(getImagesResult => getImagesResult.Images[0]?.Id),
ImageOwnerAlias = "system",
VolumeProtocol = "nfs",
VolumeId = defaultFileSystem.Id,
VolumeMountpoint = defaultMountTarget.MountTargetDomain,
ComputeCount = 1,
ComputeInstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
LoginCount = 1,
LoginInstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
ManagerCount = 1,
ManagerInstanceType = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
OsTag = "CentOS_7.6_64",
SchedulerType = "pbs",
Password = "your-password123",
VswitchId = defaultSwitch.Id,
VpcId = defaultNetwork.Id,
ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.ecs.EcsFunctions;
import com.pulumi.alicloud.ecs.inputs.GetImagesArgs;
import com.pulumi.alicloud.ecs.inputs.GetInstanceTypesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.nas.FileSystem;
import com.pulumi.alicloud.nas.FileSystemArgs;
import com.pulumi.alicloud.nas.MountTarget;
import com.pulumi.alicloud.nas.MountTargetArgs;
import com.pulumi.alicloud.ehpc.Cluster;
import com.pulumi.alicloud.ehpc.ClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf-example");
final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
.availableResourceCreation("VSwitch")
.build());
final var defaultGetImages = EcsFunctions.getImages(GetImagesArgs.builder()
.nameRegex("^centos_7_6_x64*")
.owners("system")
.build());
final var defaultGetInstanceTypes = EcsFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
.availabilityZone(default_.zones()[0].id())
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(name)
.cidrBlock("10.0.0.0/8")
.build());
var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
.vswitchName(name)
.cidrBlock("10.1.0.0/16")
.vpcId(defaultNetwork.id())
.zoneId(default_.zones()[0].id())
.build());
var defaultFileSystem = new FileSystem("defaultFileSystem", FileSystemArgs.builder()
.storageType("Performance")
.protocolType("NFS")
.build());
var defaultMountTarget = new MountTarget("defaultMountTarget", MountTargetArgs.builder()
.fileSystemId(defaultFileSystem.id())
.accessGroupName("DEFAULT_VPC_GROUP_NAME")
.vswitchId(defaultSwitch.id())
.build());
var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()
.clusterName(name)
.deployMode("Simple")
.description(name)
.haEnable(false)
.imageId(defaultGetImages.applyValue(getImagesResult -> getImagesResult.images()[0].id()))
.imageOwnerAlias("system")
.volumeProtocol("nfs")
.volumeId(defaultFileSystem.id())
.volumeMountpoint(defaultMountTarget.mountTargetDomain())
.computeCount(1)
.computeInstanceType(defaultGetInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
.loginCount(1)
.loginInstanceType(defaultGetInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
.managerCount(1)
.managerInstanceType(defaultGetInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
.osTag("CentOS_7.6_64")
.schedulerType("pbs")
.password("your-password123")
.vswitchId(defaultSwitch.id())
.vpcId(defaultNetwork.id())
.zoneId(default_.zones()[0].id())
.build());
}
}
configuration:
name:
type: string
default: tf-example
resources:
defaultNetwork:
type: alicloud:vpc:Network
name: default
properties:
vpcName: ${name}
cidrBlock: 10.0.0.0/8
defaultSwitch:
type: alicloud:vpc:Switch
name: default
properties:
vswitchName: ${name}
cidrBlock: 10.1.0.0/16
vpcId: ${defaultNetwork.id}
zoneId: ${default.zones[0].id}
defaultFileSystem:
type: alicloud:nas:FileSystem
name: default
properties:
storageType: Performance
protocolType: NFS
defaultMountTarget:
type: alicloud:nas:MountTarget
name: default
properties:
fileSystemId: ${defaultFileSystem.id}
accessGroupName: DEFAULT_VPC_GROUP_NAME
vswitchId: ${defaultSwitch.id}
defaultCluster:
type: alicloud:ehpc:Cluster
name: default
properties:
clusterName: ${name}
deployMode: Simple
description: ${name}
haEnable: false
imageId: ${defaultGetImages.images[0].id}
imageOwnerAlias: system
volumeProtocol: nfs
volumeId: ${defaultFileSystem.id}
volumeMountpoint: ${defaultMountTarget.mountTargetDomain}
computeCount: 1
computeInstanceType: ${defaultGetInstanceTypes.instanceTypes[0].id}
loginCount: 1
loginInstanceType: ${defaultGetInstanceTypes.instanceTypes[0].id}
managerCount: 1
managerInstanceType: ${defaultGetInstanceTypes.instanceTypes[0].id}
osTag: CentOS_7.6_64
schedulerType: pbs
password: your-password123
vswitchId: ${defaultSwitch.id}
vpcId: ${defaultNetwork.id}
zoneId: ${default.zones[0].id}
variables:
default:
fn::invoke:
Function: alicloud:getZones
Arguments:
availableResourceCreation: VSwitch
defaultGetImages:
fn::invoke:
Function: alicloud:ecs:getImages
Arguments:
nameRegex: ^centos_7_6_x64*
owners: system
defaultGetInstanceTypes:
fn::invoke:
Function: alicloud:ecs:getInstanceTypes
Arguments:
availabilityZone: ${default.zones[0].id}
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
args: ClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
compute_count: Optional[int] = None,
os_tag: Optional[str] = None,
manager_instance_type: Optional[str] = None,
login_instance_type: Optional[str] = None,
login_count: Optional[int] = None,
compute_instance_type: Optional[str] = None,
cluster_name: Optional[str] = None,
description: Optional[str] = None,
period_unit: Optional[str] = None,
compute_enable_ht: Optional[bool] = None,
client_version: Optional[str] = None,
compute_spot_price_limit: Optional[str] = None,
compute_spot_strategy: Optional[str] = None,
deploy_mode: Optional[str] = None,
account_type: Optional[str] = None,
domain: Optional[str] = None,
ecs_charge_type: Optional[str] = None,
ehpc_version: Optional[str] = None,
ha_enable: Optional[bool] = None,
image_id: Optional[str] = None,
image_owner_alias: Optional[str] = None,
input_file_url: Optional[str] = None,
is_compute_ess: Optional[bool] = None,
job_queue: Optional[str] = None,
key_pair_name: Optional[str] = None,
auto_renew_period: Optional[int] = None,
auto_renew: Optional[bool] = None,
manager_count: Optional[int] = None,
applications: Optional[Sequence[ClusterApplicationArgs]] = None,
additional_volumes: Optional[Sequence[ClusterAdditionalVolumeArgs]] = None,
password: Optional[str] = None,
period: Optional[int] = None,
cluster_version: Optional[str] = None,
plugin: Optional[str] = None,
post_install_scripts: Optional[Sequence[ClusterPostInstallScriptArgs]] = None,
ram_node_types: Optional[Sequence[str]] = None,
ram_role_name: Optional[str] = None,
release_instance: Optional[bool] = None,
remote_directory: Optional[str] = None,
remote_vis_enable: Optional[bool] = None,
resource_group_id: Optional[str] = None,
scc_cluster_id: Optional[str] = None,
scheduler_type: Optional[str] = None,
security_group_id: Optional[str] = None,
security_group_name: Optional[str] = None,
system_disk_level: Optional[str] = None,
system_disk_size: Optional[int] = None,
system_disk_type: Optional[str] = None,
volume_id: Optional[str] = None,
volume_mount_option: Optional[str] = None,
volume_mountpoint: Optional[str] = None,
volume_protocol: Optional[str] = None,
volume_type: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
without_agent: Optional[bool] = None,
without_elastic_ip: Optional[bool] = None,
zone_id: Optional[str] = None)
func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: alicloud:ehpc:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleclusterResourceResourceFromEhpccluster = new AliCloud.Ehpc.Cluster("exampleclusterResourceResourceFromEhpccluster", new()
{
ComputeCount = 0,
OsTag = "string",
ManagerInstanceType = "string",
LoginInstanceType = "string",
LoginCount = 0,
ComputeInstanceType = "string",
ClusterName = "string",
Description = "string",
PeriodUnit = "string",
ComputeEnableHt = false,
ClientVersion = "string",
ComputeSpotPriceLimit = "string",
ComputeSpotStrategy = "string",
DeployMode = "string",
AccountType = "string",
Domain = "string",
EcsChargeType = "string",
EhpcVersion = "string",
HaEnable = false,
ImageId = "string",
ImageOwnerAlias = "string",
InputFileUrl = "string",
IsComputeEss = false,
JobQueue = "string",
KeyPairName = "string",
AutoRenewPeriod = 0,
AutoRenew = false,
ManagerCount = 0,
Applications = new[]
{
new AliCloud.Ehpc.Inputs.ClusterApplicationArgs
{
Tag = "string",
},
},
AdditionalVolumes = new[]
{
new AliCloud.Ehpc.Inputs.ClusterAdditionalVolumeArgs
{
JobQueue = "string",
LocalDirectory = "string",
Location = "string",
RemoteDirectory = "string",
Roles = new[]
{
new AliCloud.Ehpc.Inputs.ClusterAdditionalVolumeRoleArgs
{
Name = "string",
},
},
VolumeId = "string",
VolumeMountOption = "string",
VolumeMountpoint = "string",
VolumeProtocol = "string",
VolumeType = "string",
},
},
Password = "string",
Period = 0,
ClusterVersion = "string",
Plugin = "string",
PostInstallScripts = new[]
{
new AliCloud.Ehpc.Inputs.ClusterPostInstallScriptArgs
{
Args = "string",
Url = "string",
},
},
RamNodeTypes = new[]
{
"string",
},
RamRoleName = "string",
ReleaseInstance = false,
RemoteDirectory = "string",
RemoteVisEnable = false,
ResourceGroupId = "string",
SccClusterId = "string",
SchedulerType = "string",
SecurityGroupId = "string",
SecurityGroupName = "string",
SystemDiskLevel = "string",
SystemDiskSize = 0,
SystemDiskType = "string",
VolumeId = "string",
VolumeMountOption = "string",
VolumeMountpoint = "string",
VolumeProtocol = "string",
VolumeType = "string",
VpcId = "string",
VswitchId = "string",
WithoutAgent = false,
WithoutElasticIp = false,
ZoneId = "string",
});
example, err := ehpc.NewCluster(ctx, "exampleclusterResourceResourceFromEhpccluster", &ehpc.ClusterArgs{
ComputeCount: pulumi.Int(0),
OsTag: pulumi.String("string"),
ManagerInstanceType: pulumi.String("string"),
LoginInstanceType: pulumi.String("string"),
LoginCount: pulumi.Int(0),
ComputeInstanceType: pulumi.String("string"),
ClusterName: pulumi.String("string"),
Description: pulumi.String("string"),
PeriodUnit: pulumi.String("string"),
ComputeEnableHt: pulumi.Bool(false),
ClientVersion: pulumi.String("string"),
ComputeSpotPriceLimit: pulumi.String("string"),
ComputeSpotStrategy: pulumi.String("string"),
DeployMode: pulumi.String("string"),
AccountType: pulumi.String("string"),
Domain: pulumi.String("string"),
EcsChargeType: pulumi.String("string"),
EhpcVersion: pulumi.String("string"),
HaEnable: pulumi.Bool(false),
ImageId: pulumi.String("string"),
ImageOwnerAlias: pulumi.String("string"),
InputFileUrl: pulumi.String("string"),
IsComputeEss: pulumi.Bool(false),
JobQueue: pulumi.String("string"),
KeyPairName: pulumi.String("string"),
AutoRenewPeriod: pulumi.Int(0),
AutoRenew: pulumi.Bool(false),
ManagerCount: pulumi.Int(0),
Applications: ehpc.ClusterApplicationArray{
&ehpc.ClusterApplicationArgs{
Tag: pulumi.String("string"),
},
},
AdditionalVolumes: ehpc.ClusterAdditionalVolumeArray{
&ehpc.ClusterAdditionalVolumeArgs{
JobQueue: pulumi.String("string"),
LocalDirectory: pulumi.String("string"),
Location: pulumi.String("string"),
RemoteDirectory: pulumi.String("string"),
Roles: ehpc.ClusterAdditionalVolumeRoleArray{
&ehpc.ClusterAdditionalVolumeRoleArgs{
Name: pulumi.String("string"),
},
},
VolumeId: pulumi.String("string"),
VolumeMountOption: pulumi.String("string"),
VolumeMountpoint: pulumi.String("string"),
VolumeProtocol: pulumi.String("string"),
VolumeType: pulumi.String("string"),
},
},
Password: pulumi.String("string"),
Period: pulumi.Int(0),
ClusterVersion: pulumi.String("string"),
Plugin: pulumi.String("string"),
PostInstallScripts: ehpc.ClusterPostInstallScriptArray{
&ehpc.ClusterPostInstallScriptArgs{
Args: pulumi.String("string"),
Url: pulumi.String("string"),
},
},
RamNodeTypes: pulumi.StringArray{
pulumi.String("string"),
},
RamRoleName: pulumi.String("string"),
ReleaseInstance: pulumi.Bool(false),
RemoteDirectory: pulumi.String("string"),
RemoteVisEnable: pulumi.Bool(false),
ResourceGroupId: pulumi.String("string"),
SccClusterId: pulumi.String("string"),
SchedulerType: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
SecurityGroupName: pulumi.String("string"),
SystemDiskLevel: pulumi.String("string"),
SystemDiskSize: pulumi.Int(0),
SystemDiskType: pulumi.String("string"),
VolumeId: pulumi.String("string"),
VolumeMountOption: pulumi.String("string"),
VolumeMountpoint: pulumi.String("string"),
VolumeProtocol: pulumi.String("string"),
VolumeType: pulumi.String("string"),
VpcId: pulumi.String("string"),
VswitchId: pulumi.String("string"),
WithoutAgent: pulumi.Bool(false),
WithoutElasticIp: pulumi.Bool(false),
ZoneId: pulumi.String("string"),
})
var exampleclusterResourceResourceFromEhpccluster = new Cluster("exampleclusterResourceResourceFromEhpccluster", ClusterArgs.builder()
.computeCount(0)
.osTag("string")
.managerInstanceType("string")
.loginInstanceType("string")
.loginCount(0)
.computeInstanceType("string")
.clusterName("string")
.description("string")
.periodUnit("string")
.computeEnableHt(false)
.clientVersion("string")
.computeSpotPriceLimit("string")
.computeSpotStrategy("string")
.deployMode("string")
.accountType("string")
.domain("string")
.ecsChargeType("string")
.ehpcVersion("string")
.haEnable(false)
.imageId("string")
.imageOwnerAlias("string")
.inputFileUrl("string")
.isComputeEss(false)
.jobQueue("string")
.keyPairName("string")
.autoRenewPeriod(0)
.autoRenew(false)
.managerCount(0)
.applications(ClusterApplicationArgs.builder()
.tag("string")
.build())
.additionalVolumes(ClusterAdditionalVolumeArgs.builder()
.jobQueue("string")
.localDirectory("string")
.location("string")
.remoteDirectory("string")
.roles(ClusterAdditionalVolumeRoleArgs.builder()
.name("string")
.build())
.volumeId("string")
.volumeMountOption("string")
.volumeMountpoint("string")
.volumeProtocol("string")
.volumeType("string")
.build())
.password("string")
.period(0)
.clusterVersion("string")
.plugin("string")
.postInstallScripts(ClusterPostInstallScriptArgs.builder()
.args("string")
.url("string")
.build())
.ramNodeTypes("string")
.ramRoleName("string")
.releaseInstance(false)
.remoteDirectory("string")
.remoteVisEnable(false)
.resourceGroupId("string")
.sccClusterId("string")
.schedulerType("string")
.securityGroupId("string")
.securityGroupName("string")
.systemDiskLevel("string")
.systemDiskSize(0)
.systemDiskType("string")
.volumeId("string")
.volumeMountOption("string")
.volumeMountpoint("string")
.volumeProtocol("string")
.volumeType("string")
.vpcId("string")
.vswitchId("string")
.withoutAgent(false)
.withoutElasticIp(false)
.zoneId("string")
.build());
examplecluster_resource_resource_from_ehpccluster = alicloud.ehpc.Cluster("exampleclusterResourceResourceFromEhpccluster",
compute_count=0,
os_tag="string",
manager_instance_type="string",
login_instance_type="string",
login_count=0,
compute_instance_type="string",
cluster_name="string",
description="string",
period_unit="string",
compute_enable_ht=False,
client_version="string",
compute_spot_price_limit="string",
compute_spot_strategy="string",
deploy_mode="string",
account_type="string",
domain="string",
ecs_charge_type="string",
ehpc_version="string",
ha_enable=False,
image_id="string",
image_owner_alias="string",
input_file_url="string",
is_compute_ess=False,
job_queue="string",
key_pair_name="string",
auto_renew_period=0,
auto_renew=False,
manager_count=0,
applications=[{
"tag": "string",
}],
additional_volumes=[{
"job_queue": "string",
"local_directory": "string",
"location": "string",
"remote_directory": "string",
"roles": [{
"name": "string",
}],
"volume_id": "string",
"volume_mount_option": "string",
"volume_mountpoint": "string",
"volume_protocol": "string",
"volume_type": "string",
}],
password="string",
period=0,
cluster_version="string",
plugin="string",
post_install_scripts=[{
"args": "string",
"url": "string",
}],
ram_node_types=["string"],
ram_role_name="string",
release_instance=False,
remote_directory="string",
remote_vis_enable=False,
resource_group_id="string",
scc_cluster_id="string",
scheduler_type="string",
security_group_id="string",
security_group_name="string",
system_disk_level="string",
system_disk_size=0,
system_disk_type="string",
volume_id="string",
volume_mount_option="string",
volume_mountpoint="string",
volume_protocol="string",
volume_type="string",
vpc_id="string",
vswitch_id="string",
without_agent=False,
without_elastic_ip=False,
zone_id="string")
const exampleclusterResourceResourceFromEhpccluster = new alicloud.ehpc.Cluster("exampleclusterResourceResourceFromEhpccluster", {
computeCount: 0,
osTag: "string",
managerInstanceType: "string",
loginInstanceType: "string",
loginCount: 0,
computeInstanceType: "string",
clusterName: "string",
description: "string",
periodUnit: "string",
computeEnableHt: false,
clientVersion: "string",
computeSpotPriceLimit: "string",
computeSpotStrategy: "string",
deployMode: "string",
accountType: "string",
domain: "string",
ecsChargeType: "string",
ehpcVersion: "string",
haEnable: false,
imageId: "string",
imageOwnerAlias: "string",
inputFileUrl: "string",
isComputeEss: false,
jobQueue: "string",
keyPairName: "string",
autoRenewPeriod: 0,
autoRenew: false,
managerCount: 0,
applications: [{
tag: "string",
}],
additionalVolumes: [{
jobQueue: "string",
localDirectory: "string",
location: "string",
remoteDirectory: "string",
roles: [{
name: "string",
}],
volumeId: "string",
volumeMountOption: "string",
volumeMountpoint: "string",
volumeProtocol: "string",
volumeType: "string",
}],
password: "string",
period: 0,
clusterVersion: "string",
plugin: "string",
postInstallScripts: [{
args: "string",
url: "string",
}],
ramNodeTypes: ["string"],
ramRoleName: "string",
releaseInstance: false,
remoteDirectory: "string",
remoteVisEnable: false,
resourceGroupId: "string",
sccClusterId: "string",
schedulerType: "string",
securityGroupId: "string",
securityGroupName: "string",
systemDiskLevel: "string",
systemDiskSize: 0,
systemDiskType: "string",
volumeId: "string",
volumeMountOption: "string",
volumeMountpoint: "string",
volumeProtocol: "string",
volumeType: "string",
vpcId: "string",
vswitchId: "string",
withoutAgent: false,
withoutElasticIp: false,
zoneId: "string",
});
type: alicloud:ehpc:Cluster
properties:
accountType: string
additionalVolumes:
- jobQueue: string
localDirectory: string
location: string
remoteDirectory: string
roles:
- name: string
volumeId: string
volumeMountOption: string
volumeMountpoint: string
volumeProtocol: string
volumeType: string
applications:
- tag: string
autoRenew: false
autoRenewPeriod: 0
clientVersion: string
clusterName: string
clusterVersion: string
computeCount: 0
computeEnableHt: false
computeInstanceType: string
computeSpotPriceLimit: string
computeSpotStrategy: string
deployMode: string
description: string
domain: string
ecsChargeType: string
ehpcVersion: string
haEnable: false
imageId: string
imageOwnerAlias: string
inputFileUrl: string
isComputeEss: false
jobQueue: string
keyPairName: string
loginCount: 0
loginInstanceType: string
managerCount: 0
managerInstanceType: string
osTag: string
password: string
period: 0
periodUnit: string
plugin: string
postInstallScripts:
- args: string
url: string
ramNodeTypes:
- string
ramRoleName: string
releaseInstance: false
remoteDirectory: string
remoteVisEnable: false
resourceGroupId: string
sccClusterId: string
schedulerType: string
securityGroupId: string
securityGroupName: string
systemDiskLevel: string
systemDiskSize: 0
systemDiskType: string
volumeId: string
volumeMountOption: string
volumeMountpoint: string
volumeProtocol: string
volumeType: string
vpcId: string
vswitchId: string
withoutAgent: false
withoutElasticIp: false
zoneId: string
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cluster resource accepts the following input properties:
- 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- Deploy
Mode string - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- Description string
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- System
Disk 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- Deploy
Mode string - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- Description string
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- System
Disk 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- deploy
Mode String - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- description String
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- system
Disk 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- deploy
Mode string - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- description string
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- system
Disk 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- deploy_
mode str - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- description str
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- system_
disk_ 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- deploy
Mode String - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- description String
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- system
Disk 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- Deploy
Mode string - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- Description string
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- System
Disk 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- Deploy
Mode string - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- Description string
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- System
Disk 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- deploy
Mode String - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- description String
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- system
Disk 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- deploy
Mode string - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- description string
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- system
Disk 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- deploy_
mode str - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- description str
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- system_
disk_ 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:NoSpot
: The compute nodes are pay-as-you-go instances.SpotWithPriceLimit
: The compute nodes are preemptible instances that have a user-defined maximum hourly price.SpotAsPriceGo
: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
- deploy
Mode String - The mode in which the cluster is deployed. Valid values:
Standard
,Simple
,Tiny
. Default value: Standard.Standard
: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed.Simple
: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed.Tiny
: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed.
- description String
- The description of the cluster. The description must be
2
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:PL0
: A single ESSD can deliver up to 10,000 random read/write IOPS.PL1
: A single ESSD can deliver up to 50,000 random read/write IOPS.PL2
: A single ESSD can deliver up to 100,000 random read/write IOPS.PL3
: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
- system
Disk 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>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.