ehpc

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// The type of the domain account service. Valid values: `nis`, `ldap`. Default value: `nis`
	AccountType pulumi.StringOutput `pulumi:"accountType"`
	// The additional volumes. See the following `Block additionalVolumes`.
	AdditionalVolumes ClusterAdditionalVolumeArrayOutput `pulumi:"additionalVolumes"`
	// The application. See the following `Block application`.
	Applications ClusterApplicationArrayOutput `pulumi:"applications"`
	// Specifies whether to enable auto-renewal for the subscription. Default value: `false`.
	AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"`
	// The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
	AutoRenewPeriod pulumi.IntPtrOutput `pulumi:"autoRenewPeriod"`
	// The version of the E-HPC client. By default, the parameter is set to the latest version number.
	ClientVersion pulumi.StringOutput `pulumi:"clientVersion"`
	// The name of the cluster. The name must be `2` to `64` characters in length.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// The version of the cluster. Default value: `1.0`.
	ClusterVersion pulumi.StringOutput `pulumi:"clusterVersion"`
	// The number of the compute nodes. Valid values: `1` to `99`.
	ComputeCount pulumi.IntOutput `pulumi:"computeCount"`
	// Specifies whether the compute nodes support hyper-threading. Default value: `true`.
	ComputeEnableHt pulumi.BoolPtrOutput `pulumi:"computeEnableHt"`
	// The instance type of the compute nodes.
	ComputeInstanceType pulumi.StringOutput `pulumi:"computeInstanceType"`
	// 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.
	ComputeSpotPriceLimit pulumi.StringPtrOutput `pulumi:"computeSpotPriceLimit"`
	// 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.
	ComputeSpotStrategy pulumi.StringPtrOutput `pulumi:"computeSpotStrategy"`
	// 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.
	DeployMode pulumi.StringOutput `pulumi:"deployMode"`
	// The description of the cluster. The description must be `2` to `256` characters in length. It cannot start with `http://` or `https://`.
	Description pulumi.StringOutput `pulumi:"description"`
	// The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
	Domain pulumi.StringPtrOutput `pulumi:"domain"`
	// The billing method of the nodes.
	EcsChargeType pulumi.StringOutput `pulumi:"ecsChargeType"`
	// The version of E-HPC. By default, the parameter is set to the latest version number.
	EhpcVersion pulumi.StringOutput `pulumi:"ehpcVersion"`
	// 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.
	HaEnable pulumi.BoolOutput `pulumi:"haEnable"`
	// The ID of the image.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// The type of the image. Valid values: `others`, `self`, `system`, `marketplace`. Default value: `system`.
	ImageOwnerAlias pulumi.StringOutput `pulumi:"imageOwnerAlias"`
	// The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
	InputFileUrl pulumi.StringPtrOutput `pulumi:"inputFileUrl"`
	// Specifies whether to enable auto scaling. Default value: `false`.
	IsComputeEss pulumi.BoolPtrOutput `pulumi:"isComputeEss"`
	// The queue of the nodes to which the additional file system is attached.
	JobQueue pulumi.StringPtrOutput `pulumi:"jobQueue"`
	// The name of the AccessKey pair.
	KeyPairName pulumi.StringPtrOutput `pulumi:"keyPairName"`
	// The number of the logon nodes. Valid values: `1`.
	LoginCount pulumi.IntOutput `pulumi:"loginCount"`
	// The instance type of the logon nodes.
	LoginInstanceType pulumi.StringOutput `pulumi:"loginInstanceType"`
	// The number of the management nodes. Valid values: 1 and 2.
	ManagerCount pulumi.IntOutput `pulumi:"managerCount"`
	// The instance type of the management nodes.
	ManagerInstanceType pulumi.StringOutput `pulumi:"managerInstanceType"`
	// The image tag of the operating system.
	OsTag pulumi.StringOutput `pulumi:"osTag"`
	// The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: `( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /`. You must specify either `password` or `keyPairName`. If both are specified, the Password parameter prevails.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The duration of the subscription. The unit of the duration is specified by the `periodUnit` 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 pulumi.IntPtrOutput `pulumi:"period"`
	// The unit of the subscription duration. Valid values: `Year`, `Month`, `Hour`. Default value: `Month`.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// 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.
	Plugin pulumi.StringPtrOutput `pulumi:"plugin"`
	// The post install script. See the following `Block postInstallScript`.
	PostInstallScripts ClusterPostInstallScriptArrayOutput `pulumi:"postInstallScripts"`
	// The node of the RAM role.
	RamNodeTypes pulumi.StringArrayOutput `pulumi:"ramNodeTypes"`
	// The name of the Resource Access Management (RAM) role.
	RamRoleName pulumi.StringPtrOutput `pulumi:"ramRoleName"`
	// The release instance. Valid values: `true`.
	ReleaseInstance pulumi.BoolPtrOutput `pulumi:"releaseInstance"`
	// The remote directory to which the additional file system is mounted.
	RemoteDirectory pulumi.StringOutput `pulumi:"remoteDirectory"`
	// Specifies whether to enable Virtual Network Computing (VNC). Default value: `false`.
	RemoteVisEnable pulumi.BoolPtrOutput `pulumi:"remoteVisEnable"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"`
	// The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.
	SccClusterId pulumi.StringOutput `pulumi:"sccClusterId"`
	// The type of the scheduler. Valid values: `pbs`, `slurm`, `opengridscheduler` and `deadline`. Default value: `pbs`.
	SchedulerType pulumi.StringOutput `pulumi:"schedulerType"`
	// The ID of the security group to which the cluster belongs.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// 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.
	SecurityGroupName pulumi.StringPtrOutput `pulumi:"securityGroupName"`
	// The status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
	// The performance level of the ESSD that is used as the system disk. Default value: `PL1` For more information, see [ESSDs](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/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.
	SystemDiskLevel pulumi.StringPtrOutput `pulumi:"systemDiskLevel"`
	// The size of the system disk. Unit: `GB`. Valid values: `40` to `500`. Default value: `40`.
	SystemDiskSize pulumi.IntPtrOutput `pulumi:"systemDiskSize"`
	// The type of the system disk. Valid values: `cloudEfficiency`, `cloudSsd`, `cloudEssd` or `cloud`. Default value: `cloudSsd`.
	SystemDiskType pulumi.StringPtrOutput `pulumi:"systemDiskType"`
	// The ID of the additional file system.
	VolumeId pulumi.StringOutput `pulumi:"volumeId"`
	// The mount options of the file system.
	VolumeMountOption pulumi.StringPtrOutput `pulumi:"volumeMountOption"`
	// The mount target of the additional file system.
	VolumeMountpoint pulumi.StringOutput `pulumi:"volumeMountpoint"`
	// The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS`
	VolumeProtocol pulumi.StringOutput `pulumi:"volumeProtocol"`
	// The type of the additional shared storage. Only NAS file systems are supported.
	VolumeType pulumi.StringOutput `pulumi:"volumeType"`
	// The ID of the virtual private cloud (VPC) to which the cluster belongs.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The ID of the vSwitch. E-HPC supports only VPC networks.
	VswitchId pulumi.StringOutput `pulumi:"vswitchId"`
	// Specifies whether not to install the agent. Default value: `false`.
	WithoutAgent pulumi.BoolPtrOutput `pulumi:"withoutAgent"`
	// Specifies whether the logon node uses an elastic IP address (EIP). Default value: `false`.
	WithoutElasticIp pulumi.BoolPtrOutput `pulumi:"withoutElasticIp"`
	// The ID of the zone.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Provides a Ehpc Cluster resource.

