getJobParser

Parse a HCL jobspec and produce the equivalent JSON encoded job.

Return

A collection of values returned by getJobParser.

Parameters

argument

A collection of arguments for invoking getJobParser.


suspend fun getJobParser(canonicalize: Boolean? = null, hcl: String): GetJobParserResult

Return

A collection of values returned by getJobParser.

Parameters

canonicalize

(boolean: true) - flag to enable setting any unset fields to their default values.

hcl

(string) - the HCL definition of the job.

See also


Return

A collection of values returned by getJobParser.

Parameters

argument

Builder for com.pulumi.nomad.kotlin.inputs.GetJobParserPlainArgs.

See also