1. Packages
  2. Ibm Provider
  3. API Docs
  4. getCodeEngineJob
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getCodeEngineJob

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a read-only data source to retrieve information about a code_engine_job. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const codeEngineJob = ibm.getCodeEngineJob({
        projectId: data.ibm_code_engine_project.code_engine_project.project_id,
        name: "my-job",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    code_engine_job = ibm.get_code_engine_job(project_id=data["ibm_code_engine_project"]["code_engine_project"]["project_id"],
        name="my-job")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.LookupCodeEngineJob(ctx, &ibm.LookupCodeEngineJobArgs{
    			ProjectId: data.Ibm_code_engine_project.Code_engine_project.Project_id,
    			Name:      "my-job",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var codeEngineJob = Ibm.GetCodeEngineJob.Invoke(new()
        {
            ProjectId = data.Ibm_code_engine_project.Code_engine_project.Project_id,
            Name = "my-job",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetCodeEngineJobArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var codeEngineJob = IbmFunctions.getCodeEngineJob(GetCodeEngineJobArgs.builder()
                .projectId(data.ibm_code_engine_project().code_engine_project().project_id())
                .name("my-job")
                .build());
    
        }
    }
    
    variables:
      codeEngineJob:
        fn::invoke:
          function: ibm:getCodeEngineJob
          arguments:
            projectId: ${data.ibm_code_engine_project.code_engine_project.project_id}
            name: my-job
    

    Using getCodeEngineJob

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCodeEngineJob(args: GetCodeEngineJobArgs, opts?: InvokeOptions): Promise<GetCodeEngineJobResult>
    function getCodeEngineJobOutput(args: GetCodeEngineJobOutputArgs, opts?: InvokeOptions): Output<GetCodeEngineJobResult>
    def get_code_engine_job(id: Optional[str] = None,
                            name: Optional[str] = None,
                            project_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetCodeEngineJobResult
    def get_code_engine_job_output(id: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            project_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetCodeEngineJobResult]
    func LookupCodeEngineJob(ctx *Context, args *LookupCodeEngineJobArgs, opts ...InvokeOption) (*LookupCodeEngineJobResult, error)
    func LookupCodeEngineJobOutput(ctx *Context, args *LookupCodeEngineJobOutputArgs, opts ...InvokeOption) LookupCodeEngineJobResultOutput

    > Note: This function is named LookupCodeEngineJob in the Go SDK.

    public static class GetCodeEngineJob 
    {
        public static Task<GetCodeEngineJobResult> InvokeAsync(GetCodeEngineJobArgs args, InvokeOptions? opts = null)
        public static Output<GetCodeEngineJobResult> Invoke(GetCodeEngineJobInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCodeEngineJobResult> getCodeEngineJob(GetCodeEngineJobArgs args, InvokeOptions options)
    public static Output<GetCodeEngineJobResult> getCodeEngineJob(GetCodeEngineJobArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getCodeEngineJob:getCodeEngineJob
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Id string
    The unique identifier of the code_engine_job.
    Name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Id string
    The unique identifier of the code_engine_job.
    name String
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id String
    The unique identifier of the code_engine_job.
    name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    projectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id string
    The unique identifier of the code_engine_job.
    name str
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    project_id str
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id str
    The unique identifier of the code_engine_job.
    name String
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id String
    The unique identifier of the code_engine_job.

    getCodeEngineJob Result

    The following output properties are available:

    Build string
    (String) Reference to a build that is associated with the job.
    BuildRun string
    (String) Reference to a build run that is associated with the job.
    ComputedEnvVariables List<GetCodeEngineJobComputedEnvVariable>
    (List) References to config maps, secrets or literal values, which are defined and set by Code Engine and are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for computed_env_variables:
    CreatedAt string
    (String) The timestamp when the resource was created.
    EntityTag string
    (String) The version of the job instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Href string
    (String) When you provision a new job, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    The unique identifier of the code_engine_job.
    ImageReference string
    (String) The name of the image that is used for this job. The format is REGISTRY/NAMESPACE/REPOSITORY:TAG where REGISTRY and TAG are optional. If REGISTRY is not specified, the default is docker.io. If TAG is not specified, the default is latest. If the image reference points to a registry that requires authentication, make sure to also specify the property image_secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^([a-z0-9][a-z0-9\\-_.]+[a-z0-9][\/])?([a-z0-9][a-z0-9\\-_]+[a-z0-9][\/])?[a-z0-9][a-z0-9\\-_.\/]+a-z0-9?(@sha256:[a-fA-F0-9]{64})?$/.
    ImageSecret string
    (String) The name of the image registry access secret. The image registry access secret is used to authenticate with a private registry when you download the container image. If the image reference points to a registry that requires authentication, the job / job runs will be created but submitted job runs will fail, until this property is provided, too. This property must not be set on a job run, which references a job template.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    JobId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Name string
    (String) The name of the mount.

    • Constraints: The maximum length is 63 characters. The minimum length is 0 characters. The value must match regular expression /^a-z?$/.
    ProjectId string
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the job.

    • Constraints: Allowable values are: job_v2.
    RunArguments List<string>
    (List) Set arguments for the job that are passed to start job run containers. If not specified an empty string array will be applied and the arguments specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    RunAsUser double
    (Integer) The user ID (UID) to run the job.

    • Constraints: The default value is 0.
    RunCommands List<string>
    (List) Set commands for the job that are passed to start job run containers. If not specified an empty string array will be applied and the command specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    RunEnvVariables List<GetCodeEngineJobRunEnvVariable>
    (List) References to config maps, secrets or literal values, which are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_env_variables:
    RunMode string
    (String) The mode for runs of the job. Valid values are task and daemon. In task mode, the max_execution_time and retry_limit properties apply. In daemon mode, since there is no timeout and failed instances are restarted indefinitely, the max_execution_time and retry_limit properties are not allowed.

    • Constraints: The default value is task. Allowable values are: task, daemon. The minimum length is 0 characters. The value must match regular expression /^(task|daemon)$/.
    RunServiceAccount string
    (String) The name of the service account. For built-in service accounts, you can use the shortened names manager, none, reader, and writer. This property must not be set on a job run, which references a job template.

    • Constraints: The default value is default. Allowable values are: default, manager, reader, writer, none. The minimum length is 0 characters. The value must match regular expression /^(manager|reader|writer|none|default)$/.
    RunVolumeMounts List<GetCodeEngineJobRunVolumeMount>
    (List) Optional mounts of config maps or secrets.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_volume_mounts:
    ScaleArraySpec string
    (String) Define a custom set of array indices as a comma-separated list containing single values and hyphen-separated ranges, such as 5,12-14,23,27. Each instance gets its array index value from the environment variable JOB_INDEX. The number of unique array indices that you specify with this parameter determines the number of job instances to run.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?(?:,(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?)*$/.
    ScaleCpuLimit string
    (String) Optional amount of CPU set for the instance of the job. For valid values see Supported memory and CPU combinations.

    • Constraints: The default value is 1. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    ScaleEphemeralStorageLimit string
    (String) Optional amount of ephemeral storage to set for the instance of the job. The amount specified as ephemeral storage, must not exceed the amount of scale_memory_limit. The units for specifying ephemeral storage are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 400M. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    ScaleMaxExecutionTime double
    (Integer) The maximum execution time in seconds for runs of the job. This property can only be specified if run_mode is task.

    • Constraints: The default value is 7200.
    ScaleMemoryLimit string
    (String) Optional amount of memory set for the instance of the job. For valid values see Supported memory and CPU combinations. The units for specifying memory are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 4G. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    ScaleRetryLimit double
    (Integer) The number of times to rerun an instance of the job before the job is marked as failed. This property can only be specified if run_mode is task.

    • Constraints: The default value is 3.
    Build string
    (String) Reference to a build that is associated with the job.
    BuildRun string
    (String) Reference to a build run that is associated with the job.
    ComputedEnvVariables []GetCodeEngineJobComputedEnvVariable
    (List) References to config maps, secrets or literal values, which are defined and set by Code Engine and are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for computed_env_variables:
    CreatedAt string
    (String) The timestamp when the resource was created.
    EntityTag string
    (String) The version of the job instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Href string
    (String) When you provision a new job, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    The unique identifier of the code_engine_job.
    ImageReference string
    (String) The name of the image that is used for this job. The format is REGISTRY/NAMESPACE/REPOSITORY:TAG where REGISTRY and TAG are optional. If REGISTRY is not specified, the default is docker.io. If TAG is not specified, the default is latest. If the image reference points to a registry that requires authentication, make sure to also specify the property image_secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^([a-z0-9][a-z0-9\\-_.]+[a-z0-9][\/])?([a-z0-9][a-z0-9\\-_]+[a-z0-9][\/])?[a-z0-9][a-z0-9\\-_.\/]+a-z0-9?(@sha256:[a-fA-F0-9]{64})?$/.
    ImageSecret string
    (String) The name of the image registry access secret. The image registry access secret is used to authenticate with a private registry when you download the container image. If the image reference points to a registry that requires authentication, the job / job runs will be created but submitted job runs will fail, until this property is provided, too. This property must not be set on a job run, which references a job template.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    JobId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Name string
    (String) The name of the mount.

    • Constraints: The maximum length is 63 characters. The minimum length is 0 characters. The value must match regular expression /^a-z?$/.
    ProjectId string
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the job.

    • Constraints: Allowable values are: job_v2.
    RunArguments []string
    (List) Set arguments for the job that are passed to start job run containers. If not specified an empty string array will be applied and the arguments specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    RunAsUser float64
    (Integer) The user ID (UID) to run the job.

    • Constraints: The default value is 0.
    RunCommands []string
    (List) Set commands for the job that are passed to start job run containers. If not specified an empty string array will be applied and the command specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    RunEnvVariables []GetCodeEngineJobRunEnvVariable
    (List) References to config maps, secrets or literal values, which are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_env_variables:
    RunMode string
    (String) The mode for runs of the job. Valid values are task and daemon. In task mode, the max_execution_time and retry_limit properties apply. In daemon mode, since there is no timeout and failed instances are restarted indefinitely, the max_execution_time and retry_limit properties are not allowed.

    • Constraints: The default value is task. Allowable values are: task, daemon. The minimum length is 0 characters. The value must match regular expression /^(task|daemon)$/.
    RunServiceAccount string
    (String) The name of the service account. For built-in service accounts, you can use the shortened names manager, none, reader, and writer. This property must not be set on a job run, which references a job template.

    • Constraints: The default value is default. Allowable values are: default, manager, reader, writer, none. The minimum length is 0 characters. The value must match regular expression /^(manager|reader|writer|none|default)$/.
    RunVolumeMounts []GetCodeEngineJobRunVolumeMount
    (List) Optional mounts of config maps or secrets.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_volume_mounts:
    ScaleArraySpec string
    (String) Define a custom set of array indices as a comma-separated list containing single values and hyphen-separated ranges, such as 5,12-14,23,27. Each instance gets its array index value from the environment variable JOB_INDEX. The number of unique array indices that you specify with this parameter determines the number of job instances to run.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?(?:,(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?)*$/.
    ScaleCpuLimit string
    (String) Optional amount of CPU set for the instance of the job. For valid values see Supported memory and CPU combinations.

    • Constraints: The default value is 1. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    ScaleEphemeralStorageLimit string
    (String) Optional amount of ephemeral storage to set for the instance of the job. The amount specified as ephemeral storage, must not exceed the amount of scale_memory_limit. The units for specifying ephemeral storage are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 400M. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    ScaleMaxExecutionTime float64
    (Integer) The maximum execution time in seconds for runs of the job. This property can only be specified if run_mode is task.

    • Constraints: The default value is 7200.
    ScaleMemoryLimit string
    (String) Optional amount of memory set for the instance of the job. For valid values see Supported memory and CPU combinations. The units for specifying memory are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 4G. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    ScaleRetryLimit float64
    (Integer) The number of times to rerun an instance of the job before the job is marked as failed. This property can only be specified if run_mode is task.

    • Constraints: The default value is 3.
    build String
    (String) Reference to a build that is associated with the job.
    buildRun String
    (String) Reference to a build run that is associated with the job.
    computedEnvVariables List<GetCodeEngineJobComputedEnvVariable>
    (List) References to config maps, secrets or literal values, which are defined and set by Code Engine and are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for computed_env_variables:
    createdAt String
    (String) The timestamp when the resource was created.
    entityTag String
    (String) The version of the job instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    href String
    (String) When you provision a new job, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    The unique identifier of the code_engine_job.
    imageReference String
    (String) The name of the image that is used for this job. The format is REGISTRY/NAMESPACE/REPOSITORY:TAG where REGISTRY and TAG are optional. If REGISTRY is not specified, the default is docker.io. If TAG is not specified, the default is latest. If the image reference points to a registry that requires authentication, make sure to also specify the property image_secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^([a-z0-9][a-z0-9\\-_.]+[a-z0-9][\/])?([a-z0-9][a-z0-9\\-_]+[a-z0-9][\/])?[a-z0-9][a-z0-9\\-_.\/]+a-z0-9?(@sha256:[a-fA-F0-9]{64})?$/.
    imageSecret String
    (String) The name of the image registry access secret. The image registry access secret is used to authenticate with a private registry when you download the container image. If the image reference points to a registry that requires authentication, the job / job runs will be created but submitted job runs will fail, until this property is provided, too. This property must not be set on a job run, which references a job template.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    jobId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name String
    (String) The name of the mount.

    • Constraints: The maximum length is 63 characters. The minimum length is 0 characters. The value must match regular expression /^a-z?$/.
    projectId String
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the job.

    • Constraints: Allowable values are: job_v2.
    runArguments List<String>
    (List) Set arguments for the job that are passed to start job run containers. If not specified an empty string array will be applied and the arguments specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    runAsUser Double
    (Integer) The user ID (UID) to run the job.

    • Constraints: The default value is 0.
    runCommands List<String>
    (List) Set commands for the job that are passed to start job run containers. If not specified an empty string array will be applied and the command specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    runEnvVariables List<GetCodeEngineJobRunEnvVariable>
    (List) References to config maps, secrets or literal values, which are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_env_variables:
    runMode String
    (String) The mode for runs of the job. Valid values are task and daemon. In task mode, the max_execution_time and retry_limit properties apply. In daemon mode, since there is no timeout and failed instances are restarted indefinitely, the max_execution_time and retry_limit properties are not allowed.

    • Constraints: The default value is task. Allowable values are: task, daemon. The minimum length is 0 characters. The value must match regular expression /^(task|daemon)$/.
    runServiceAccount String
    (String) The name of the service account. For built-in service accounts, you can use the shortened names manager, none, reader, and writer. This property must not be set on a job run, which references a job template.

    • Constraints: The default value is default. Allowable values are: default, manager, reader, writer, none. The minimum length is 0 characters. The value must match regular expression /^(manager|reader|writer|none|default)$/.
    runVolumeMounts List<GetCodeEngineJobRunVolumeMount>
    (List) Optional mounts of config maps or secrets.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_volume_mounts:
    scaleArraySpec String
    (String) Define a custom set of array indices as a comma-separated list containing single values and hyphen-separated ranges, such as 5,12-14,23,27. Each instance gets its array index value from the environment variable JOB_INDEX. The number of unique array indices that you specify with this parameter determines the number of job instances to run.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?(?:,(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?)*$/.
    scaleCpuLimit String
    (String) Optional amount of CPU set for the instance of the job. For valid values see Supported memory and CPU combinations.

    • Constraints: The default value is 1. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scaleEphemeralStorageLimit String
    (String) Optional amount of ephemeral storage to set for the instance of the job. The amount specified as ephemeral storage, must not exceed the amount of scale_memory_limit. The units for specifying ephemeral storage are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 400M. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scaleMaxExecutionTime Double
    (Integer) The maximum execution time in seconds for runs of the job. This property can only be specified if run_mode is task.

    • Constraints: The default value is 7200.
    scaleMemoryLimit String
    (String) Optional amount of memory set for the instance of the job. For valid values see Supported memory and CPU combinations. The units for specifying memory are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 4G. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scaleRetryLimit Double
    (Integer) The number of times to rerun an instance of the job before the job is marked as failed. This property can only be specified if run_mode is task.

    • Constraints: The default value is 3.
    build string
    (String) Reference to a build that is associated with the job.
    buildRun string
    (String) Reference to a build run that is associated with the job.
    computedEnvVariables GetCodeEngineJobComputedEnvVariable[]
    (List) References to config maps, secrets or literal values, which are defined and set by Code Engine and are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for computed_env_variables:
    createdAt string
    (String) The timestamp when the resource was created.
    entityTag string
    (String) The version of the job instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    href string
    (String) When you provision a new job, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id string
    The unique identifier of the code_engine_job.
    imageReference string
    (String) The name of the image that is used for this job. The format is REGISTRY/NAMESPACE/REPOSITORY:TAG where REGISTRY and TAG are optional. If REGISTRY is not specified, the default is docker.io. If TAG is not specified, the default is latest. If the image reference points to a registry that requires authentication, make sure to also specify the property image_secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^([a-z0-9][a-z0-9\\-_.]+[a-z0-9][\/])?([a-z0-9][a-z0-9\\-_]+[a-z0-9][\/])?[a-z0-9][a-z0-9\\-_.\/]+a-z0-9?(@sha256:[a-fA-F0-9]{64})?$/.
    imageSecret string
    (String) The name of the image registry access secret. The image registry access secret is used to authenticate with a private registry when you download the container image. If the image reference points to a registry that requires authentication, the job / job runs will be created but submitted job runs will fail, until this property is provided, too. This property must not be set on a job run, which references a job template.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    jobId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name string
    (String) The name of the mount.

    • Constraints: The maximum length is 63 characters. The minimum length is 0 characters. The value must match regular expression /^a-z?$/.
    projectId string
    region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType string
    (String) The type of the job.

    • Constraints: Allowable values are: job_v2.
    runArguments string[]
    (List) Set arguments for the job that are passed to start job run containers. If not specified an empty string array will be applied and the arguments specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    runAsUser number
    (Integer) The user ID (UID) to run the job.

    • Constraints: The default value is 0.
    runCommands string[]
    (List) Set commands for the job that are passed to start job run containers. If not specified an empty string array will be applied and the command specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    runEnvVariables GetCodeEngineJobRunEnvVariable[]
    (List) References to config maps, secrets or literal values, which are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_env_variables:
    runMode string
    (String) The mode for runs of the job. Valid values are task and daemon. In task mode, the max_execution_time and retry_limit properties apply. In daemon mode, since there is no timeout and failed instances are restarted indefinitely, the max_execution_time and retry_limit properties are not allowed.

    • Constraints: The default value is task. Allowable values are: task, daemon. The minimum length is 0 characters. The value must match regular expression /^(task|daemon)$/.
    runServiceAccount string
    (String) The name of the service account. For built-in service accounts, you can use the shortened names manager, none, reader, and writer. This property must not be set on a job run, which references a job template.

    • Constraints: The default value is default. Allowable values are: default, manager, reader, writer, none. The minimum length is 0 characters. The value must match regular expression /^(manager|reader|writer|none|default)$/.
    runVolumeMounts GetCodeEngineJobRunVolumeMount[]
    (List) Optional mounts of config maps or secrets.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_volume_mounts:
    scaleArraySpec string
    (String) Define a custom set of array indices as a comma-separated list containing single values and hyphen-separated ranges, such as 5,12-14,23,27. Each instance gets its array index value from the environment variable JOB_INDEX. The number of unique array indices that you specify with this parameter determines the number of job instances to run.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?(?:,(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?)*$/.
    scaleCpuLimit string
    (String) Optional amount of CPU set for the instance of the job. For valid values see Supported memory and CPU combinations.

    • Constraints: The default value is 1. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scaleEphemeralStorageLimit string
    (String) Optional amount of ephemeral storage to set for the instance of the job. The amount specified as ephemeral storage, must not exceed the amount of scale_memory_limit. The units for specifying ephemeral storage are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 400M. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scaleMaxExecutionTime number
    (Integer) The maximum execution time in seconds for runs of the job. This property can only be specified if run_mode is task.

    • Constraints: The default value is 7200.
    scaleMemoryLimit string
    (String) Optional amount of memory set for the instance of the job. For valid values see Supported memory and CPU combinations. The units for specifying memory are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 4G. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scaleRetryLimit number
    (Integer) The number of times to rerun an instance of the job before the job is marked as failed. This property can only be specified if run_mode is task.

    • Constraints: The default value is 3.
    build str
    (String) Reference to a build that is associated with the job.
    build_run str
    (String) Reference to a build run that is associated with the job.
    computed_env_variables Sequence[GetCodeEngineJobComputedEnvVariable]
    (List) References to config maps, secrets or literal values, which are defined and set by Code Engine and are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for computed_env_variables:
    created_at str
    (String) The timestamp when the resource was created.
    entity_tag str
    (String) The version of the job instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    href str
    (String) When you provision a new job, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id str
    The unique identifier of the code_engine_job.
    image_reference str
    (String) The name of the image that is used for this job. The format is REGISTRY/NAMESPACE/REPOSITORY:TAG where REGISTRY and TAG are optional. If REGISTRY is not specified, the default is docker.io. If TAG is not specified, the default is latest. If the image reference points to a registry that requires authentication, make sure to also specify the property image_secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^([a-z0-9][a-z0-9\\-_.]+[a-z0-9][\/])?([a-z0-9][a-z0-9\\-_]+[a-z0-9][\/])?[a-z0-9][a-z0-9\\-_.\/]+a-z0-9?(@sha256:[a-fA-F0-9]{64})?$/.
    image_secret str
    (String) The name of the image registry access secret. The image registry access secret is used to authenticate with a private registry when you download the container image. If the image reference points to a registry that requires authentication, the job / job runs will be created but submitted job runs will fail, until this property is provided, too. This property must not be set on a job run, which references a job template.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    job_id str
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name str
    (String) The name of the mount.

    • Constraints: The maximum length is 63 characters. The minimum length is 0 characters. The value must match regular expression /^a-z?$/.
    project_id str
    region str
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resource_type str
    (String) The type of the job.

    • Constraints: Allowable values are: job_v2.
    run_arguments Sequence[str]
    (List) Set arguments for the job that are passed to start job run containers. If not specified an empty string array will be applied and the arguments specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    run_as_user float
    (Integer) The user ID (UID) to run the job.

    • Constraints: The default value is 0.
    run_commands Sequence[str]
    (List) Set commands for the job that are passed to start job run containers. If not specified an empty string array will be applied and the command specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    run_env_variables Sequence[GetCodeEngineJobRunEnvVariable]
    (List) References to config maps, secrets or literal values, which are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_env_variables:
    run_mode str
    (String) The mode for runs of the job. Valid values are task and daemon. In task mode, the max_execution_time and retry_limit properties apply. In daemon mode, since there is no timeout and failed instances are restarted indefinitely, the max_execution_time and retry_limit properties are not allowed.

    • Constraints: The default value is task. Allowable values are: task, daemon. The minimum length is 0 characters. The value must match regular expression /^(task|daemon)$/.
    run_service_account str
    (String) The name of the service account. For built-in service accounts, you can use the shortened names manager, none, reader, and writer. This property must not be set on a job run, which references a job template.

    • Constraints: The default value is default. Allowable values are: default, manager, reader, writer, none. The minimum length is 0 characters. The value must match regular expression /^(manager|reader|writer|none|default)$/.
    run_volume_mounts Sequence[GetCodeEngineJobRunVolumeMount]
    (List) Optional mounts of config maps or secrets.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_volume_mounts:
    scale_array_spec str
    (String) Define a custom set of array indices as a comma-separated list containing single values and hyphen-separated ranges, such as 5,12-14,23,27. Each instance gets its array index value from the environment variable JOB_INDEX. The number of unique array indices that you specify with this parameter determines the number of job instances to run.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?(?:,(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?)*$/.
    scale_cpu_limit str
    (String) Optional amount of CPU set for the instance of the job. For valid values see Supported memory and CPU combinations.

    • Constraints: The default value is 1. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scale_ephemeral_storage_limit str
    (String) Optional amount of ephemeral storage to set for the instance of the job. The amount specified as ephemeral storage, must not exceed the amount of scale_memory_limit. The units for specifying ephemeral storage are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 400M. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scale_max_execution_time float
    (Integer) The maximum execution time in seconds for runs of the job. This property can only be specified if run_mode is task.

    • Constraints: The default value is 7200.
    scale_memory_limit str
    (String) Optional amount of memory set for the instance of the job. For valid values see Supported memory and CPU combinations. The units for specifying memory are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 4G. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scale_retry_limit float
    (Integer) The number of times to rerun an instance of the job before the job is marked as failed. This property can only be specified if run_mode is task.

    • Constraints: The default value is 3.
    build String
    (String) Reference to a build that is associated with the job.
    buildRun String
    (String) Reference to a build run that is associated with the job.
    computedEnvVariables List<Property Map>
    (List) References to config maps, secrets or literal values, which are defined and set by Code Engine and are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for computed_env_variables:
    createdAt String
    (String) The timestamp when the resource was created.
    entityTag String
    (String) The version of the job instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    href String
    (String) When you provision a new job, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    The unique identifier of the code_engine_job.
    imageReference String
    (String) The name of the image that is used for this job. The format is REGISTRY/NAMESPACE/REPOSITORY:TAG where REGISTRY and TAG are optional. If REGISTRY is not specified, the default is docker.io. If TAG is not specified, the default is latest. If the image reference points to a registry that requires authentication, make sure to also specify the property image_secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^([a-z0-9][a-z0-9\\-_.]+[a-z0-9][\/])?([a-z0-9][a-z0-9\\-_]+[a-z0-9][\/])?[a-z0-9][a-z0-9\\-_.\/]+a-z0-9?(@sha256:[a-fA-F0-9]{64})?$/.
    imageSecret String
    (String) The name of the image registry access secret. The image registry access secret is used to authenticate with a private registry when you download the container image. If the image reference points to a registry that requires authentication, the job / job runs will be created but submitted job runs will fail, until this property is provided, too. This property must not be set on a job run, which references a job template.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    jobId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name String
    (String) The name of the mount.

    • Constraints: The maximum length is 63 characters. The minimum length is 0 characters. The value must match regular expression /^a-z?$/.
    projectId String
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the job.

    • Constraints: Allowable values are: job_v2.
    runArguments List<String>
    (List) Set arguments for the job that are passed to start job run containers. If not specified an empty string array will be applied and the arguments specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    runAsUser Number
    (Integer) The user ID (UID) to run the job.

    • Constraints: The default value is 0.
    runCommands List<String>
    (List) Set commands for the job that are passed to start job run containers. If not specified an empty string array will be applied and the command specified by the container image, will be used to start the container.

    • Constraints: The list items must match regular expression /^.*$/. The maximum length is 100 items. The minimum length is 0 items.
    runEnvVariables List<Property Map>
    (List) References to config maps, secrets or literal values, which are exposed as environment variables in the job run.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_env_variables:
    runMode String
    (String) The mode for runs of the job. Valid values are task and daemon. In task mode, the max_execution_time and retry_limit properties apply. In daemon mode, since there is no timeout and failed instances are restarted indefinitely, the max_execution_time and retry_limit properties are not allowed.

    • Constraints: The default value is task. Allowable values are: task, daemon. The minimum length is 0 characters. The value must match regular expression /^(task|daemon)$/.
    runServiceAccount String
    (String) The name of the service account. For built-in service accounts, you can use the shortened names manager, none, reader, and writer. This property must not be set on a job run, which references a job template.

    • Constraints: The default value is default. Allowable values are: default, manager, reader, writer, none. The minimum length is 0 characters. The value must match regular expression /^(manager|reader|writer|none|default)$/.
    runVolumeMounts List<Property Map>
    (List) Optional mounts of config maps or secrets.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for run_volume_mounts:
    scaleArraySpec String
    (String) Define a custom set of array indices as a comma-separated list containing single values and hyphen-separated ranges, such as 5,12-14,23,27. Each instance gets its array index value from the environment variable JOB_INDEX. The number of unique array indices that you specify with this parameter determines the number of job instances to run.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?(?:,(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d)(?:-(?:[1-9]\\d\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d\\d|[1-9]\\d\\d\\d\\d|[1-9]\\d\\d\\d|[1-9]\\d\\d|[1-9]?\\d))?)*$/.
    scaleCpuLimit String
    (String) Optional amount of CPU set for the instance of the job. For valid values see Supported memory and CPU combinations.

    • Constraints: The default value is 1. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scaleEphemeralStorageLimit String
    (String) Optional amount of ephemeral storage to set for the instance of the job. The amount specified as ephemeral storage, must not exceed the amount of scale_memory_limit. The units for specifying ephemeral storage are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 400M. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scaleMaxExecutionTime Number
    (Integer) The maximum execution time in seconds for runs of the job. This property can only be specified if run_mode is task.

    • Constraints: The default value is 7200.
    scaleMemoryLimit String
    (String) Optional amount of memory set for the instance of the job. For valid values see Supported memory and CPU combinations. The units for specifying memory are Megabyte (M) or Gigabyte (G), whereas G and M are the shorthand expressions for GB and MB. For more information see Units of measurement.

    • Constraints: The default value is 4G. The maximum length is 10 characters. The minimum length is 0 characters. The value must match regular expression /^([0-9.]+)([eEinumkKMGTPB]*)$/.
    scaleRetryLimit Number
    (Integer) The number of times to rerun an instance of the job before the job is marked as failed. This property can only be specified if run_mode is task.

    • Constraints: The default value is 3.

    Supporting Types

    GetCodeEngineJobComputedEnvVariable

    Key string
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    Name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    Prefix string
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    Reference string
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    Type string
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    Value string
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    Key string
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    Name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    Prefix string
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    Reference string
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    Type string
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    Value string
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    key String
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    name String
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    prefix String
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    reference String
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type String
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    value String
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    key string
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    prefix string
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    reference string
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type string
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    value string
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    key str
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    name str
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    prefix str
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    reference str
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type str
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    value str
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    key String
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    name String
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    prefix String
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    reference String
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type String
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    value String
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.

    GetCodeEngineJobRunEnvVariable

    Key string
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    Name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    Prefix string
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    Reference string
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    Type string
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    Value string
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    Key string
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    Name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    Prefix string
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    Reference string
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    Type string
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    Value string
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    key String
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    name String
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    prefix String
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    reference String
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type String
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    value String
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    key string
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    prefix string
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    reference string
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type string
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    value string
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    key str
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    name str
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    prefix str
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    reference str
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type str
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    value str
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    key String
    (String) The key to reference as environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.
    name String
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    prefix String
    (String) A prefix that can be added to all keys of a full secret or config map reference.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z_][a-zA-Z0-9_]*$/.
    reference String
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type String
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    value String
    (String) The literal value of the environment variable.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[\\-._a-zA-Z0-9]+$/.

    GetCodeEngineJobRunVolumeMount

    MountPath string
    (String) The path that should be mounted.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^\/([^\/\\0]+\/?)+$/.
    Name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    Reference string
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    Type string
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    MountPath string
    (String) The path that should be mounted.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^\/([^\/\\0]+\/?)+$/.
    Name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    Reference string
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    Type string
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    mountPath String
    (String) The path that should be mounted.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^\/([^\/\\0]+\/?)+$/.
    name String
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    reference String
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type String
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    mountPath string
    (String) The path that should be mounted.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^\/([^\/\\0]+\/?)+$/.
    name string
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    reference string
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type string
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    mount_path str
    (String) The path that should be mounted.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^\/([^\/\\0]+\/?)+$/.
    name str
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    reference str
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type str
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.
    mountPath String
    (String) The path that should be mounted.

    • Constraints: The maximum length is 256 characters. The minimum length is 1 character. The value must match regular expression /^\/([^\/\\0]+\/?)+$/.
    name String
    The name of your job.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    reference String
    (String) The name of the referenced secret or config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    type String
    (String) Specify the type of the volume mount. Allowed types are: 'config_map', 'secret'.

    • Constraints: The default value is secret. Allowable values are: config_map, secret. The value must match regular expression /^(config_map|secret)$/.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud