JobTemplate

class JobTemplate : KotlinCustomResource

Provides a Ehpc Job Template resource. For information about Ehpc Job Template and how to use it, see What is Job Template.

NOTE: Available in v1.133.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ehpc.JobTemplate;
import com.pulumi.alicloud.ehpc.JobTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new JobTemplate("default", JobTemplateArgs.builder()
.commandLine("./LammpsTest/lammps.pbs")
.jobTemplateName("example_value")
.build());
}
}

Import

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

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

Properties

Link copied to clipboard
val arrayRequest: Output<String>?

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

Link copied to clipboard
val clockTime: Output<String>?

Job Maximum Run Time.

Link copied to clipboard
val commandLine: Output<String>

Job Commands.

Link copied to clipboard
val gpu: Output<Int>?

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val jobTemplateName: Output<String>

A Job Template Name.

Link copied to clipboard
val mem: Output<String>?

A Single Compute Node Maximum Memory.

Link copied to clipboard
val node: Output<Int>?

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

Link copied to clipboard
val packagePath: Output<String>?

Job Commands the Directory.

Link copied to clipboard
val priority: Output<Int>?

The Job Priority.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val queue: Output<String>?

The Job Queue.

Link copied to clipboard
val reRunable: Output<Boolean>

If the Job Is Support for the Re-Run.

Link copied to clipboard
val runasUser: Output<String>?

The name of the user who performed the job.

Link copied to clipboard

Error Output Path.

Link copied to clipboard

Standard Output Path and.

Link copied to clipboard
val task: Output<Int>?

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

Link copied to clipboard
val thread: Output<Int>?

A Single Task and the Number of Required Threads.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val variables: Output<String>?

The Job of the Environment Variable.