For information about Ehpc Cluster and how to use it, see [What is Cluster](https://www.alibabacloud.com/help/e-hpc/latest/createcluster).

> **NOTE:** Available in v1.173.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ecs"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ehpc"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/nas"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("default-NODELETING"),
		}, nil)
		if err != nil {
			return err
		}
		defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId:  pulumi.StringRef(defaultNetworks.Ids[0]),
			ZoneId: pulumi.StringRef(defaultZones.Zones[0].Id),
		}, nil)
		if err != nil {
			return err
		}
		defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone: pulumi.StringRef(defaultZones.Zones[0].Id),
		}, nil)
		if err != nil {
			return err
		}
		cfg := config.New(ctx, "")
		storageType := "Performance"
		if param := cfg.Get("storageType"); param != "" {
			storageType = param
		}
		defaultFileSystem, err := nas.NewFileSystem(ctx, "defaultFileSystem", &nas.FileSystemArgs{
			StorageType:  pulumi.String(storageType),
			ProtocolType: pulumi.String("NFS"),
		})
		if err != nil {
			return err
		}
		defaultMountTarget, err := nas.NewMountTarget(ctx, "defaultMountTarget", &nas.MountTargetArgs{
			FileSystemId:    defaultFileSystem.ID(),
			AccessGroupName: pulumi.String("DEFAULT_VPC_GROUP_NAME"),
			VswitchId:       pulumi.String(defaultSwitches.Ids[0]),
		})
		if err != nil {
			return err
		}
		defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			NameRegex: pulumi.StringRef("^centos_7_6_x64*"),
			Owners:    pulumi.StringRef("system"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = ehpc.NewCluster(ctx, "defaultCluster", &ehpc.ClusterArgs{
			ClusterName:         pulumi.String("example_value"),
			DeployMode:          pulumi.String("Simple"),
			Description:         pulumi.String("example_description"),
			HaEnable:            pulumi.Bool(false),
			ImageId:             pulumi.String(defaultImages.Images[0].Id),
			ImageOwnerAlias:     pulumi.String("system"),
			VolumeProtocol:      pulumi.String("nfs"),
			VolumeId:            defaultFileSystem.ID(),
			VolumeMountpoint:    defaultMountTarget.MountTargetDomain,
			ComputeCount:        pulumi.Int(1),
			ComputeInstanceType: pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			LoginCount:          pulumi.Int(1),
			LoginInstanceType:   pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			ManagerCount:        pulumi.Int(1),
			ManagerInstanceType: pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			OsTag:               pulumi.String("CentOS_7.6_64"),
			SchedulerType:       pulumi.String("pbs"),
			Password:            pulumi.String("your-password123"),
			VswitchId:           pulumi.String(defaultSwitches.Ids[0]),
			VpcId:               pulumi.String(defaultNetworks.Ids[0]),
			ZoneId:              pulumi.String(defaultZones.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterAdditionalVolume

type ClusterAdditionalVolume struct {
	// The queue of the nodes to which the additional file system is attached.
	JobQueue *string `pulumi:"jobQueue"`
	// The local directory on which the additional file system is mounted.
	LocalDirectory *string `pulumi:"localDirectory"`
	// The type of the cluster. Valid value: `PublicCloud`.
	Location *string `pulumi:"location"`
	// The remote directory to which the additional file system is mounted.
	RemoteDirectory *string `pulumi:"remoteDirectory"`
	// The roles. See the following `Block roles`.
	Roles []ClusterAdditionalVolumeRole `pulumi:"roles"`
	// The ID of the additional file system.
	VolumeId *string `pulumi:"volumeId"`
	// The mount options of the file system.
	VolumeMountOption *string `pulumi:"volumeMountOption"`
	// The mount target of the additional file system.
	VolumeMountpoint *string `pulumi:"volumeMountpoint"`
	// The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS`
	VolumeProtocol *string `pulumi:"volumeProtocol"`
	// The type of the additional shared storage. Only NAS file systems are supported.
	VolumeType *string `pulumi:"volumeType"`
}

type ClusterAdditionalVolumeArgs

type ClusterAdditionalVolumeArgs struct {
	// The queue of the nodes to which the additional file system is attached.
	JobQueue pulumi.StringPtrInput `pulumi:"jobQueue"`
	// The local directory on which the additional file system is mounted.
	LocalDirectory pulumi.StringPtrInput `pulumi:"localDirectory"`
	// The type of the cluster. Valid value: `PublicCloud`.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// The remote directory to which the additional file system is mounted.
	RemoteDirectory pulumi.StringPtrInput `pulumi:"remoteDirectory"`
	// The roles. See the following `Block roles`.
	Roles ClusterAdditionalVolumeRoleArrayInput `pulumi:"roles"`
	// The ID of the additional file system.
	VolumeId pulumi.StringPtrInput `pulumi:"volumeId"`
	// The mount options of the file system.
	VolumeMountOption pulumi.StringPtrInput `pulumi:"volumeMountOption"`
	// The mount target of the additional file system.
	VolumeMountpoint pulumi.StringPtrInput `pulumi:"volumeMountpoint"`
	// The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS`
	VolumeProtocol pulumi.StringPtrInput `pulumi:"volumeProtocol"`
	// The type of the additional shared storage. Only NAS file systems are supported.
	VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (ClusterAdditionalVolumeArgs) ElementType

func (ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutput

func (i ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput

func (ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutputWithContext

func (i ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutputWithContext(ctx context.Context) ClusterAdditionalVolumeOutput

type ClusterAdditionalVolumeArray

type ClusterAdditionalVolumeArray []ClusterAdditionalVolumeInput

func (ClusterAdditionalVolumeArray) ElementType

func (ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutput

func (i ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput

func (ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutputWithContext

func (i ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeArrayOutput

type ClusterAdditionalVolumeArrayInput

type ClusterAdditionalVolumeArrayInput interface {
	pulumi.Input

	ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput
	ToClusterAdditionalVolumeArrayOutputWithContext(context.Context) ClusterAdditionalVolumeArrayOutput
}

ClusterAdditionalVolumeArrayInput is an input type that accepts ClusterAdditionalVolumeArray and ClusterAdditionalVolumeArrayOutput values. You can construct a concrete instance of `ClusterAdditionalVolumeArrayInput` via:

ClusterAdditionalVolumeArray{ ClusterAdditionalVolumeArgs{...} }

type ClusterAdditionalVolumeArrayOutput

type ClusterAdditionalVolumeArrayOutput struct{ *pulumi.OutputState }

func (ClusterAdditionalVolumeArrayOutput) ElementType

func (ClusterAdditionalVolumeArrayOutput) Index

func (ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutput

func (o ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput

func (ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutputWithContext

func (o ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeArrayOutput

type ClusterAdditionalVolumeInput

type ClusterAdditionalVolumeInput interface {
	pulumi.Input

	ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput
	ToClusterAdditionalVolumeOutputWithContext(context.Context) ClusterAdditionalVolumeOutput
}

ClusterAdditionalVolumeInput is an input type that accepts ClusterAdditionalVolumeArgs and ClusterAdditionalVolumeOutput values. You can construct a concrete instance of `ClusterAdditionalVolumeInput` via:

ClusterAdditionalVolumeArgs{...}

type ClusterAdditionalVolumeOutput

type ClusterAdditionalVolumeOutput struct{ *pulumi.OutputState }

func (ClusterAdditionalVolumeOutput) ElementType

func (ClusterAdditionalVolumeOutput) JobQueue

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

func (ClusterAdditionalVolumeOutput) LocalDirectory

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

func (ClusterAdditionalVolumeOutput) Location

The type of the cluster. Valid value: `PublicCloud`.

func (ClusterAdditionalVolumeOutput) RemoteDirectory

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

func (ClusterAdditionalVolumeOutput) Roles

The roles. See the following `Block roles`.

func (ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutput

func (o ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput

func (ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutputWithContext

func (o ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutputWithContext(ctx context.Context) ClusterAdditionalVolumeOutput

func (ClusterAdditionalVolumeOutput) VolumeId

The ID of the additional file system.

func (ClusterAdditionalVolumeOutput) VolumeMountOption

The mount options of the file system.

func (ClusterAdditionalVolumeOutput) VolumeMountpoint

The mount target of the additional file system.

func (ClusterAdditionalVolumeOutput) VolumeProtocol

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

func (ClusterAdditionalVolumeOutput) VolumeType

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

type ClusterAdditionalVolumeRole

type ClusterAdditionalVolumeRole struct {
	// The type of the nodes to which the additional file system is attached.
	Name *string `pulumi:"name"`
}

type ClusterAdditionalVolumeRoleArgs

type ClusterAdditionalVolumeRoleArgs struct {
	// The type of the nodes to which the additional file system is attached.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (ClusterAdditionalVolumeRoleArgs) ElementType

func (ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutput

func (i ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput

func (ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutputWithContext

func (i ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleOutput

type ClusterAdditionalVolumeRoleArray

type ClusterAdditionalVolumeRoleArray []ClusterAdditionalVolumeRoleInput

func (ClusterAdditionalVolumeRoleArray) ElementType

func (ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutput

func (i ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput

func (ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutputWithContext

func (i ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleArrayOutput

type ClusterAdditionalVolumeRoleArrayInput

type ClusterAdditionalVolumeRoleArrayInput interface {
	pulumi.Input

	ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput
	ToClusterAdditionalVolumeRoleArrayOutputWithContext(context.Context) ClusterAdditionalVolumeRoleArrayOutput
}

ClusterAdditionalVolumeRoleArrayInput is an input type that accepts ClusterAdditionalVolumeRoleArray and ClusterAdditionalVolumeRoleArrayOutput values. You can construct a concrete instance of `ClusterAdditionalVolumeRoleArrayInput` via:

ClusterAdditionalVolumeRoleArray{ ClusterAdditionalVolumeRoleArgs{...} }

type ClusterAdditionalVolumeRoleArrayOutput

type ClusterAdditionalVolumeRoleArrayOutput struct{ *pulumi.OutputState }

func (ClusterAdditionalVolumeRoleArrayOutput) ElementType

func (ClusterAdditionalVolumeRoleArrayOutput) Index

func (ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutput

func (o ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput

func (ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutputWithContext

func (o ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleArrayOutput

type ClusterAdditionalVolumeRoleInput

type ClusterAdditionalVolumeRoleInput interface {
	pulumi.Input

	ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput
	ToClusterAdditionalVolumeRoleOutputWithContext(context.Context) ClusterAdditionalVolumeRoleOutput
}

ClusterAdditionalVolumeRoleInput is an input type that accepts ClusterAdditionalVolumeRoleArgs and ClusterAdditionalVolumeRoleOutput values. You can construct a concrete instance of `ClusterAdditionalVolumeRoleInput` via:

ClusterAdditionalVolumeRoleArgs{...}

type ClusterAdditionalVolumeRoleOutput

type ClusterAdditionalVolumeRoleOutput struct{ *pulumi.OutputState }

func (ClusterAdditionalVolumeRoleOutput) ElementType

func (ClusterAdditionalVolumeRoleOutput) Name

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

func (ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutput

func (o ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput

func (ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutputWithContext

func (o ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleOutput

type ClusterApplication

type ClusterApplication struct {
	// The tag of the software.
	Tag *string `pulumi:"tag"`
}

type ClusterApplicationArgs

type ClusterApplicationArgs struct {
	// The tag of the software.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (ClusterApplicationArgs) ElementType

func (ClusterApplicationArgs) ElementType() reflect.Type

func (ClusterApplicationArgs) ToClusterApplicationOutput

func (i ClusterApplicationArgs) ToClusterApplicationOutput() ClusterApplicationOutput

func (ClusterApplicationArgs) ToClusterApplicationOutputWithContext

func (i ClusterApplicationArgs) ToClusterApplicationOutputWithContext(ctx context.Context) ClusterApplicationOutput

type ClusterApplicationArray

type ClusterApplicationArray []ClusterApplicationInput

func (ClusterApplicationArray) ElementType

func (ClusterApplicationArray) ElementType() reflect.Type

func (ClusterApplicationArray) ToClusterApplicationArrayOutput

func (i ClusterApplicationArray) ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput

func (ClusterApplicationArray) ToClusterApplicationArrayOutputWithContext

func (i ClusterApplicationArray) ToClusterApplicationArrayOutputWithContext(ctx context.Context) ClusterApplicationArrayOutput

type ClusterApplicationArrayInput

type ClusterApplicationArrayInput interface {
	pulumi.Input

	ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput
	ToClusterApplicationArrayOutputWithContext(context.Context) ClusterApplicationArrayOutput
}

ClusterApplicationArrayInput is an input type that accepts ClusterApplicationArray and ClusterApplicationArrayOutput values. You can construct a concrete instance of `ClusterApplicationArrayInput` via:

ClusterApplicationArray{ ClusterApplicationArgs{...} }

type ClusterApplicationArrayOutput

type ClusterApplicationArrayOutput struct{ *pulumi.OutputState }

func (ClusterApplicationArrayOutput) ElementType

func (ClusterApplicationArrayOutput) Index

func (ClusterApplicationArrayOutput) ToClusterApplicationArrayOutput

func (o ClusterApplicationArrayOutput) ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput

func (ClusterApplicationArrayOutput) ToClusterApplicationArrayOutputWithContext

func (o ClusterApplicationArrayOutput) ToClusterApplicationArrayOutputWithContext(ctx context.Context) ClusterApplicationArrayOutput

type ClusterApplicationInput

type ClusterApplicationInput interface {
	pulumi.Input

	ToClusterApplicationOutput() ClusterApplicationOutput
	ToClusterApplicationOutputWithContext(context.Context) ClusterApplicationOutput
}

ClusterApplicationInput is an input type that accepts ClusterApplicationArgs and ClusterApplicationOutput values. You can construct a concrete instance of `ClusterApplicationInput` via:

ClusterApplicationArgs{...}

type ClusterApplicationOutput

type ClusterApplicationOutput struct{ *pulumi.OutputState }

func (ClusterApplicationOutput) ElementType

func (ClusterApplicationOutput) ElementType() reflect.Type

func (ClusterApplicationOutput) Tag

The tag of the software.

func (ClusterApplicationOutput) ToClusterApplicationOutput

func (o ClusterApplicationOutput) ToClusterApplicationOutput() ClusterApplicationOutput

func (ClusterApplicationOutput) ToClusterApplicationOutputWithContext

func (o ClusterApplicationOutput) ToClusterApplicationOutputWithContext(ctx context.Context) ClusterApplicationOutput

type ClusterArgs

type ClusterArgs struct {
	// The type of the domain account service. Valid values: `nis`, `ldap`. Default value: `nis`
	AccountType pulumi.StringPtrInput
	// The additional volumes. See the following `Block additionalVolumes`.
	AdditionalVolumes ClusterAdditionalVolumeArrayInput
	// The application. See the following `Block application`.
	Applications ClusterApplicationArrayInput
	// Specifies whether to enable auto-renewal for the subscription. Default value: `false`.
	AutoRenew pulumi.BoolPtrInput
	// The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
	AutoRenewPeriod pulumi.IntPtrInput
	// The version of the E-HPC client. By default, the parameter is set to the latest version number.
	ClientVersion pulumi.StringPtrInput
	// The name of the cluster. The name must be `2` to `64` characters in length.
	ClusterName pulumi.StringInput
	// The version of the cluster. Default value: `1.0`.
	ClusterVersion pulumi.StringPtrInput
	// The number of the compute nodes. Valid values: `1` to `99`.
	ComputeCount pulumi.IntInput
	// Specifies whether the compute nodes support hyper-threading. Default value: `true`.
	ComputeEnableHt pulumi.BoolPtrInput
	// The instance type of the compute nodes.
	ComputeInstanceType pulumi.StringInput
	// 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.
	ComputeSpotPriceLimit pulumi.StringPtrInput
	// 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.
	ComputeSpotStrategy pulumi.StringPtrInput
	// 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.
	DeployMode pulumi.StringPtrInput
	// The description of the cluster. The description must be `2` to `256` characters in length. It cannot start with `http://` or `https://`.
	Description pulumi.StringPtrInput
	// The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
	Domain pulumi.StringPtrInput
	// The billing method of the nodes.
	EcsChargeType pulumi.StringPtrInput
	// The version of E-HPC. By default, the parameter is set to the latest version number.
	EhpcVersion pulumi.StringPtrInput
	// 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.
	HaEnable pulumi.BoolPtrInput
	// The ID of the image.
	ImageId pulumi.StringPtrInput
	// The type of the image. Valid values: `others`, `self`, `system`, `marketplace`. Default value: `system`.
	ImageOwnerAlias pulumi.StringPtrInput
	// The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
	InputFileUrl pulumi.StringPtrInput
	// Specifies whether to enable auto scaling. Default value: `false`.
	IsComputeEss pulumi.BoolPtrInput
	// The queue of the nodes to which the additional file system is attached.
	JobQueue pulumi.StringPtrInput
	// The name of the AccessKey pair.
	KeyPairName pulumi.StringPtrInput
	// The number of the logon nodes. Valid values: `1`.
	LoginCount pulumi.IntInput
	// The instance type of the logon nodes.
	LoginInstanceType pulumi.StringInput
	// The number of the management nodes. Valid values: 1 and 2.
	ManagerCount pulumi.IntPtrInput
	// The instance type of the management nodes.
	ManagerInstanceType pulumi.StringInput
	// The image tag of the operating system.
	OsTag pulumi.StringInput
	// The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: `( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /`. You must specify either `password` or `keyPairName`. If both are specified, the Password parameter prevails.
	Password pulumi.StringPtrInput
	// The duration of the subscription. The unit of the duration is specified by the `periodUnit` 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 pulumi.IntPtrInput
	// The unit of the subscription duration. Valid values: `Year`, `Month`, `Hour`. Default value: `Month`.
	PeriodUnit pulumi.StringPtrInput
	// 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.
	Plugin pulumi.StringPtrInput
	// The post install script. See the following `Block postInstallScript`.
	PostInstallScripts ClusterPostInstallScriptArrayInput
	// The node of the RAM role.
	RamNodeTypes pulumi.StringArrayInput
	// The name of the Resource Access Management (RAM) role.
	RamRoleName pulumi.StringPtrInput
	// The release instance. Valid values: `true`.
	ReleaseInstance pulumi.BoolPtrInput
	// The remote directory to which the additional file system is mounted.
	RemoteDirectory pulumi.StringPtrInput
	// Specifies whether to enable Virtual Network Computing (VNC). Default value: `false`.
	RemoteVisEnable pulumi.BoolPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.
	SccClusterId pulumi.StringPtrInput
	// The type of the scheduler. Valid values: `pbs`, `slurm`, `opengridscheduler` and `deadline`. Default value: `pbs`.
	SchedulerType pulumi.StringPtrInput
	// The ID of the security group to which the cluster belongs.
	SecurityGroupId pulumi.StringPtrInput
	// 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.
	SecurityGroupName pulumi.StringPtrInput
	// The performance level of the ESSD that is used as the system disk. Default value: `PL1` For more information, see [ESSDs](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/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.
	SystemDiskLevel pulumi.StringPtrInput
	// The size of the system disk. Unit: `GB`. Valid values: `40` to `500`. Default value: `40`.
	SystemDiskSize pulumi.IntPtrInput
	// The type of the system disk. Valid values: `cloudEfficiency`, `cloudSsd`, `cloudEssd` or `cloud`. Default value: `cloudSsd`.
	SystemDiskType pulumi.StringPtrInput
	// The ID of the additional file system.
	VolumeId pulumi.StringPtrInput
	// The mount options of the file system.
	VolumeMountOption pulumi.StringPtrInput
	// The mount target of the additional file system.
	VolumeMountpoint pulumi.StringPtrInput
	// The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS`
	VolumeProtocol pulumi.StringPtrInput
	// The type of the additional shared storage. Only NAS file systems are supported.
	VolumeType pulumi.StringPtrInput
	// The ID of the virtual private cloud (VPC) to which the cluster belongs.
	VpcId pulumi.StringPtrInput
	// The ID of the vSwitch. E-HPC supports only VPC networks.
	VswitchId pulumi.StringPtrInput
	// Specifies whether not to install the agent. Default value: `false`.
	WithoutAgent pulumi.BoolPtrInput
	// Specifies whether the logon node uses an elastic IP address (EIP). Default value: `false`.
	WithoutElasticIp pulumi.BoolPtrInput
	// The ID of the zone.
	ZoneId pulumi.StringPtrInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) AccountType

func (o ClusterOutput) AccountType() pulumi.StringOutput

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

func (ClusterOutput) AdditionalVolumes

func (o ClusterOutput) AdditionalVolumes() ClusterAdditionalVolumeArrayOutput

The additional volumes. See the following `Block additionalVolumes`.

func (ClusterOutput) Applications

The application. See the following `Block application`.

func (ClusterOutput) AutoRenew

func (o ClusterOutput) AutoRenew() pulumi.BoolPtrOutput

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

func (ClusterOutput) AutoRenewPeriod

func (o ClusterOutput) AutoRenewPeriod() pulumi.IntPtrOutput

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

func (ClusterOutput) ClientVersion

func (o ClusterOutput) ClientVersion() pulumi.StringOutput

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

func (ClusterOutput) ClusterName

func (o ClusterOutput) ClusterName() pulumi.StringOutput

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

func (ClusterOutput) ClusterVersion

func (o ClusterOutput) ClusterVersion() pulumi.StringOutput

The version of the cluster. Default value: `1.0`.

func (ClusterOutput) ComputeCount

func (o ClusterOutput) ComputeCount() pulumi.IntOutput

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

func (ClusterOutput) ComputeEnableHt

func (o ClusterOutput) ComputeEnableHt() pulumi.BoolPtrOutput

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

func (ClusterOutput) ComputeInstanceType

func (o ClusterOutput) ComputeInstanceType() pulumi.StringOutput

The instance type of the compute nodes.

func (ClusterOutput) ComputeSpotPriceLimit

func (o ClusterOutput) ComputeSpotPriceLimit() pulumi.StringPtrOutput

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.

func (ClusterOutput) ComputeSpotStrategy

func (o ClusterOutput) ComputeSpotStrategy() pulumi.StringPtrOutput

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.

func (ClusterOutput) DeployMode

func (o ClusterOutput) DeployMode() pulumi.StringOutput

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.

func (ClusterOutput) Description

func (o ClusterOutput) Description() pulumi.StringOutput

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

func (ClusterOutput) Domain

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

func (ClusterOutput) EcsChargeType

func (o ClusterOutput) EcsChargeType() pulumi.StringOutput

The billing method of the nodes.

func (ClusterOutput) EhpcVersion

func (o ClusterOutput) EhpcVersion() pulumi.StringOutput

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

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) HaEnable

func (o ClusterOutput) HaEnable() pulumi.BoolOutput

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.

func (ClusterOutput) ImageId

func (o ClusterOutput) ImageId() pulumi.StringOutput

The ID of the image.

func (ClusterOutput) ImageOwnerAlias

func (o ClusterOutput) ImageOwnerAlias() pulumi.StringOutput

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

func (ClusterOutput) InputFileUrl

func (o ClusterOutput) InputFileUrl() pulumi.StringPtrOutput

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

func (ClusterOutput) IsComputeEss

func (o ClusterOutput) IsComputeEss() pulumi.BoolPtrOutput

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

func (ClusterOutput) JobQueue

func (o ClusterOutput) JobQueue() pulumi.StringPtrOutput

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

func (ClusterOutput) KeyPairName

func (o ClusterOutput) KeyPairName() pulumi.StringPtrOutput

The name of the AccessKey pair.

func (ClusterOutput) LoginCount

func (o ClusterOutput) LoginCount() pulumi.IntOutput

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

func (ClusterOutput) LoginInstanceType

func (o ClusterOutput) LoginInstanceType() pulumi.StringOutput

The instance type of the logon nodes.

func (ClusterOutput) ManagerCount

func (o ClusterOutput) ManagerCount() pulumi.IntOutput

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

func (ClusterOutput) ManagerInstanceType

func (o ClusterOutput) ManagerInstanceType() pulumi.StringOutput

The instance type of the management nodes.

func (ClusterOutput) OsTag

func (o ClusterOutput) OsTag() pulumi.StringOutput

The image tag of the operating system.

func (ClusterOutput) Password

func (o ClusterOutput) Password() pulumi.StringPtrOutput

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

func (ClusterOutput) Period

func (o ClusterOutput) Period() pulumi.IntPtrOutput

The duration of the subscription. The unit of the duration is specified by the `periodUnit` 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.

func (ClusterOutput) PeriodUnit

func (o ClusterOutput) PeriodUnit() pulumi.StringPtrOutput

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

func (ClusterOutput) Plugin

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.

func (ClusterOutput) PostInstallScripts

func (o ClusterOutput) PostInstallScripts() ClusterPostInstallScriptArrayOutput

The post install script. See the following `Block postInstallScript`.

func (ClusterOutput) RamNodeTypes

func (o ClusterOutput) RamNodeTypes() pulumi.StringArrayOutput

The node of the RAM role.

func (ClusterOutput) RamRoleName

func (o ClusterOutput) RamRoleName() pulumi.StringPtrOutput

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

func (ClusterOutput) ReleaseInstance

func (o ClusterOutput) ReleaseInstance() pulumi.BoolPtrOutput

The release instance. Valid values: `true`.

func (ClusterOutput) RemoteDirectory

func (o ClusterOutput) RemoteDirectory() pulumi.StringOutput

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

func (ClusterOutput) RemoteVisEnable

func (o ClusterOutput) RemoteVisEnable() pulumi.BoolPtrOutput

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

func (ClusterOutput) ResourceGroupId

func (o ClusterOutput) ResourceGroupId() pulumi.StringPtrOutput

The ID of the resource group.

func (ClusterOutput) SccClusterId

func (o ClusterOutput) SccClusterId() pulumi.StringOutput

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

func (ClusterOutput) SchedulerType

func (o ClusterOutput) SchedulerType() pulumi.StringOutput

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

func (ClusterOutput) SecurityGroupId

func (o ClusterOutput) SecurityGroupId() pulumi.StringOutput

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

func (ClusterOutput) SecurityGroupName

func (o ClusterOutput) SecurityGroupName() pulumi.StringPtrOutput

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.

func (ClusterOutput) Status

func (o ClusterOutput) Status() pulumi.StringOutput

The status of the resource.

func (ClusterOutput) SystemDiskLevel

func (o ClusterOutput) SystemDiskLevel() pulumi.StringPtrOutput

The performance level of the ESSD that is used as the system disk. Default value: `PL1` For more information, see [ESSDs](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/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.

func (ClusterOutput) SystemDiskSize

func (o ClusterOutput) SystemDiskSize() pulumi.IntPtrOutput

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

func (ClusterOutput) SystemDiskType

func (o ClusterOutput) SystemDiskType() pulumi.StringPtrOutput

The type of the system disk. Valid values: `cloudEfficiency`, `cloudSsd`, `cloudEssd` or `cloud`. Default value: `cloudSsd`.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) VolumeId

func (o ClusterOutput) VolumeId() pulumi.StringOutput

The ID of the additional file system.

func (ClusterOutput) VolumeMountOption

func (o ClusterOutput) VolumeMountOption() pulumi.StringPtrOutput

The mount options of the file system.

func (ClusterOutput) VolumeMountpoint

func (o ClusterOutput) VolumeMountpoint() pulumi.StringOutput

The mount target of the additional file system.

func (ClusterOutput) VolumeProtocol

func (o ClusterOutput) VolumeProtocol() pulumi.StringOutput

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

func (ClusterOutput) VolumeType

func (o ClusterOutput) VolumeType() pulumi.StringOutput

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

func (ClusterOutput) VpcId

func (o ClusterOutput) VpcId() pulumi.StringOutput

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

func (ClusterOutput) VswitchId

func (o ClusterOutput) VswitchId() pulumi.StringOutput

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

func (ClusterOutput) WithoutAgent

func (o ClusterOutput) WithoutAgent() pulumi.BoolPtrOutput

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

func (ClusterOutput) WithoutElasticIp

func (o ClusterOutput) WithoutElasticIp() pulumi.BoolPtrOutput

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

func (ClusterOutput) ZoneId

func (o ClusterOutput) ZoneId() pulumi.StringOutput

The ID of the zone.

type ClusterPostInstallScript

type ClusterPostInstallScript struct {
	// The parameter that is used to run the script after the cluster is created.
	Args *string `pulumi:"args"`
	// The URL that is used to download the script after the cluster is created.
	Url *string `pulumi:"url"`
}

type ClusterPostInstallScriptArgs

type ClusterPostInstallScriptArgs struct {
	// The parameter that is used to run the script after the cluster is created.
	Args pulumi.StringPtrInput `pulumi:"args"`
	// The URL that is used to download the script after the cluster is created.
	Url pulumi.StringPtrInput `pulumi:"url"`
}

func (ClusterPostInstallScriptArgs) ElementType

func (ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutput

func (i ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput

func (ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutputWithContext

func (i ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutputWithContext(ctx context.Context) ClusterPostInstallScriptOutput

type ClusterPostInstallScriptArray

type ClusterPostInstallScriptArray []ClusterPostInstallScriptInput

func (ClusterPostInstallScriptArray) ElementType

func (ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutput

func (i ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput

func (ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutputWithContext

func (i ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) ClusterPostInstallScriptArrayOutput

type ClusterPostInstallScriptArrayInput

type ClusterPostInstallScriptArrayInput interface {
	pulumi.Input

	ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput
	ToClusterPostInstallScriptArrayOutputWithContext(context.Context) ClusterPostInstallScriptArrayOutput
}

ClusterPostInstallScriptArrayInput is an input type that accepts ClusterPostInstallScriptArray and ClusterPostInstallScriptArrayOutput values. You can construct a concrete instance of `ClusterPostInstallScriptArrayInput` via:

ClusterPostInstallScriptArray{ ClusterPostInstallScriptArgs{...} }

type ClusterPostInstallScriptArrayOutput

type ClusterPostInstallScriptArrayOutput struct{ *pulumi.OutputState }

func (ClusterPostInstallScriptArrayOutput) ElementType

func (ClusterPostInstallScriptArrayOutput) Index

func (ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutput

func (o ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput

func (ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutputWithContext

func (o ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) ClusterPostInstallScriptArrayOutput

type ClusterPostInstallScriptInput

type ClusterPostInstallScriptInput interface {
	pulumi.Input

	ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput
	ToClusterPostInstallScriptOutputWithContext(context.Context) ClusterPostInstallScriptOutput
}

ClusterPostInstallScriptInput is an input type that accepts ClusterPostInstallScriptArgs and ClusterPostInstallScriptOutput values. You can construct a concrete instance of `ClusterPostInstallScriptInput` via:

ClusterPostInstallScriptArgs{...}

type ClusterPostInstallScriptOutput

type ClusterPostInstallScriptOutput struct{ *pulumi.OutputState }

func (ClusterPostInstallScriptOutput) Args

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

func (ClusterPostInstallScriptOutput) ElementType

func (ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutput

func (o ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput

func (ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutputWithContext

func (o ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutputWithContext(ctx context.Context) ClusterPostInstallScriptOutput

func (ClusterPostInstallScriptOutput) Url

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

type ClusterState

type ClusterState struct {
	// The type of the domain account service. Valid values: `nis`, `ldap`. Default value: `nis`
	AccountType pulumi.StringPtrInput
	// The additional volumes. See the following `Block additionalVolumes`.
	AdditionalVolumes ClusterAdditionalVolumeArrayInput
	// The application. See the following `Block application`.
	Applications ClusterApplicationArrayInput
	// Specifies whether to enable auto-renewal for the subscription. Default value: `false`.
	AutoRenew pulumi.BoolPtrInput
	// The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
	AutoRenewPeriod pulumi.IntPtrInput
	// The version of the E-HPC client. By default, the parameter is set to the latest version number.
	ClientVersion pulumi.StringPtrInput
	// The name of the cluster. The name must be `2` to `64` characters in length.
	ClusterName pulumi.StringPtrInput
	// The version of the cluster. Default value: `1.0`.
	ClusterVersion pulumi.StringPtrInput
	// The number of the compute nodes. Valid values: `1` to `99`.
	ComputeCount pulumi.IntPtrInput
	// Specifies whether the compute nodes support hyper-threading. Default value: `true`.
	ComputeEnableHt pulumi.BoolPtrInput
	// The instance type of the compute nodes.
	ComputeInstanceType pulumi.StringPtrInput
	// 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.
	ComputeSpotPriceLimit pulumi.StringPtrInput
	// 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.
	ComputeSpotStrategy pulumi.StringPtrInput
	// 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.
	DeployMode pulumi.StringPtrInput
	// The description of the cluster. The description must be `2` to `256` characters in length. It cannot start with `http://` or `https://`.
	Description pulumi.StringPtrInput
	// The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
	Domain pulumi.StringPtrInput
	// The billing method of the nodes.
	EcsChargeType pulumi.StringPtrInput
	// The version of E-HPC. By default, the parameter is set to the latest version number.
	EhpcVersion pulumi.StringPtrInput
	// 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.
	HaEnable pulumi.BoolPtrInput
	// The ID of the image.
	ImageId pulumi.StringPtrInput
	// The type of the image. Valid values: `others`, `self`, `system`, `marketplace`. Default value: `system`.
	ImageOwnerAlias pulumi.StringPtrInput
	// The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
	InputFileUrl pulumi.StringPtrInput
	// Specifies whether to enable auto scaling. Default value: `false`.
	IsComputeEss pulumi.BoolPtrInput
	// The queue of the nodes to which the additional file system is attached.
	JobQueue pulumi.StringPtrInput
	// The name of the AccessKey pair.
	KeyPairName pulumi.StringPtrInput
	// The number of the logon nodes. Valid values: `1`.
	LoginCount pulumi.IntPtrInput
	// The instance type of the logon nodes.
	LoginInstanceType pulumi.StringPtrInput
	// The number of the management nodes. Valid values: 1 and 2.
	ManagerCount pulumi.IntPtrInput
	// The instance type of the management nodes.
	ManagerInstanceType pulumi.StringPtrInput
	// The image tag of the operating system.
	OsTag pulumi.StringPtrInput
	// The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: `( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /`. You must specify either `password` or `keyPairName`. If both are specified, the Password parameter prevails.
	Password pulumi.StringPtrInput
	// The duration of the subscription. The unit of the duration is specified by the `periodUnit` 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 pulumi.IntPtrInput
	// The unit of the subscription duration. Valid values: `Year`, `Month`, `Hour`. Default value: `Month`.
	PeriodUnit pulumi.StringPtrInput
	// 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.
	Plugin pulumi.StringPtrInput
	// The post install script. See the following `Block postInstallScript`.
	PostInstallScripts ClusterPostInstallScriptArrayInput
	// The node of the RAM role.
	RamNodeTypes pulumi.StringArrayInput
	// The name of the Resource Access Management (RAM) role.
	RamRoleName pulumi.StringPtrInput
	// The release instance. Valid values: `true`.
	ReleaseInstance pulumi.BoolPtrInput
	// The remote directory to which the additional file system is mounted.
	RemoteDirectory pulumi.StringPtrInput
	// Specifies whether to enable Virtual Network Computing (VNC). Default value: `false`.
	RemoteVisEnable pulumi.BoolPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.
	SccClusterId pulumi.StringPtrInput
	// The type of the scheduler. Valid values: `pbs`, `slurm`, `opengridscheduler` and `deadline`. Default value: `pbs`.
	SchedulerType pulumi.StringPtrInput
	// The ID of the security group to which the cluster belongs.
	SecurityGroupId pulumi.StringPtrInput
	// 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.
	SecurityGroupName pulumi.StringPtrInput
	// The status of the resource.
	Status pulumi.StringPtrInput
	// The performance level of the ESSD that is used as the system disk. Default value: `PL1` For more information, see [ESSDs](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/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.
	SystemDiskLevel pulumi.StringPtrInput
	// The size of the system disk. Unit: `GB`. Valid values: `40` to `500`. Default value: `40`.
	SystemDiskSize pulumi.IntPtrInput
	// The type of the system disk. Valid values: `cloudEfficiency`, `cloudSsd`, `cloudEssd` or `cloud`. Default value: `cloudSsd`.
	SystemDiskType pulumi.StringPtrInput
	// The ID of the additional file system.
	VolumeId pulumi.StringPtrInput
	// The mount options of the file system.
	VolumeMountOption pulumi.StringPtrInput
	// The mount target of the additional file system.
	VolumeMountpoint pulumi.StringPtrInput
	// The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS`
	VolumeProtocol pulumi.StringPtrInput
	// The type of the additional shared storage. Only NAS file systems are supported.
	VolumeType pulumi.StringPtrInput
	// The ID of the virtual private cloud (VPC) to which the cluster belongs.
	VpcId pulumi.StringPtrInput
	// The ID of the vSwitch. E-HPC supports only VPC networks.
	VswitchId pulumi.StringPtrInput
	// Specifies whether not to install the agent. Default value: `false`.
	WithoutAgent pulumi.BoolPtrInput
	// Specifies whether the logon node uses an elastic IP address (EIP). Default value: `false`.
	WithoutElasticIp pulumi.BoolPtrInput
	// The ID of the zone.
	ZoneId pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type GetClustersArgs

type GetClustersArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Cluster IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Cluster name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getClusters.

type GetClustersCluster

type GetClustersCluster struct {
	// The server type of the account.
	AccountType  string                          `pulumi:"accountType"`
	Applications []GetClustersClusterApplication `pulumi:"applications"`
	// The version number of the client used by the cluster.
	ClientVersion string `pulumi:"clientVersion"`
	// The id of E-HPC Cluster.
	ClusterId string `pulumi:"clusterId"`
	// The name of E-HPC cluster.
	ClusterName string `pulumi:"clusterName"`
	// The number of compute nodes in the cluster.
	ComputeCount int `pulumi:"computeCount"`
	// Cluster compute node specifications.
	ComputeInstanceType string `pulumi:"computeInstanceType"`
	// The creation time of the resource.
	CreateTime string `pulumi:"createTime"`
	// Cluster deployment mode. Possible values:
	// - Standard: separate deployment of account nodes, scheduling nodes, login nodes, and compute nodes.
	// - Advanced:HA mode deployment.
	// - Simple: the account node and the scheduling node are deployed on one node, and the login node and the compute node are deployed separately.
	// - Tiny: account nodes, scheduling nodes, and login nodes are deployed on one node, and compute nodes are deployed separately.
	// - OneBox: account node, scheduling node, login node and compute node are deployed on one node.
	DeployMode string `pulumi:"deployMode"`
	// The description of E-HPC cluster.
	Description string `pulumi:"description"`
	// Whether to turn on high availability. > If high availability is enabled, each control role in the cluster will use two primary and secondary instances.
	HaEnable bool `pulumi:"haEnable"`
	// The ID of the Cluster.
	Id string `pulumi:"id"`
	// The ID of the Image.
	ImageId string `pulumi:"imageId"`
	// The type of the image.
	ImageOwnerAlias string `pulumi:"imageOwnerAlias"`
	// The number of cluster login nodes. Only configuration 1 is supported.
	LoginCount int `pulumi:"loginCount"`
	// Cluster login node specifications.
	LoginInstanceType string `pulumi:"loginInstanceType"`
	ManagerCount      int    `pulumi:"managerCount"`
	// The instance type of manager nodes.
	ManagerInstanceType string `pulumi:"managerInstanceType"`
	// The image tag of the operating system.
	OsTag              string                                `pulumi:"osTag"`
	PostInstallScripts []GetClustersClusterPostInstallScript `pulumi:"postInstallScripts"`
	// Mount the remote directory of the shared storage.
	RemoteDirectory string `pulumi:"remoteDirectory"`
	// The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty.
	SccClusterId string `pulumi:"sccClusterId"`
	// Dispatch server type.
	SchedulerType string `pulumi:"schedulerType"`
	// The ID of the security group.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// The status of the resource.
	Status string `pulumi:"status"`
	// The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance.
	VolumeId string `pulumi:"volumeId"`
	// The mount target of the file system. Mount targets cannot be automatically created for NAS file systems.
	VolumeMountpoint string `pulumi:"volumeMountpoint"`
	// The type of the protocol that is used by the file system.
	VolumeProtocol string `pulumi:"volumeProtocol"`
	// The type of the network shared storage. Valid value: NAS.
	VolumeType string `pulumi:"volumeType"`
	// The ID of the VPC network.
	VpcId string `pulumi:"vpcId"`
	// The vswitch id.
	VswitchId string `pulumi:"vswitchId"`
	ZoneId    string `pulumi:"zoneId"`
}

type GetClustersClusterApplication

type GetClustersClusterApplication struct {
	Tag string `pulumi:"tag"`
}

type GetClustersClusterApplicationArgs

type GetClustersClusterApplicationArgs struct {
	Tag pulumi.StringInput `pulumi:"tag"`
}

func (GetClustersClusterApplicationArgs) ElementType

func (GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutput

func (i GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput

func (GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutputWithContext

func (i GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutputWithContext(ctx context.Context) GetClustersClusterApplicationOutput

type GetClustersClusterApplicationArray

type GetClustersClusterApplicationArray []GetClustersClusterApplicationInput

func (GetClustersClusterApplicationArray) ElementType

func (GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutput

func (i GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput

func (GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutputWithContext

func (i GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutputWithContext(ctx context.Context) GetClustersClusterApplicationArrayOutput

type GetClustersClusterApplicationArrayInput

type GetClustersClusterApplicationArrayInput interface {
	pulumi.Input

	ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput
	ToGetClustersClusterApplicationArrayOutputWithContext(context.Context) GetClustersClusterApplicationArrayOutput
}

GetClustersClusterApplicationArrayInput is an input type that accepts GetClustersClusterApplicationArray and GetClustersClusterApplicationArrayOutput values. You can construct a concrete instance of `GetClustersClusterApplicationArrayInput` via:

GetClustersClusterApplicationArray{ GetClustersClusterApplicationArgs{...} }

type GetClustersClusterApplicationArrayOutput

type GetClustersClusterApplicationArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterApplicationArrayOutput) ElementType

func (GetClustersClusterApplicationArrayOutput) Index

func (GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutput

func (o GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput

func (GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutputWithContext

func (o GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutputWithContext(ctx context.Context) GetClustersClusterApplicationArrayOutput

type GetClustersClusterApplicationInput

type GetClustersClusterApplicationInput interface {
	pulumi.Input

	ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput
	ToGetClustersClusterApplicationOutputWithContext(context.Context) GetClustersClusterApplicationOutput
}

GetClustersClusterApplicationInput is an input type that accepts GetClustersClusterApplicationArgs and GetClustersClusterApplicationOutput values. You can construct a concrete instance of `GetClustersClusterApplicationInput` via:

GetClustersClusterApplicationArgs{...}

type GetClustersClusterApplicationOutput

type GetClustersClusterApplicationOutput struct{ *pulumi.OutputState }

func (GetClustersClusterApplicationOutput) ElementType

func (GetClustersClusterApplicationOutput) Tag

func (GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutput

func (o GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput

func (GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutputWithContext

func (o GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutputWithContext(ctx context.Context) GetClustersClusterApplicationOutput

type GetClustersClusterArgs

type GetClustersClusterArgs struct {
	// The server type of the account.
	AccountType  pulumi.StringInput                      `pulumi:"accountType"`
	Applications GetClustersClusterApplicationArrayInput `pulumi:"applications"`
	// The version number of the client used by the cluster.
	ClientVersion pulumi.StringInput `pulumi:"clientVersion"`
	// The id of E-HPC Cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The name of E-HPC cluster.
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// The number of compute nodes in the cluster.
	ComputeCount pulumi.IntInput `pulumi:"computeCount"`
	// Cluster compute node specifications.
	ComputeInstanceType pulumi.StringInput `pulumi:"computeInstanceType"`
	// The creation time of the resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Cluster deployment mode. Possible values:
	// - Standard: separate deployment of account nodes, scheduling nodes, login nodes, and compute nodes.
	// - Advanced:HA mode deployment.
	// - Simple: the account node and the scheduling node are deployed on one node, and the login node and the compute node are deployed separately.
	// - Tiny: account nodes, scheduling nodes, and login nodes are deployed on one node, and compute nodes are deployed separately.
	// - OneBox: account node, scheduling node, login node and compute node are deployed on one node.
	DeployMode pulumi.StringInput `pulumi:"deployMode"`
	// The description of E-HPC cluster.
	Description pulumi.StringInput `pulumi:"description"`
	// Whether to turn on high availability. > If high availability is enabled, each control role in the cluster will use two primary and secondary instances.
	HaEnable pulumi.BoolInput `pulumi:"haEnable"`
	// The ID of the Cluster.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the Image.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// The type of the image.
	ImageOwnerAlias pulumi.StringInput `pulumi:"imageOwnerAlias"`
	// The number of cluster login nodes. Only configuration 1 is supported.
	LoginCount pulumi.IntInput `pulumi:"loginCount"`
	// Cluster login node specifications.
	LoginInstanceType pulumi.StringInput `pulumi:"loginInstanceType"`
	ManagerCount      pulumi.IntInput    `pulumi:"managerCount"`
	// The instance type of manager nodes.
	ManagerInstanceType pulumi.StringInput `pulumi:"managerInstanceType"`
	// The image tag of the operating system.
	OsTag              pulumi.StringInput                            `pulumi:"osTag"`
	PostInstallScripts GetClustersClusterPostInstallScriptArrayInput `pulumi:"postInstallScripts"`
	// Mount the remote directory of the shared storage.
	RemoteDirectory pulumi.StringInput `pulumi:"remoteDirectory"`
	// The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty.
	SccClusterId pulumi.StringInput `pulumi:"sccClusterId"`
	// Dispatch server type.
	SchedulerType pulumi.StringInput `pulumi:"schedulerType"`
	// The ID of the security group.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// The status of the resource.
	Status pulumi.StringInput `pulumi:"status"`
	// The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance.
	VolumeId pulumi.StringInput `pulumi:"volumeId"`
	// The mount target of the file system. Mount targets cannot be automatically created for NAS file systems.
	VolumeMountpoint pulumi.StringInput `pulumi:"volumeMountpoint"`
	// The type of the protocol that is used by the file system.
	VolumeProtocol pulumi.StringInput `pulumi:"volumeProtocol"`
	// The type of the network shared storage. Valid value: NAS.
	VolumeType pulumi.StringInput `pulumi:"volumeType"`
	// The ID of the VPC network.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The vswitch id.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
	ZoneId    pulumi.StringInput `pulumi:"zoneId"`
}

func (GetClustersClusterArgs) ElementType

func (GetClustersClusterArgs) ElementType() reflect.Type

func (GetClustersClusterArgs) ToGetClustersClusterOutput

func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterArgs) ToGetClustersClusterOutputWithContext

func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput

type GetClustersClusterArray

type GetClustersClusterArray []GetClustersClusterInput

func (GetClustersClusterArray) ElementType

func (GetClustersClusterArray) ElementType() reflect.Type

func (GetClustersClusterArray) ToGetClustersClusterArrayOutput

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput

type GetClustersClusterArrayInput

type GetClustersClusterArrayInput interface {
	pulumi.Input

	ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
	ToGetClustersClusterArrayOutputWithContext(context.Context) GetClustersClusterArrayOutput
}

GetClustersClusterArrayInput is an input type that accepts GetClustersClusterArray and GetClustersClusterArrayOutput values. You can construct a concrete instance of `GetClustersClusterArrayInput` via:

GetClustersClusterArray{ GetClustersClusterArgs{...} }

type GetClustersClusterArrayOutput

type GetClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterArrayOutput) ElementType

func (GetClustersClusterArrayOutput) Index

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput

type GetClustersClusterInput

type GetClustersClusterInput interface {
	pulumi.Input

	ToGetClustersClusterOutput() GetClustersClusterOutput
	ToGetClustersClusterOutputWithContext(context.Context) GetClustersClusterOutput
}

GetClustersClusterInput is an input type that accepts GetClustersClusterArgs and GetClustersClusterOutput values. You can construct a concrete instance of `GetClustersClusterInput` via:

GetClustersClusterArgs{...}

type GetClustersClusterOutput

type GetClustersClusterOutput struct{ *pulumi.OutputState }

func (GetClustersClusterOutput) AccountType

The server type of the account.

func (GetClustersClusterOutput) Applications

func (GetClustersClusterOutput) ClientVersion

func (o GetClustersClusterOutput) ClientVersion() pulumi.StringOutput

The version number of the client used by the cluster.

func (GetClustersClusterOutput) ClusterId

The id of E-HPC Cluster.

func (GetClustersClusterOutput) ClusterName

The name of E-HPC cluster.

func (GetClustersClusterOutput) ComputeCount

func (o GetClustersClusterOutput) ComputeCount() pulumi.IntOutput

The number of compute nodes in the cluster.

func (GetClustersClusterOutput) ComputeInstanceType

func (o GetClustersClusterOutput) ComputeInstanceType() pulumi.StringOutput

Cluster compute node specifications.

func (GetClustersClusterOutput) CreateTime

The creation time of the resource.

func (GetClustersClusterOutput) DeployMode

Cluster deployment mode. Possible values: - Standard: separate deployment of account nodes, scheduling nodes, login nodes, and compute nodes. - Advanced:HA mode deployment. - Simple: the account node and the scheduling node are deployed on one node, and the login node and the compute node are deployed separately. - Tiny: account nodes, scheduling nodes, and login nodes are deployed on one node, and compute nodes are deployed separately. - OneBox: account node, scheduling node, login node and compute node are deployed on one node.

func (GetClustersClusterOutput) Description

The description of E-HPC cluster.

func (GetClustersClusterOutput) ElementType

func (GetClustersClusterOutput) ElementType() reflect.Type

func (GetClustersClusterOutput) HaEnable

Whether to turn on high availability. > If high availability is enabled, each control role in the cluster will use two primary and secondary instances.

func (GetClustersClusterOutput) Id

The ID of the Cluster.

func (GetClustersClusterOutput) ImageId

The ID of the Image.

func (GetClustersClusterOutput) ImageOwnerAlias

func (o GetClustersClusterOutput) ImageOwnerAlias() pulumi.StringOutput

The type of the image.

func (GetClustersClusterOutput) LoginCount

func (o GetClustersClusterOutput) LoginCount() pulumi.IntOutput

The number of cluster login nodes. Only configuration 1 is supported.

func (GetClustersClusterOutput) LoginInstanceType

func (o GetClustersClusterOutput) LoginInstanceType() pulumi.StringOutput

Cluster login node specifications.

func (GetClustersClusterOutput) ManagerCount

func (o GetClustersClusterOutput) ManagerCount() pulumi.IntOutput

func (GetClustersClusterOutput) ManagerInstanceType

func (o GetClustersClusterOutput) ManagerInstanceType() pulumi.StringOutput

The instance type of manager nodes.

func (GetClustersClusterOutput) OsTag

The image tag of the operating system.

func (GetClustersClusterOutput) PostInstallScripts

func (GetClustersClusterOutput) RemoteDirectory

func (o GetClustersClusterOutput) RemoteDirectory() pulumi.StringOutput

Mount the remote directory of the shared storage.

func (GetClustersClusterOutput) SccClusterId

func (o GetClustersClusterOutput) SccClusterId() pulumi.StringOutput

The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty.

func (GetClustersClusterOutput) SchedulerType

func (o GetClustersClusterOutput) SchedulerType() pulumi.StringOutput

Dispatch server type.

func (GetClustersClusterOutput) SecurityGroupId

func (o GetClustersClusterOutput) SecurityGroupId() pulumi.StringOutput

The ID of the security group.

func (GetClustersClusterOutput) Status

The status of the resource.

func (GetClustersClusterOutput) ToGetClustersClusterOutput

func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterOutput) ToGetClustersClusterOutputWithContext

func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput

func (GetClustersClusterOutput) VolumeId

The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance.

func (GetClustersClusterOutput) VolumeMountpoint

func (o GetClustersClusterOutput) VolumeMountpoint() pulumi.StringOutput

The mount target of the file system. Mount targets cannot be automatically created for NAS file systems.

func (GetClustersClusterOutput) VolumeProtocol

func (o GetClustersClusterOutput) VolumeProtocol() pulumi.StringOutput

The type of the protocol that is used by the file system.

func (GetClustersClusterOutput) VolumeType

The type of the network shared storage. Valid value: NAS.

func (GetClustersClusterOutput) VpcId

The ID of the VPC network.

func (GetClustersClusterOutput) VswitchId

The vswitch id.

func (GetClustersClusterOutput) ZoneId

type GetClustersClusterPostInstallScript

type GetClustersClusterPostInstallScript struct {
	Args string `pulumi:"args"`
	Url  string `pulumi:"url"`
}

type GetClustersClusterPostInstallScriptArgs

type GetClustersClusterPostInstallScriptArgs struct {
	Args pulumi.StringInput `pulumi:"args"`
	Url  pulumi.StringInput `pulumi:"url"`
}

func (GetClustersClusterPostInstallScriptArgs) ElementType

func (GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutput

func (i GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput

func (GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutputWithContext

func (i GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptOutput

type GetClustersClusterPostInstallScriptArray

type GetClustersClusterPostInstallScriptArray []GetClustersClusterPostInstallScriptInput

func (GetClustersClusterPostInstallScriptArray) ElementType

func (GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutput

func (i GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutput() GetClustersClusterPostInstallScriptArrayOutput

func (GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutputWithContext

func (i GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptArrayOutput

type GetClustersClusterPostInstallScriptArrayInput

type GetClustersClusterPostInstallScriptArrayInput interface {
	pulumi.Input

	ToGetClustersClusterPostInstallScriptArrayOutput() GetClustersClusterPostInstallScriptArrayOutput
	ToGetClustersClusterPostInstallScriptArrayOutputWithContext(context.Context) GetClustersClusterPostInstallScriptArrayOutput
}

GetClustersClusterPostInstallScriptArrayInput is an input type that accepts GetClustersClusterPostInstallScriptArray and GetClustersClusterPostInstallScriptArrayOutput values. You can construct a concrete instance of `GetClustersClusterPostInstallScriptArrayInput` via:

GetClustersClusterPostInstallScriptArray{ GetClustersClusterPostInstallScriptArgs{...} }

type GetClustersClusterPostInstallScriptArrayOutput

type GetClustersClusterPostInstallScriptArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterPostInstallScriptArrayOutput) ElementType

func (GetClustersClusterPostInstallScriptArrayOutput) Index

func (GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutput

func (o GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutput() GetClustersClusterPostInstallScriptArrayOutput

func (GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutputWithContext

func (o GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptArrayOutput

type GetClustersClusterPostInstallScriptInput

type GetClustersClusterPostInstallScriptInput interface {
	pulumi.Input

	ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput
	ToGetClustersClusterPostInstallScriptOutputWithContext(context.Context) GetClustersClusterPostInstallScriptOutput
}

GetClustersClusterPostInstallScriptInput is an input type that accepts GetClustersClusterPostInstallScriptArgs and GetClustersClusterPostInstallScriptOutput values. You can construct a concrete instance of `GetClustersClusterPostInstallScriptInput` via:

GetClustersClusterPostInstallScriptArgs{...}

type GetClustersClusterPostInstallScriptOutput

type GetClustersClusterPostInstallScriptOutput struct{ *pulumi.OutputState }

func (GetClustersClusterPostInstallScriptOutput) Args

func (GetClustersClusterPostInstallScriptOutput) ElementType

func (GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutput

func (o GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput

func (GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutputWithContext

func (o GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptOutput

func (GetClustersClusterPostInstallScriptOutput) Url

type GetClustersOutputArgs

type GetClustersOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Cluster IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Cluster name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getClusters.

func (GetClustersOutputArgs) ElementType

func (GetClustersOutputArgs) ElementType() reflect.Type

type GetClustersResult

type GetClustersResult struct {
	Clusters      []GetClustersCluster `pulumi:"clusters"`
	EnableDetails *bool                `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *string  `pulumi:"status"`
}

A collection of values returned by getClusters.

func GetClusters

func GetClusters(ctx *pulumi.Context, args *GetClustersArgs, opts ...pulumi.InvokeOption) (*GetClustersResult, error)

This data source provides the Ehpc Clusters of the current Alibaba Cloud user.

> **NOTE:** Available in v1.173.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ehpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ehpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := ehpc.GetClusters(ctx, &ehpc.GetClustersArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ehpcClusterId1", ids.Clusters[0].Id)
		nameRegex, err := ehpc.GetClusters(ctx, &ehpc.GetClustersArgs{
			NameRegex: pulumi.StringRef("^my-Cluster"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ehpcClusterId2", nameRegex.Clusters[0].Id)
		return nil
	})
}

```

type GetClustersResultOutput

type GetClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusters.

func (GetClustersResultOutput) Clusters

func (GetClustersResultOutput) ElementType

func (GetClustersResultOutput) ElementType() reflect.Type

func (GetClustersResultOutput) EnableDetails

func (o GetClustersResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetClustersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetClustersResultOutput) Ids

func (GetClustersResultOutput) NameRegex

func (GetClustersResultOutput) Names

func (GetClustersResultOutput) OutputFile

func (GetClustersResultOutput) Status

func (GetClustersResultOutput) ToGetClustersResultOutput

func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput

func (GetClustersResultOutput) ToGetClustersResultOutputWithContext

func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput

type GetJobTemplatesArgs

type GetJobTemplatesArgs struct {
	// A list of Job Template IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of arguments for invoking getJobTemplates.

type GetJobTemplatesOutputArgs

type GetJobTemplatesOutputArgs struct {
	// A list of Job Template IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
}

A collection of arguments for invoking getJobTemplates.

func (GetJobTemplatesOutputArgs) ElementType

func (GetJobTemplatesOutputArgs) ElementType() reflect.Type

type GetJobTemplatesResult

type GetJobTemplatesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string                    `pulumi:"id"`
	Ids        []string                  `pulumi:"ids"`
	OutputFile *string                   `pulumi:"outputFile"`
	Templates  []GetJobTemplatesTemplate `pulumi:"templates"`
}

A collection of values returned by getJobTemplates.

func GetJobTemplates

func GetJobTemplates(ctx *pulumi.Context, args *GetJobTemplatesArgs, opts ...pulumi.InvokeOption) (*GetJobTemplatesResult, error)

This data source provides the Ehpc Job Templates of the current Alibaba Cloud user.

> **NOTE:** Available in v1.133.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ehpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ehpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ehpc.NewJobTemplate(ctx, "default", &ehpc.JobTemplateArgs{
			JobTemplateName: pulumi.String("example_value"),
			CommandLine:     pulumi.String("./LammpsTest/lammps.pbs"),
		})
		if err != nil {
			return err
		}
		ids := ehpc.GetJobTemplatesOutput(ctx, ehpc.GetJobTemplatesOutputArgs{
			Ids: pulumi.StringArray{
				_default.ID(),
			},
		}, nil)
		ctx.Export("ehpcJobTemplateId1", ids.ApplyT(func(ids ehpc.GetJobTemplatesResult) (string, error) {
			return ids.Id, nil
		}).(pulumi.StringOutput))
		return nil
	})
}

```

type GetJobTemplatesResultOutput

type GetJobTemplatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getJobTemplates.

func (GetJobTemplatesResultOutput) ElementType

func (GetJobTemplatesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetJobTemplatesResultOutput) Ids

func (GetJobTemplatesResultOutput) OutputFile

func (GetJobTemplatesResultOutput) Templates

func (GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutput

func (o GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutput() GetJobTemplatesResultOutput

func (GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutputWithContext

func (o GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutputWithContext(ctx context.Context) GetJobTemplatesResultOutput

type GetJobTemplatesTemplate

type GetJobTemplatesTemplate struct {
	// Queue Jobs, Is of the Form: 1-10:2.
	ArrayRequest string `pulumi:"arrayRequest"`
	// Job Maximum Run Time.
	ClockTime string `pulumi:"clockTime"`
	// Job Commands.
	CommandLine string `pulumi:"commandLine"`
	// A Single Compute Node Using the GPU Number.Possible Values: 1~20000.
	Gpu int `pulumi:"gpu"`
	// The ID of the Job Template.
	Id string `pulumi:"id"`
	// The first ID of the resource.
	JobTemplateId string `pulumi:"jobTemplateId"`
	// A Job Template Name.
	JobTemplateName string `pulumi:"jobTemplateName"`
	// A Single Compute Node Maximum Memory.
	Mem string `pulumi:"mem"`
	// Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 .
	Node int `pulumi:"node"`
	// Job Commands the Directory.
	PackagePath string `pulumi:"packagePath"`
	// The Job Priority.Possible Values: 0~9.
	Priority int `pulumi:"priority"`
	// The Job Queue.
	Queue string `pulumi:"queue"`
	// If the Job Is Support for the Re-Run.
	ReRunable bool `pulumi:"reRunable"`
	// The name of the user who performed the job.
	RunasUser string `pulumi:"runasUser"`
	// Error Output Path.
	StderrRedirectPath string `pulumi:"stderrRedirectPath"`
	// Standard Output Path and.
	StdoutRedirectPath string `pulumi:"stdoutRedirectPath"`
	// A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 .
	Task int `pulumi:"task"`
	// A Single Task and the Number of Required Threads.Possible Values: 1~20000.
	Thread int `pulumi:"thread"`
	// The Job of the Environment Variable.
	Variables string `pulumi:"variables"`
}

type GetJobTemplatesTemplateArgs

type GetJobTemplatesTemplateArgs struct {
	// Queue Jobs, Is of the Form: 1-10:2.
	ArrayRequest pulumi.StringInput `pulumi:"arrayRequest"`
	// Job Maximum Run Time.
	ClockTime pulumi.StringInput `pulumi:"clockTime"`
	// Job Commands.
	CommandLine pulumi.StringInput `pulumi:"commandLine"`
	// A Single Compute Node Using the GPU Number.Possible Values: 1~20000.
	Gpu pulumi.IntInput `pulumi:"gpu"`
	// The ID of the Job Template.
	Id pulumi.StringInput `pulumi:"id"`
	// The first ID of the resource.
	JobTemplateId pulumi.StringInput `pulumi:"jobTemplateId"`
	// A Job Template Name.
	JobTemplateName pulumi.StringInput `pulumi:"jobTemplateName"`
	// A Single Compute Node Maximum Memory.
	Mem pulumi.StringInput `pulumi:"mem"`
	// Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 .
	Node pulumi.IntInput `pulumi:"node"`
	// Job Commands the Directory.
	PackagePath pulumi.StringInput `pulumi:"packagePath"`
	// The Job Priority.Possible Values: 0~9.
	Priority pulumi.IntInput `pulumi:"priority"`
	// The Job Queue.
	Queue pulumi.StringInput `pulumi:"queue"`
	// If the Job Is Support for the Re-Run.
	ReRunable pulumi.BoolInput `pulumi:"reRunable"`
	// The name of the user who performed the job.
	RunasUser pulumi.StringInput `pulumi:"runasUser"`
	// Error Output Path.
	StderrRedirectPath pulumi.StringInput `pulumi:"stderrRedirectPath"`
	// Standard Output Path and.
	StdoutRedirectPath pulumi.StringInput `pulumi:"stdoutRedirectPath"`
	// A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 .
	Task pulumi.IntInput `pulumi:"task"`
	// A Single Task and the Number of Required Threads.Possible Values: 1~20000.
	Thread pulumi.IntInput `pulumi:"thread"`
	// The Job of the Environment Variable.
	Variables pulumi.StringInput `pulumi:"variables"`
}

func (GetJobTemplatesTemplateArgs) ElementType

func (GetJobTemplatesTemplateArgs) ToGetJobTemplatesTemplateOutput

func (i GetJobTemplatesTemplateArgs) ToGetJobTemplatesTemplateOutput() GetJobTemplatesTemplateOutput

func (GetJobTemplatesTemplateArgs) ToGetJobTemplatesTemplateOutputWithContext

func (i GetJobTemplatesTemplateArgs) ToGetJobTemplatesTemplateOutputWithContext(ctx context.Context) GetJobTemplatesTemplateOutput

type GetJobTemplatesTemplateArray

type GetJobTemplatesTemplateArray []GetJobTemplatesTemplateInput

func (GetJobTemplatesTemplateArray) ElementType

func (GetJobTemplatesTemplateArray) ToGetJobTemplatesTemplateArrayOutput

func (i GetJobTemplatesTemplateArray) ToGetJobTemplatesTemplateArrayOutput() GetJobTemplatesTemplateArrayOutput

func (GetJobTemplatesTemplateArray) ToGetJobTemplatesTemplateArrayOutputWithContext

func (i GetJobTemplatesTemplateArray) ToGetJobTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetJobTemplatesTemplateArrayOutput

type GetJobTemplatesTemplateArrayInput

type GetJobTemplatesTemplateArrayInput interface {
	pulumi.Input

	ToGetJobTemplatesTemplateArrayOutput() GetJobTemplatesTemplateArrayOutput
	ToGetJobTemplatesTemplateArrayOutputWithContext(context.Context) GetJobTemplatesTemplateArrayOutput
}

GetJobTemplatesTemplateArrayInput is an input type that accepts GetJobTemplatesTemplateArray and GetJobTemplatesTemplateArrayOutput values. You can construct a concrete instance of `GetJobTemplatesTemplateArrayInput` via:

GetJobTemplatesTemplateArray{ GetJobTemplatesTemplateArgs{...} }

type GetJobTemplatesTemplateArrayOutput

type GetJobTemplatesTemplateArrayOutput struct{ *pulumi.OutputState }

func (GetJobTemplatesTemplateArrayOutput) ElementType

func (GetJobTemplatesTemplateArrayOutput) Index

func (GetJobTemplatesTemplateArrayOutput) ToGetJobTemplatesTemplateArrayOutput

func (o GetJobTemplatesTemplateArrayOutput) ToGetJobTemplatesTemplateArrayOutput() GetJobTemplatesTemplateArrayOutput

func (GetJobTemplatesTemplateArrayOutput) ToGetJobTemplatesTemplateArrayOutputWithContext

func (o GetJobTemplatesTemplateArrayOutput) ToGetJobTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetJobTemplatesTemplateArrayOutput

type GetJobTemplatesTemplateInput

type GetJobTemplatesTemplateInput interface {
	pulumi.Input

	ToGetJobTemplatesTemplateOutput() GetJobTemplatesTemplateOutput
	ToGetJobTemplatesTemplateOutputWithContext(context.Context) GetJobTemplatesTemplateOutput
}

GetJobTemplatesTemplateInput is an input type that accepts GetJobTemplatesTemplateArgs and GetJobTemplatesTemplateOutput values. You can construct a concrete instance of `GetJobTemplatesTemplateInput` via:

GetJobTemplatesTemplateArgs{...}

type GetJobTemplatesTemplateOutput

type GetJobTemplatesTemplateOutput struct{ *pulumi.OutputState }

func (GetJobTemplatesTemplateOutput) ArrayRequest

Queue Jobs, Is of the Form: 1-10:2.

func (GetJobTemplatesTemplateOutput) ClockTime

Job Maximum Run Time.

func (GetJobTemplatesTemplateOutput) CommandLine

Job Commands.

func (GetJobTemplatesTemplateOutput) ElementType

func (GetJobTemplatesTemplateOutput) Gpu

A Single Compute Node Using the GPU Number.Possible Values: 1~20000.

func (GetJobTemplatesTemplateOutput) Id

The ID of the Job Template.

func (GetJobTemplatesTemplateOutput) JobTemplateId

The first ID of the resource.

func (GetJobTemplatesTemplateOutput) JobTemplateName

A Job Template Name.

func (GetJobTemplatesTemplateOutput) Mem

A Single Compute Node Maximum Memory.

func (GetJobTemplatesTemplateOutput) Node

Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 .

func (GetJobTemplatesTemplateOutput) PackagePath

Job Commands the Directory.

func (GetJobTemplatesTemplateOutput) Priority

The Job Priority.Possible Values: 0~9.

func (GetJobTemplatesTemplateOutput) Queue

The Job Queue.

func (GetJobTemplatesTemplateOutput) ReRunable

If the Job Is Support for the Re-Run.

func (GetJobTemplatesTemplateOutput) RunasUser

The name of the user who performed the job.

func (GetJobTemplatesTemplateOutput) StderrRedirectPath

func (o GetJobTemplatesTemplateOutput) StderrRedirectPath() pulumi.StringOutput

Error Output Path.

func (GetJobTemplatesTemplateOutput) StdoutRedirectPath

func (o GetJobTemplatesTemplateOutput) StdoutRedirectPath() pulumi.StringOutput

Standard Output Path and.

func (GetJobTemplatesTemplateOutput) Task

A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 .

func (GetJobTemplatesTemplateOutput) Thread

A Single Task and the Number of Required Threads.Possible Values: 1~20000.

func (GetJobTemplatesTemplateOutput) ToGetJobTemplatesTemplateOutput

func (o GetJobTemplatesTemplateOutput) ToGetJobTemplatesTemplateOutput() GetJobTemplatesTemplateOutput

func (GetJobTemplatesTemplateOutput) ToGetJobTemplatesTemplateOutputWithContext

func (o GetJobTemplatesTemplateOutput) ToGetJobTemplatesTemplateOutputWithContext(ctx context.Context) GetJobTemplatesTemplateOutput

func (GetJobTemplatesTemplateOutput) Variables

The Job of the Environment Variable.

type JobTemplate

type JobTemplate struct {
	pulumi.CustomResourceState

	// Queue Jobs, Is of the Form: 1-10:2.
	ArrayRequest pulumi.StringPtrOutput `pulumi:"arrayRequest"`
	// Job Maximum Run Time.
	ClockTime pulumi.StringPtrOutput `pulumi:"clockTime"`
	// Job Commands.
	CommandLine pulumi.StringOutput `pulumi:"commandLine"`
	// A Single Compute Node Using the GPU Number.Possible Values: 1~20000.
	Gpu pulumi.IntPtrOutput `pulumi:"gpu"`
	// A Job Template Name.
	JobTemplateName pulumi.StringOutput `pulumi:"jobTemplateName"`
	// A Single Compute Node Maximum Memory.
	Mem pulumi.StringPtrOutput `pulumi:"mem"`
	// Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 .
	Node pulumi.IntPtrOutput `pulumi:"node"`
	// Job Commands the Directory.
	PackagePath pulumi.StringPtrOutput `pulumi:"packagePath"`
	// The Job Priority.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The Job Queue.
	Queue pulumi.StringPtrOutput `pulumi:"queue"`
	// If the Job Is Support for the Re-Run.
	ReRunable pulumi.BoolOutput `pulumi:"reRunable"`
	// The name of the user who performed the job.
	RunasUser pulumi.StringPtrOutput `pulumi:"runasUser"`
	// Error Output Path.
	StderrRedirectPath pulumi.StringPtrOutput `pulumi:"stderrRedirectPath"`
	// Standard Output Path and.
	StdoutRedirectPath pulumi.StringPtrOutput `pulumi:"stdoutRedirectPath"`
	// A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 .
	Task pulumi.IntPtrOutput `pulumi:"task"`
	// A Single Task and the Number of Required Threads.
	Thread pulumi.IntPtrOutput `pulumi:"thread"`
	// The Job of the Environment Variable.
	Variables pulumi.StringPtrOutput `pulumi:"variables"`
}

Provides a Ehpc Job Template resource.

For information about Ehpc Job Template and how to use it, see [What is Job Template](https://www.alibabacloud.com/help/product/57664.html).

> **NOTE:** Available in v1.133.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ehpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ehpc.NewJobTemplate(ctx, "default", &ehpc.JobTemplateArgs{
			CommandLine:     pulumi.String("./LammpsTest/lammps.pbs"),
			JobTemplateName: pulumi.String("example_value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ehpc Job Template can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ehpc/jobTemplate:JobTemplate example <id>

```

func GetJobTemplate

func GetJobTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobTemplateState, opts ...pulumi.ResourceOption) (*JobTemplate, error)

GetJobTemplate gets an existing JobTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJobTemplate

func NewJobTemplate(ctx *pulumi.Context,
	name string, args *JobTemplateArgs, opts ...pulumi.ResourceOption) (*JobTemplate, error)

NewJobTemplate registers a new resource with the given unique name, arguments, and options.

func (*JobTemplate) ElementType

func (*JobTemplate) ElementType() reflect.Type

func (*JobTemplate) ToJobTemplateOutput

func (i *JobTemplate) ToJobTemplateOutput() JobTemplateOutput

func (*JobTemplate) ToJobTemplateOutputWithContext

func (i *JobTemplate) ToJobTemplateOutputWithContext(ctx context.Context) JobTemplateOutput

type JobTemplateArgs

type JobTemplateArgs struct {
	// Queue Jobs, Is of the Form: 1-10:2.
	ArrayRequest pulumi.StringPtrInput
	// Job Maximum Run Time.
	ClockTime pulumi.StringPtrInput
	// Job Commands.
	CommandLine pulumi.StringInput
	// A Single Compute Node Using the GPU Number.Possible Values: 1~20000.
	Gpu pulumi.IntPtrInput
	// A Job Template Name.
	JobTemplateName pulumi.StringInput
	// A Single Compute Node Maximum Memory.
	Mem pulumi.StringPtrInput
	// Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 .
	Node pulumi.IntPtrInput
	// Job Commands the Directory.
	PackagePath pulumi.StringPtrInput
	// The Job Priority.
	Priority pulumi.IntPtrInput
	// The Job Queue.
	Queue pulumi.StringPtrInput
	// If the Job Is Support for the Re-Run.
	ReRunable pulumi.BoolPtrInput
	// The name of the user who performed the job.
	RunasUser pulumi.StringPtrInput
	// Error Output Path.
	StderrRedirectPath pulumi.StringPtrInput
	// Standard Output Path and.
	StdoutRedirectPath pulumi.StringPtrInput
	// A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 .
	Task pulumi.IntPtrInput
	// A Single Task and the Number of Required Threads.
	Thread pulumi.IntPtrInput
	// The Job of the Environment Variable.
	Variables pulumi.StringPtrInput
}

The set of arguments for constructing a JobTemplate resource.

func (JobTemplateArgs) ElementType

func (JobTemplateArgs) ElementType() reflect.Type

type JobTemplateArray

type JobTemplateArray []JobTemplateInput

func (JobTemplateArray) ElementType

func (JobTemplateArray) ElementType() reflect.Type

func (JobTemplateArray) ToJobTemplateArrayOutput

func (i JobTemplateArray) ToJobTemplateArrayOutput() JobTemplateArrayOutput

func (JobTemplateArray) ToJobTemplateArrayOutputWithContext

func (i JobTemplateArray) ToJobTemplateArrayOutputWithContext(ctx context.Context) JobTemplateArrayOutput

type JobTemplateArrayInput

type JobTemplateArrayInput interface {
	pulumi.Input

	ToJobTemplateArrayOutput() JobTemplateArrayOutput
	ToJobTemplateArrayOutputWithContext(context.Context) JobTemplateArrayOutput
}

JobTemplateArrayInput is an input type that accepts JobTemplateArray and JobTemplateArrayOutput values. You can construct a concrete instance of `JobTemplateArrayInput` via:

JobTemplateArray{ JobTemplateArgs{...} }

type JobTemplateArrayOutput

type JobTemplateArrayOutput struct{ *pulumi.OutputState }

func (JobTemplateArrayOutput) ElementType

func (JobTemplateArrayOutput) ElementType() reflect.Type

func (JobTemplateArrayOutput) Index

func (JobTemplateArrayOutput) ToJobTemplateArrayOutput

func (o JobTemplateArrayOutput) ToJobTemplateArrayOutput() JobTemplateArrayOutput

func (JobTemplateArrayOutput) ToJobTemplateArrayOutputWithContext

func (o JobTemplateArrayOutput) ToJobTemplateArrayOutputWithContext(ctx context.Context) JobTemplateArrayOutput

type JobTemplateInput

type JobTemplateInput interface {
	pulumi.Input

	ToJobTemplateOutput() JobTemplateOutput
	ToJobTemplateOutputWithContext(ctx context.Context) JobTemplateOutput
}

type JobTemplateMap

type JobTemplateMap map[string]JobTemplateInput

func (JobTemplateMap) ElementType

func (JobTemplateMap) ElementType() reflect.Type

func (JobTemplateMap) ToJobTemplateMapOutput

func (i JobTemplateMap) ToJobTemplateMapOutput() JobTemplateMapOutput

func (JobTemplateMap) ToJobTemplateMapOutputWithContext

func (i JobTemplateMap) ToJobTemplateMapOutputWithContext(ctx context.Context) JobTemplateMapOutput

type JobTemplateMapInput

type JobTemplateMapInput interface {
	pulumi.Input

	ToJobTemplateMapOutput() JobTemplateMapOutput
	ToJobTemplateMapOutputWithContext(context.Context) JobTemplateMapOutput
}

JobTemplateMapInput is an input type that accepts JobTemplateMap and JobTemplateMapOutput values. You can construct a concrete instance of `JobTemplateMapInput` via:

JobTemplateMap{ "key": JobTemplateArgs{...} }

type JobTemplateMapOutput

type JobTemplateMapOutput struct{ *pulumi.OutputState }

func (JobTemplateMapOutput) ElementType

func (JobTemplateMapOutput) ElementType() reflect.Type

func (JobTemplateMapOutput) MapIndex

func (JobTemplateMapOutput) ToJobTemplateMapOutput

func (o JobTemplateMapOutput) ToJobTemplateMapOutput() JobTemplateMapOutput

func (JobTemplateMapOutput) ToJobTemplateMapOutputWithContext

func (o JobTemplateMapOutput) ToJobTemplateMapOutputWithContext(ctx context.Context) JobTemplateMapOutput

type JobTemplateOutput

type JobTemplateOutput struct{ *pulumi.OutputState }

func (JobTemplateOutput) ArrayRequest

func (o JobTemplateOutput) ArrayRequest() pulumi.StringPtrOutput

Queue Jobs, Is of the Form: 1-10:2.

func (JobTemplateOutput) ClockTime

Job Maximum Run Time.

func (JobTemplateOutput) CommandLine

func (o JobTemplateOutput) CommandLine() pulumi.StringOutput

Job Commands.

func (JobTemplateOutput) ElementType

func (JobTemplateOutput) ElementType() reflect.Type

func (JobTemplateOutput) Gpu

A Single Compute Node Using the GPU Number.Possible Values: 1~20000.

func (JobTemplateOutput) JobTemplateName

func (o JobTemplateOutput) JobTemplateName() pulumi.StringOutput

A Job Template Name.

func (JobTemplateOutput) Mem

A Single Compute Node Maximum Memory.

func (JobTemplateOutput) Node

Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 .

func (JobTemplateOutput) PackagePath

func (o JobTemplateOutput) PackagePath() pulumi.StringPtrOutput

Job Commands the Directory.

func (JobTemplateOutput) Priority

func (o JobTemplateOutput) Priority() pulumi.IntPtrOutput

The Job Priority.

func (JobTemplateOutput) Queue

The Job Queue.

func (JobTemplateOutput) ReRunable

func (o JobTemplateOutput) ReRunable() pulumi.BoolOutput

If the Job Is Support for the Re-Run.

func (JobTemplateOutput) RunasUser

The name of the user who performed the job.

func (JobTemplateOutput) StderrRedirectPath

func (o JobTemplateOutput) StderrRedirectPath() pulumi.StringPtrOutput

Error Output Path.

func (JobTemplateOutput) StdoutRedirectPath

func (o JobTemplateOutput) StdoutRedirectPath() pulumi.StringPtrOutput

Standard Output Path and.

func (JobTemplateOutput) Task

A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 .

func (JobTemplateOutput) Thread

A Single Task and the Number of Required Threads.

func (JobTemplateOutput) ToJobTemplateOutput

func (o JobTemplateOutput) ToJobTemplateOutput() JobTemplateOutput

func (JobTemplateOutput) ToJobTemplateOutputWithContext

func (o JobTemplateOutput) ToJobTemplateOutputWithContext(ctx context.Context) JobTemplateOutput

func (JobTemplateOutput) Variables

The Job of the Environment Variable.

type JobTemplateState

type JobTemplateState struct {
	// Queue Jobs, Is of the Form: 1-10:2.
	ArrayRequest pulumi.StringPtrInput
	// Job Maximum Run Time.
	ClockTime pulumi.StringPtrInput
	// Job Commands.
	CommandLine pulumi.StringPtrInput
	// A Single Compute Node Using the GPU Number.Possible Values: 1~20000.
	Gpu pulumi.IntPtrInput
	// A Job Template Name.
	JobTemplateName pulumi.StringPtrInput
	// A Single Compute Node Maximum Memory.
	Mem pulumi.StringPtrInput
	// Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 .
	Node pulumi.IntPtrInput
	// Job Commands the Directory.
	PackagePath pulumi.StringPtrInput
	// The Job Priority.
	Priority pulumi.IntPtrInput
	// The Job Queue.
	Queue pulumi.StringPtrInput
	// If the Job Is Support for the Re-Run.
	ReRunable pulumi.BoolPtrInput
	// The name of the user who performed the job.
	RunasUser pulumi.StringPtrInput
	// Error Output Path.
	StderrRedirectPath pulumi.StringPtrInput
	// Standard Output Path and.
	StdoutRedirectPath pulumi.StringPtrInput
	// A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 .
	Task pulumi.IntPtrInput
	// A Single Task and the Number of Required Threads.
	Thread pulumi.IntPtrInput
	// The Job of the Environment Variable.
	Variables pulumi.StringPtrInput
}

func (JobTemplateState) ElementType

func (JobTemplateState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL