ehpc

package
v3.55.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster added in v3.22.0

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 `additionalVolumes` below.
	AdditionalVolumes ClusterAdditionalVolumeArrayOutput `pulumi:"additionalVolumes"`
	// The application. See `application` below.
	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:
	ComputeSpotStrategy pulumi.StringPtrOutput `pulumi:"computeSpotStrategy"`
	// The mode in which the cluster is deployed. Valid values: `Standard`, `Simple`, `Tiny`. Default value: Standard.
	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 to which the compute nodes are added.
	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 `postInstallScript` below.
	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 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:
	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 file system. If you leave the parameter empty, a Performance NAS file system is created by default.
	VolumeId pulumi.StringOutput `pulumi:"volumeId"`
	// The mount options of the file system.
	VolumeMountOption pulumi.StringPtrOutput `pulumi:"volumeMountOption"`
	// The mount target of the file system. Take note of the following information:
	// - If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
	// - If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
	VolumeMountpoint pulumi.StringOutput `pulumi:"volumeMountpoint"`
	// The type of the protocol that is used by the file system. Valid values: `NFS`, `SMB`. Default value: `NFS`.
	VolumeProtocol pulumi.StringOutput `pulumi:"volumeProtocol"`
	// The type of the shared storage. Only Apsara File Storage 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/en/e-hpc/developer-reference/api-ehpc-2018-04-12-createcluster).

> **NOTE:** Available since v1.173.0.

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			NameRegex: pulumi.StringRef("^centos_7_6_x64*"),
			Owners:    pulumi.StringRef("system"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone: pulumi.StringRef(_default.Zones[0].Id),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.0.0.0/8"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			CidrBlock:   pulumi.String("10.1.0.0/16"),
			VpcId:       defaultNetwork.ID(),
			ZoneId:      pulumi.String(_default.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		defaultFileSystem, err := nas.NewFileSystem(ctx, "default", &nas.FileSystemArgs{
			StorageType:  pulumi.String("Performance"),
			ProtocolType: pulumi.String("NFS"),
		})
		if err != nil {
			return err
		}
		defaultMountTarget, err := nas.NewMountTarget(ctx, "default", &nas.MountTargetArgs{
			FileSystemId:    defaultFileSystem.ID(),
			AccessGroupName: pulumi.String("DEFAULT_VPC_GROUP_NAME"),
			VswitchId:       defaultSwitch.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ehpc.NewCluster(ctx, "default", &ehpc.ClusterArgs{
			ClusterName:         pulumi.String(name),
			DeployMode:          pulumi.String("Simple"),
			Description:         pulumi.String(name),
			HaEnable:            pulumi.Bool(false),
			ImageId:             pulumi.String(defaultGetImages.Images[0].Id),
			ImageOwnerAlias:     pulumi.String("system"),
			VolumeProtocol:      pulumi.String("nfs"),
			VolumeId:            defaultFileSystem.ID(),
			VolumeMountpoint:    defaultMountTarget.MountTargetDomain,
			ComputeCount:        pulumi.Int(1),
			ComputeInstanceType: pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id),
			LoginCount:          pulumi.Int(1),
			LoginInstanceType:   pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id),
			ManagerCount:        pulumi.Int(1),
			ManagerInstanceType: pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id),
			OsTag:               pulumi.String("CentOS_7.6_64"),
			SchedulerType:       pulumi.String("pbs"),
			Password:            pulumi.String("your-password123"),
			VswitchId:           defaultSwitch.ID(),
			VpcId:               defaultNetwork.ID(),
			ZoneId:              pulumi.String(_default.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetCluster added in v3.22.0

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 added in v3.22.0

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 added in v3.22.0

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput added in v3.22.0

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext added in v3.22.0

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

type ClusterAdditionalVolume added in v3.22.0

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 `roles` below.
	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 added in v3.22.0

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 `roles` below.
	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 added in v3.22.0

func (ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutput added in v3.22.0

func (i ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput

func (ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutputWithContext added in v3.22.0

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

type ClusterAdditionalVolumeArray added in v3.22.0

type ClusterAdditionalVolumeArray []ClusterAdditionalVolumeInput

func (ClusterAdditionalVolumeArray) ElementType added in v3.22.0

func (ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutput added in v3.22.0

func (i ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput

func (ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutputWithContext added in v3.22.0

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

type ClusterAdditionalVolumeArrayInput added in v3.22.0

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 added in v3.22.0

type ClusterAdditionalVolumeArrayOutput struct{ *pulumi.OutputState }

func (ClusterAdditionalVolumeArrayOutput) ElementType added in v3.22.0

func (ClusterAdditionalVolumeArrayOutput) Index added in v3.22.0

func (ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutput added in v3.22.0

func (o ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput

func (ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutputWithContext added in v3.22.0

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

type ClusterAdditionalVolumeInput added in v3.22.0

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 added in v3.22.0

type ClusterAdditionalVolumeOutput struct{ *pulumi.OutputState }

func (ClusterAdditionalVolumeOutput) ElementType added in v3.22.0

func (ClusterAdditionalVolumeOutput) JobQueue added in v3.22.0

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

func (ClusterAdditionalVolumeOutput) LocalDirectory added in v3.22.0

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

func (ClusterAdditionalVolumeOutput) Location added in v3.22.0

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

func (ClusterAdditionalVolumeOutput) RemoteDirectory added in v3.22.0

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

func (ClusterAdditionalVolumeOutput) Roles added in v3.22.0

The roles. See `roles` below.

func (ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutput added in v3.22.0

func (o ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput

func (ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutputWithContext added in v3.22.0

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

func (ClusterAdditionalVolumeOutput) VolumeId added in v3.22.0

The ID of the additional file system.

func (ClusterAdditionalVolumeOutput) VolumeMountOption added in v3.22.0

The mount options of the file system.

func (ClusterAdditionalVolumeOutput) VolumeMountpoint added in v3.22.0

The mount target of the additional file system.

func (ClusterAdditionalVolumeOutput) VolumeProtocol added in v3.22.0

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

func (ClusterAdditionalVolumeOutput) VolumeType added in v3.22.0

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

type ClusterAdditionalVolumeRole added in v3.22.0

type ClusterAdditionalVolumeRole struct {
	Name *string `pulumi:"name"`
}

type ClusterAdditionalVolumeRoleArgs added in v3.22.0

type ClusterAdditionalVolumeRoleArgs struct {
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (ClusterAdditionalVolumeRoleArgs) ElementType added in v3.22.0

func (ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutput added in v3.22.0

func (i ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput

func (ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutputWithContext added in v3.22.0

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

type ClusterAdditionalVolumeRoleArray added in v3.22.0

type ClusterAdditionalVolumeRoleArray []ClusterAdditionalVolumeRoleInput

func (ClusterAdditionalVolumeRoleArray) ElementType added in v3.22.0

func (ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutput added in v3.22.0

func (i ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput

func (ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutputWithContext added in v3.22.0

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

type ClusterAdditionalVolumeRoleArrayInput added in v3.22.0

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 added in v3.22.0

type ClusterAdditionalVolumeRoleArrayOutput struct{ *pulumi.OutputState }

func (ClusterAdditionalVolumeRoleArrayOutput) ElementType added in v3.22.0

func (ClusterAdditionalVolumeRoleArrayOutput) Index added in v3.22.0

func (ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutput added in v3.22.0

func (o ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput

func (ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutputWithContext added in v3.22.0

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

type ClusterAdditionalVolumeRoleInput added in v3.22.0

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 added in v3.22.0

type ClusterAdditionalVolumeRoleOutput struct{ *pulumi.OutputState }

func (ClusterAdditionalVolumeRoleOutput) ElementType added in v3.22.0

func (ClusterAdditionalVolumeRoleOutput) Name added in v3.22.0

func (ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutput added in v3.22.0

func (o ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput

func (ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutputWithContext added in v3.22.0

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

type ClusterApplication added in v3.22.0

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

type ClusterApplicationArgs added in v3.22.0

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

func (ClusterApplicationArgs) ElementType added in v3.22.0

func (ClusterApplicationArgs) ElementType() reflect.Type

func (ClusterApplicationArgs) ToClusterApplicationOutput added in v3.22.0

func (i ClusterApplicationArgs) ToClusterApplicationOutput() ClusterApplicationOutput

func (ClusterApplicationArgs) ToClusterApplicationOutputWithContext added in v3.22.0

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

type ClusterApplicationArray added in v3.22.0

type ClusterApplicationArray []ClusterApplicationInput

func (ClusterApplicationArray) ElementType added in v3.22.0

func (ClusterApplicationArray) ElementType() reflect.Type

func (ClusterApplicationArray) ToClusterApplicationArrayOutput added in v3.22.0

func (i ClusterApplicationArray) ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput

func (ClusterApplicationArray) ToClusterApplicationArrayOutputWithContext added in v3.22.0

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

type ClusterApplicationArrayInput added in v3.22.0

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 added in v3.22.0

type ClusterApplicationArrayOutput struct{ *pulumi.OutputState }

func (ClusterApplicationArrayOutput) ElementType added in v3.22.0

func (ClusterApplicationArrayOutput) Index added in v3.22.0

func (ClusterApplicationArrayOutput) ToClusterApplicationArrayOutput added in v3.22.0

func (o ClusterApplicationArrayOutput) ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput

func (ClusterApplicationArrayOutput) ToClusterApplicationArrayOutputWithContext added in v3.22.0

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

type ClusterApplicationInput added in v3.22.0

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 added in v3.22.0

type ClusterApplicationOutput struct{ *pulumi.OutputState }

func (ClusterApplicationOutput) ElementType added in v3.22.0

func (ClusterApplicationOutput) ElementType() reflect.Type

func (ClusterApplicationOutput) Tag added in v3.22.0

The tag of the software.

func (ClusterApplicationOutput) ToClusterApplicationOutput added in v3.22.0

func (o ClusterApplicationOutput) ToClusterApplicationOutput() ClusterApplicationOutput

func (ClusterApplicationOutput) ToClusterApplicationOutputWithContext added in v3.22.0

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

type ClusterArgs added in v3.22.0

type ClusterArgs struct {
	// The type of the domain account service. Valid values: `nis`, `ldap`. Default value: `nis`
	AccountType pulumi.StringPtrInput
	// The additional volumes. See `additionalVolumes` below.
	AdditionalVolumes ClusterAdditionalVolumeArrayInput
	// The application. See `application` below.
	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:
	ComputeSpotStrategy pulumi.StringPtrInput
	// The mode in which the cluster is deployed. Valid values: `Standard`, `Simple`, `Tiny`. Default value: Standard.
	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 to which the compute nodes are added.
	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 `postInstallScript` below.
	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 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:
	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 file system. If you leave the parameter empty, a Performance NAS file system is created by default.
	VolumeId pulumi.StringPtrInput
	// The mount options of the file system.
	VolumeMountOption pulumi.StringPtrInput
	// The mount target of the file system. Take note of the following information:
	// - If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
	// - If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
	VolumeMountpoint pulumi.StringPtrInput
	// The type of the protocol that is used by the file system. Valid values: `NFS`, `SMB`. Default value: `NFS`.
	VolumeProtocol pulumi.StringPtrInput
	// The type of the shared storage. Only Apsara File Storage 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 added in v3.22.0

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray added in v3.22.0

type ClusterArray []ClusterInput

func (ClusterArray) ElementType added in v3.22.0

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput added in v3.22.0

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext added in v3.22.0

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

type ClusterArrayInput added in v3.22.0

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 added in v3.22.0

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType added in v3.22.0

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index added in v3.22.0

func (ClusterArrayOutput) ToClusterArrayOutput added in v3.22.0

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext added in v3.22.0

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

type ClusterInput added in v3.22.0

type ClusterInput interface {
	pulumi.Input

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

type ClusterMap added in v3.22.0

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType added in v3.22.0

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput added in v3.22.0

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext added in v3.22.0

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

type ClusterMapInput added in v3.22.0

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 added in v3.22.0

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType added in v3.22.0

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex added in v3.22.0

func (ClusterMapOutput) ToClusterMapOutput added in v3.22.0

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext added in v3.22.0

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

type ClusterOutput added in v3.22.0

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) AccountType added in v3.27.0

func (o ClusterOutput) AccountType() pulumi.StringOutput

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

func (ClusterOutput) AdditionalVolumes added in v3.27.0

func (o ClusterOutput) AdditionalVolumes() ClusterAdditionalVolumeArrayOutput

The additional volumes. See `additionalVolumes` below.

func (ClusterOutput) Applications added in v3.27.0

The application. See `application` below.

func (ClusterOutput) AutoRenew added in v3.27.0

func (o ClusterOutput) AutoRenew() pulumi.BoolPtrOutput

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

func (ClusterOutput) AutoRenewPeriod added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

func (o ClusterOutput) ClusterName() pulumi.StringOutput

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

func (ClusterOutput) ClusterVersion added in v3.27.0

func (o ClusterOutput) ClusterVersion() pulumi.StringOutput

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

func (ClusterOutput) ComputeCount added in v3.27.0

func (o ClusterOutput) ComputeCount() pulumi.IntOutput

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

func (ClusterOutput) ComputeEnableHt added in v3.27.0

func (o ClusterOutput) ComputeEnableHt() pulumi.BoolPtrOutput

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

func (ClusterOutput) ComputeInstanceType added in v3.27.0

func (o ClusterOutput) ComputeInstanceType() pulumi.StringOutput

The instance type of the compute nodes.

func (ClusterOutput) ComputeSpotPriceLimit added in v3.27.0

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 added in v3.27.0

func (o ClusterOutput) ComputeSpotStrategy() pulumi.StringPtrOutput

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

func (ClusterOutput) DeployMode added in v3.27.0

func (o ClusterOutput) DeployMode() pulumi.StringOutput

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

func (ClusterOutput) Description added in v3.27.0

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 added in v3.27.0

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

func (ClusterOutput) EcsChargeType added in v3.27.0

func (o ClusterOutput) EcsChargeType() pulumi.StringOutput

The billing method of the nodes.

func (ClusterOutput) EhpcVersion added in v3.27.0

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 added in v3.22.0

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) HaEnable added in v3.27.0

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 added in v3.27.0

func (o ClusterOutput) ImageId() pulumi.StringOutput

The ID of the image.

func (ClusterOutput) ImageOwnerAlias added in v3.27.0

func (o ClusterOutput) ImageOwnerAlias() pulumi.StringOutput

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

func (ClusterOutput) InputFileUrl added in v3.27.0

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 added in v3.27.0

func (o ClusterOutput) IsComputeEss() pulumi.BoolPtrOutput

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

func (ClusterOutput) JobQueue added in v3.27.0

func (o ClusterOutput) JobQueue() pulumi.StringPtrOutput

The queue to which the compute nodes are added.

func (ClusterOutput) KeyPairName added in v3.27.0

func (o ClusterOutput) KeyPairName() pulumi.StringPtrOutput

The name of the AccessKey pair.

func (ClusterOutput) LoginCount added in v3.27.0

func (o ClusterOutput) LoginCount() pulumi.IntOutput

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

func (ClusterOutput) LoginInstanceType added in v3.27.0

func (o ClusterOutput) LoginInstanceType() pulumi.StringOutput

The instance type of the logon nodes.

func (ClusterOutput) ManagerCount added in v3.27.0

func (o ClusterOutput) ManagerCount() pulumi.IntOutput

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

func (ClusterOutput) ManagerInstanceType added in v3.27.0

func (o ClusterOutput) ManagerInstanceType() pulumi.StringOutput

The instance type of the management nodes.

func (ClusterOutput) OsTag added in v3.27.0

func (o ClusterOutput) OsTag() pulumi.StringOutput

The image tag of the operating system.

func (ClusterOutput) Password added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

func (o ClusterOutput) PeriodUnit() pulumi.StringPtrOutput

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

func (ClusterOutput) Plugin added in v3.27.0

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 added in v3.27.0

func (o ClusterOutput) PostInstallScripts() ClusterPostInstallScriptArrayOutput

The post install script. See `postInstallScript` below.

func (ClusterOutput) RamNodeTypes added in v3.27.0

func (o ClusterOutput) RamNodeTypes() pulumi.StringArrayOutput

The node of the RAM role.

func (ClusterOutput) RamRoleName added in v3.27.0

func (o ClusterOutput) RamRoleName() pulumi.StringPtrOutput

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

func (ClusterOutput) ReleaseInstance added in v3.27.0

func (o ClusterOutput) ReleaseInstance() pulumi.BoolPtrOutput

The release instance. Valid values: `true`.

func (ClusterOutput) RemoteDirectory added in v3.27.0

func (o ClusterOutput) RemoteDirectory() pulumi.StringOutput

The remote directory to which the file system is mounted.

func (ClusterOutput) RemoteVisEnable added in v3.27.0

func (o ClusterOutput) RemoteVisEnable() pulumi.BoolPtrOutput

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

func (ClusterOutput) ResourceGroupId added in v3.27.0

func (o ClusterOutput) ResourceGroupId() pulumi.StringPtrOutput

The ID of the resource group.

func (ClusterOutput) SccClusterId added in v3.27.0

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 added in v3.27.0

func (o ClusterOutput) SchedulerType() pulumi.StringOutput

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

func (ClusterOutput) SecurityGroupId added in v3.27.0

func (o ClusterOutput) SecurityGroupId() pulumi.StringOutput

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

func (ClusterOutput) SecurityGroupName added in v3.27.0

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 added in v3.27.0

func (o ClusterOutput) Status() pulumi.StringOutput

The status of the resource.

func (ClusterOutput) SystemDiskLevel added in v3.27.0

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:

func (ClusterOutput) SystemDiskSize added in v3.27.0

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 added in v3.27.0

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 added in v3.22.0

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext added in v3.22.0

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

func (ClusterOutput) VolumeId added in v3.27.0

func (o ClusterOutput) VolumeId() pulumi.StringOutput

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

func (ClusterOutput) VolumeMountOption added in v3.27.0

func (o ClusterOutput) VolumeMountOption() pulumi.StringPtrOutput

The mount options of the file system.

func (ClusterOutput) VolumeMountpoint added in v3.27.0

func (o ClusterOutput) VolumeMountpoint() pulumi.StringOutput

The mount target of the file system. Take note of the following information: - If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default. - If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.

func (ClusterOutput) VolumeProtocol added in v3.27.0

func (o ClusterOutput) VolumeProtocol() pulumi.StringOutput

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

func (ClusterOutput) VolumeType added in v3.27.0

func (o ClusterOutput) VolumeType() pulumi.StringOutput

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

func (ClusterOutput) VpcId added in v3.27.0

func (o ClusterOutput) VpcId() pulumi.StringOutput

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

func (ClusterOutput) VswitchId added in v3.27.0

func (o ClusterOutput) VswitchId() pulumi.StringOutput

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

func (ClusterOutput) WithoutAgent added in v3.27.0

func (o ClusterOutput) WithoutAgent() pulumi.BoolPtrOutput

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

func (ClusterOutput) WithoutElasticIp added in v3.27.0

func (o ClusterOutput) WithoutElasticIp() pulumi.BoolPtrOutput

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

func (ClusterOutput) ZoneId added in v3.27.0

func (o ClusterOutput) ZoneId() pulumi.StringOutput

The ID of the zone.

type ClusterPostInstallScript added in v3.22.0

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 added in v3.22.0

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 added in v3.22.0

func (ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutput added in v3.22.0

func (i ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput

func (ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutputWithContext added in v3.22.0

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

type ClusterPostInstallScriptArray added in v3.22.0

type ClusterPostInstallScriptArray []ClusterPostInstallScriptInput

func (ClusterPostInstallScriptArray) ElementType added in v3.22.0

func (ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutput added in v3.22.0

func (i ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput

func (ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutputWithContext added in v3.22.0

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

type ClusterPostInstallScriptArrayInput added in v3.22.0

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 added in v3.22.0

type ClusterPostInstallScriptArrayOutput struct{ *pulumi.OutputState }

func (ClusterPostInstallScriptArrayOutput) ElementType added in v3.22.0

func (ClusterPostInstallScriptArrayOutput) Index added in v3.22.0

func (ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutput added in v3.22.0

func (o ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput

func (ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutputWithContext added in v3.22.0

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

type ClusterPostInstallScriptInput added in v3.22.0

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 added in v3.22.0

type ClusterPostInstallScriptOutput struct{ *pulumi.OutputState }

func (ClusterPostInstallScriptOutput) Args added in v3.22.0

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

func (ClusterPostInstallScriptOutput) ElementType added in v3.22.0

func (ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutput added in v3.22.0

func (o ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput

func (ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutputWithContext added in v3.22.0

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

func (ClusterPostInstallScriptOutput) Url added in v3.22.0

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

type ClusterState added in v3.22.0

type ClusterState struct {
	// The type of the domain account service. Valid values: `nis`, `ldap`. Default value: `nis`
	AccountType pulumi.StringPtrInput
	// The additional volumes. See `additionalVolumes` below.
	AdditionalVolumes ClusterAdditionalVolumeArrayInput
	// The application. See `application` below.
	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:
	ComputeSpotStrategy pulumi.StringPtrInput
	// The mode in which the cluster is deployed. Valid values: `Standard`, `Simple`, `Tiny`. Default value: Standard.
	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 to which the compute nodes are added.
	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 `postInstallScript` below.
	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 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:
	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 file system. If you leave the parameter empty, a Performance NAS file system is created by default.
	VolumeId pulumi.StringPtrInput
	// The mount options of the file system.
	VolumeMountOption pulumi.StringPtrInput
	// The mount target of the file system. Take note of the following information:
	// - If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default.
	// - If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
	VolumeMountpoint pulumi.StringPtrInput
	// The type of the protocol that is used by the file system. Valid values: `NFS`, `SMB`. Default value: `NFS`.
	VolumeProtocol pulumi.StringPtrInput
	// The type of the shared storage. Only Apsara File Storage 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 added in v3.22.0

func (ClusterState) ElementType() reflect.Type

type GetClustersArgs added in v3.22.0

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"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource. Valid values:
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getClusters.

type GetClustersCluster added in v3.22.0

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"`
	ClusterId           string                                `pulumi:"clusterId"`
	ClusterName         string                                `pulumi:"clusterName"`
	ComputeCount        int                                   `pulumi:"computeCount"`
	ComputeInstanceType string                                `pulumi:"computeInstanceType"`
	CreateTime          string                                `pulumi:"createTime"`
	DeployMode          string                                `pulumi:"deployMode"`
	Description         string                                `pulumi:"description"`
	HaEnable            bool                                  `pulumi:"haEnable"`
	Id                  string                                `pulumi:"id"`
	ImageId             string                                `pulumi:"imageId"`
	ImageOwnerAlias     string                                `pulumi:"imageOwnerAlias"`
	LoginCount          int                                   `pulumi:"loginCount"`
	LoginInstanceType   string                                `pulumi:"loginInstanceType"`
	ManagerCount        int                                   `pulumi:"managerCount"`
	ManagerInstanceType string                                `pulumi:"managerInstanceType"`
	OsTag               string                                `pulumi:"osTag"`
	PostInstallScripts  []GetClustersClusterPostInstallScript `pulumi:"postInstallScripts"`
	RemoteDirectory     string                                `pulumi:"remoteDirectory"`
	SccClusterId        string                                `pulumi:"sccClusterId"`
	SchedulerType       string                                `pulumi:"schedulerType"`
	SecurityGroupId     string                                `pulumi:"securityGroupId"`
	// The status of the resource. Valid values:
	Status           string `pulumi:"status"`
	VolumeId         string `pulumi:"volumeId"`
	VolumeMountpoint string `pulumi:"volumeMountpoint"`
	VolumeProtocol   string `pulumi:"volumeProtocol"`
	VolumeType       string `pulumi:"volumeType"`
	VpcId            string `pulumi:"vpcId"`
	VswitchId        string `pulumi:"vswitchId"`
	ZoneId           string `pulumi:"zoneId"`
}

type GetClustersClusterApplication added in v3.22.0

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

type GetClustersClusterApplicationArgs added in v3.22.0

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

func (GetClustersClusterApplicationArgs) ElementType added in v3.22.0

func (GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutput added in v3.22.0

func (i GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput

func (GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutputWithContext added in v3.22.0

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

type GetClustersClusterApplicationArray added in v3.22.0

type GetClustersClusterApplicationArray []GetClustersClusterApplicationInput

func (GetClustersClusterApplicationArray) ElementType added in v3.22.0

func (GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutput added in v3.22.0

func (i GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput

func (GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutputWithContext added in v3.22.0

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

type GetClustersClusterApplicationArrayInput added in v3.22.0

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 added in v3.22.0

type GetClustersClusterApplicationArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterApplicationArrayOutput) ElementType added in v3.22.0

func (GetClustersClusterApplicationArrayOutput) Index added in v3.22.0

func (GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutput added in v3.22.0

func (o GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput

func (GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutputWithContext added in v3.22.0

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

type GetClustersClusterApplicationInput added in v3.22.0

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 added in v3.22.0

type GetClustersClusterApplicationOutput struct{ *pulumi.OutputState }

func (GetClustersClusterApplicationOutput) ElementType added in v3.22.0

func (GetClustersClusterApplicationOutput) Tag added in v3.22.0

func (GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutput added in v3.22.0

func (o GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput

func (GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutputWithContext added in v3.22.0

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

type GetClustersClusterArgs added in v3.22.0

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"`
	ClusterId           pulumi.StringInput                            `pulumi:"clusterId"`
	ClusterName         pulumi.StringInput                            `pulumi:"clusterName"`
	ComputeCount        pulumi.IntInput                               `pulumi:"computeCount"`
	ComputeInstanceType pulumi.StringInput                            `pulumi:"computeInstanceType"`
	CreateTime          pulumi.StringInput                            `pulumi:"createTime"`
	DeployMode          pulumi.StringInput                            `pulumi:"deployMode"`
	Description         pulumi.StringInput                            `pulumi:"description"`
	HaEnable            pulumi.BoolInput                              `pulumi:"haEnable"`
	Id                  pulumi.StringInput                            `pulumi:"id"`
	ImageId             pulumi.StringInput                            `pulumi:"imageId"`
	ImageOwnerAlias     pulumi.StringInput                            `pulumi:"imageOwnerAlias"`
	LoginCount          pulumi.IntInput                               `pulumi:"loginCount"`
	LoginInstanceType   pulumi.StringInput                            `pulumi:"loginInstanceType"`
	ManagerCount        pulumi.IntInput                               `pulumi:"managerCount"`
	ManagerInstanceType pulumi.StringInput                            `pulumi:"managerInstanceType"`
	OsTag               pulumi.StringInput                            `pulumi:"osTag"`
	PostInstallScripts  GetClustersClusterPostInstallScriptArrayInput `pulumi:"postInstallScripts"`
	RemoteDirectory     pulumi.StringInput                            `pulumi:"remoteDirectory"`
	SccClusterId        pulumi.StringInput                            `pulumi:"sccClusterId"`
	SchedulerType       pulumi.StringInput                            `pulumi:"schedulerType"`
	SecurityGroupId     pulumi.StringInput                            `pulumi:"securityGroupId"`
	// The status of the resource. Valid values:
	Status           pulumi.StringInput `pulumi:"status"`
	VolumeId         pulumi.StringInput `pulumi:"volumeId"`
	VolumeMountpoint pulumi.StringInput `pulumi:"volumeMountpoint"`
	VolumeProtocol   pulumi.StringInput `pulumi:"volumeProtocol"`
	VolumeType       pulumi.StringInput `pulumi:"volumeType"`
	VpcId            pulumi.StringInput `pulumi:"vpcId"`
	VswitchId        pulumi.StringInput `pulumi:"vswitchId"`
	ZoneId           pulumi.StringInput `pulumi:"zoneId"`
}

func (GetClustersClusterArgs) ElementType added in v3.22.0

func (GetClustersClusterArgs) ElementType() reflect.Type

func (GetClustersClusterArgs) ToGetClustersClusterOutput added in v3.22.0

func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterArgs) ToGetClustersClusterOutputWithContext added in v3.22.0

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

type GetClustersClusterArray added in v3.22.0

type GetClustersClusterArray []GetClustersClusterInput

func (GetClustersClusterArray) ElementType added in v3.22.0

func (GetClustersClusterArray) ElementType() reflect.Type

func (GetClustersClusterArray) ToGetClustersClusterArrayOutput added in v3.22.0

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext added in v3.22.0

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

type GetClustersClusterArrayInput added in v3.22.0

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 added in v3.22.0

type GetClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterArrayOutput) ElementType added in v3.22.0

func (GetClustersClusterArrayOutput) Index added in v3.22.0

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput added in v3.22.0

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext added in v3.22.0

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

type GetClustersClusterInput added in v3.22.0

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 added in v3.22.0

type GetClustersClusterOutput struct{ *pulumi.OutputState }

func (GetClustersClusterOutput) AccountType added in v3.22.0

The server type of the account.

func (GetClustersClusterOutput) Applications added in v3.22.0

func (GetClustersClusterOutput) ClientVersion added in v3.22.0

func (o GetClustersClusterOutput) ClientVersion() pulumi.StringOutput

The version number of the client used by the cluster.

func (GetClustersClusterOutput) ClusterId added in v3.22.0

func (GetClustersClusterOutput) ClusterName added in v3.22.0

func (GetClustersClusterOutput) ComputeCount added in v3.22.0

func (o GetClustersClusterOutput) ComputeCount() pulumi.IntOutput

func (GetClustersClusterOutput) ComputeInstanceType added in v3.22.0

func (o GetClustersClusterOutput) ComputeInstanceType() pulumi.StringOutput

func (GetClustersClusterOutput) CreateTime added in v3.22.0

func (GetClustersClusterOutput) DeployMode added in v3.22.0

func (GetClustersClusterOutput) Description added in v3.22.0

func (GetClustersClusterOutput) ElementType added in v3.22.0

func (GetClustersClusterOutput) ElementType() reflect.Type

func (GetClustersClusterOutput) HaEnable added in v3.22.0

func (GetClustersClusterOutput) Id added in v3.22.0

func (GetClustersClusterOutput) ImageId added in v3.22.0

func (GetClustersClusterOutput) ImageOwnerAlias added in v3.22.0

func (o GetClustersClusterOutput) ImageOwnerAlias() pulumi.StringOutput

func (GetClustersClusterOutput) LoginCount added in v3.22.0

func (o GetClustersClusterOutput) LoginCount() pulumi.IntOutput

func (GetClustersClusterOutput) LoginInstanceType added in v3.22.0

func (o GetClustersClusterOutput) LoginInstanceType() pulumi.StringOutput

func (GetClustersClusterOutput) ManagerCount added in v3.22.0

func (o GetClustersClusterOutput) ManagerCount() pulumi.IntOutput

func (GetClustersClusterOutput) ManagerInstanceType added in v3.22.0

func (o GetClustersClusterOutput) ManagerInstanceType() pulumi.StringOutput

func (GetClustersClusterOutput) OsTag added in v3.22.0

func (GetClustersClusterOutput) PostInstallScripts added in v3.22.0

func (GetClustersClusterOutput) RemoteDirectory added in v3.22.0

func (o GetClustersClusterOutput) RemoteDirectory() pulumi.StringOutput

func (GetClustersClusterOutput) SccClusterId added in v3.22.0

func (o GetClustersClusterOutput) SccClusterId() pulumi.StringOutput

func (GetClustersClusterOutput) SchedulerType added in v3.22.0

func (o GetClustersClusterOutput) SchedulerType() pulumi.StringOutput

func (GetClustersClusterOutput) SecurityGroupId added in v3.22.0

func (o GetClustersClusterOutput) SecurityGroupId() pulumi.StringOutput

func (GetClustersClusterOutput) Status added in v3.22.0

The status of the resource. Valid values:

func (GetClustersClusterOutput) ToGetClustersClusterOutput added in v3.22.0

func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterOutput) ToGetClustersClusterOutputWithContext added in v3.22.0

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

func (GetClustersClusterOutput) VolumeId added in v3.22.0

func (GetClustersClusterOutput) VolumeMountpoint added in v3.22.0

func (o GetClustersClusterOutput) VolumeMountpoint() pulumi.StringOutput

func (GetClustersClusterOutput) VolumeProtocol added in v3.22.0

func (o GetClustersClusterOutput) VolumeProtocol() pulumi.StringOutput

func (GetClustersClusterOutput) VolumeType added in v3.22.0

func (GetClustersClusterOutput) VpcId added in v3.22.0

func (GetClustersClusterOutput) VswitchId added in v3.22.0

func (GetClustersClusterOutput) ZoneId added in v3.22.0

type GetClustersClusterPostInstallScript added in v3.22.0

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

type GetClustersClusterPostInstallScriptArgs added in v3.22.0

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

func (GetClustersClusterPostInstallScriptArgs) ElementType added in v3.22.0

func (GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutput added in v3.22.0

func (i GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput

func (GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutputWithContext added in v3.22.0

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

type GetClustersClusterPostInstallScriptArray added in v3.22.0

type GetClustersClusterPostInstallScriptArray []GetClustersClusterPostInstallScriptInput

func (GetClustersClusterPostInstallScriptArray) ElementType added in v3.22.0

func (GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutput added in v3.22.0

func (i GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutput() GetClustersClusterPostInstallScriptArrayOutput

func (GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutputWithContext added in v3.22.0

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

type GetClustersClusterPostInstallScriptArrayInput added in v3.22.0

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 added in v3.22.0

type GetClustersClusterPostInstallScriptArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterPostInstallScriptArrayOutput) ElementType added in v3.22.0

func (GetClustersClusterPostInstallScriptArrayOutput) Index added in v3.22.0

func (GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutput added in v3.22.0

func (o GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutput() GetClustersClusterPostInstallScriptArrayOutput

func (GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutputWithContext added in v3.22.0

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

type GetClustersClusterPostInstallScriptInput added in v3.22.0

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 added in v3.22.0

type GetClustersClusterPostInstallScriptOutput struct{ *pulumi.OutputState }

func (GetClustersClusterPostInstallScriptOutput) Args added in v3.22.0

func (GetClustersClusterPostInstallScriptOutput) ElementType added in v3.22.0

func (GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutput added in v3.22.0

func (o GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput

func (GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutputWithContext added in v3.22.0

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

func (GetClustersClusterPostInstallScriptOutput) Url added in v3.22.0

type GetClustersOutputArgs added in v3.22.0

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"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource. Valid values:
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getClusters.

func (GetClustersOutputArgs) ElementType added in v3.22.0

func (GetClustersOutputArgs) ElementType() reflect.Type

type GetClustersResult added in v3.22.0

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 added in v3.22.0

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/v3/go/alicloud/ehpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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 added in v3.22.0

type GetClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusters.

func GetClustersOutput added in v3.22.0

func GetClustersOutput(ctx *pulumi.Context, args GetClustersOutputArgs, opts ...pulumi.InvokeOption) GetClustersResultOutput

func (GetClustersResultOutput) Clusters added in v3.22.0

func (GetClustersResultOutput) ElementType added in v3.22.0

func (GetClustersResultOutput) ElementType() reflect.Type

func (GetClustersResultOutput) EnableDetails added in v3.22.0

func (o GetClustersResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetClustersResultOutput) Id added in v3.22.0

The provider-assigned unique ID for this managed resource.

func (GetClustersResultOutput) Ids added in v3.22.0

func (GetClustersResultOutput) NameRegex added in v3.22.0

func (GetClustersResultOutput) Names added in v3.22.0

func (GetClustersResultOutput) OutputFile added in v3.22.0

func (GetClustersResultOutput) Status added in v3.22.0

func (GetClustersResultOutput) ToGetClustersResultOutput added in v3.22.0

func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput

func (GetClustersResultOutput) ToGetClustersResultOutputWithContext added in v3.22.0

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

type GetJobTemplatesArgs

type GetJobTemplatesArgs struct {
	// A list of Job Template IDs.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getJobTemplates.

type GetJobTemplatesOutputArgs added in v3.9.0

type GetJobTemplatesOutputArgs struct {
	// A list of Job Template IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getJobTemplates.

func (GetJobTemplatesOutputArgs) ElementType added in v3.9.0

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/v3/go/alicloud/ehpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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.StringPtrOutput))
		return nil
	})
}

```

type GetJobTemplatesResultOutput added in v3.9.0

type GetJobTemplatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getJobTemplates.

func GetJobTemplatesOutput added in v3.9.0

func (GetJobTemplatesResultOutput) ElementType added in v3.9.0

func (GetJobTemplatesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetJobTemplatesResultOutput) Ids added in v3.9.0

func (GetJobTemplatesResultOutput) OutputFile added in v3.9.0

func (GetJobTemplatesResultOutput) Templates added in v3.9.0

func (GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutput added in v3.9.0

func (o GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutput() GetJobTemplatesResultOutput

func (GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutputWithContext added in v3.9.0

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-alicloud/sdk/v3/go/alicloud/ehpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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
		}
		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 added in v3.27.0

func (o JobTemplateOutput) ArrayRequest() pulumi.StringPtrOutput

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

func (JobTemplateOutput) ClockTime added in v3.27.0

Job Maximum Run Time.

func (JobTemplateOutput) CommandLine added in v3.27.0

func (o JobTemplateOutput) CommandLine() pulumi.StringOutput

Job Commands.

func (JobTemplateOutput) ElementType

func (JobTemplateOutput) ElementType() reflect.Type

func (JobTemplateOutput) Gpu added in v3.27.0

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

func (JobTemplateOutput) JobTemplateName added in v3.27.0

func (o JobTemplateOutput) JobTemplateName() pulumi.StringOutput

A Job Template Name.

func (JobTemplateOutput) Mem added in v3.27.0

A Single Compute Node Maximum Memory.

func (JobTemplateOutput) Node added in v3.27.0

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

func (JobTemplateOutput) PackagePath added in v3.27.0

func (o JobTemplateOutput) PackagePath() pulumi.StringPtrOutput

Job Commands the Directory.

func (JobTemplateOutput) Priority added in v3.27.0

func (o JobTemplateOutput) Priority() pulumi.IntPtrOutput

The Job Priority.

func (JobTemplateOutput) Queue added in v3.27.0

The Job Queue.

func (JobTemplateOutput) ReRunable added in v3.27.0

func (o JobTemplateOutput) ReRunable() pulumi.BoolOutput

If the Job Is Support for the Re-Run.

func (JobTemplateOutput) RunasUser added in v3.27.0

The name of the user who performed the job.

func (JobTemplateOutput) StderrRedirectPath added in v3.27.0

func (o JobTemplateOutput) StderrRedirectPath() pulumi.StringPtrOutput

Error Output Path.

func (JobTemplateOutput) StdoutRedirectPath added in v3.27.0

func (o JobTemplateOutput) StdoutRedirectPath() pulumi.StringPtrOutput

Standard Output Path and.

func (JobTemplateOutput) Task added in v3.27.0

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

func (JobTemplateOutput) Thread added in v3.27.0

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 added in v3.27.0

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