1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. JobRun
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DataScience.JobRun

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Job Run resource in Oracle Cloud Infrastructure Data Science service.

    Creates a job run.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testJobRun = new oci.datascience.JobRun("test_job_run", {
        compartmentId: compartmentId,
        jobId: testJob.id,
        projectId: testProject.id,
        asynchronous: asynchronous,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: jobRunDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        jobConfigurationOverrideDetails: {
            jobType: jobRunJobConfigurationOverrideDetailsJobType,
            commandLineArguments: jobRunJobConfigurationOverrideDetailsCommandLineArguments,
            environmentVariables: jobRunJobConfigurationOverrideDetailsEnvironmentVariables,
            maximumRuntimeInMinutes: jobRunJobConfigurationOverrideDetailsMaximumRuntimeInMinutes,
        },
        jobEnvironmentConfigurationOverrideDetails: {
            image: jobRunJobEnvironmentConfigurationOverrideDetailsImage,
            jobEnvironmentType: jobRunJobEnvironmentConfigurationOverrideDetailsJobEnvironmentType,
            cmds: jobRunJobEnvironmentConfigurationOverrideDetailsCmd,
            entrypoints: jobRunJobEnvironmentConfigurationOverrideDetailsEntrypoint,
            imageDigest: jobRunJobEnvironmentConfigurationOverrideDetailsImageDigest,
            imageSignatureId: testImageSignature.id,
        },
        jobLogConfigurationOverrideDetails: {
            enableAutoLogCreation: jobRunJobLogConfigurationOverrideDetailsEnableAutoLogCreation,
            enableLogging: jobRunJobLogConfigurationOverrideDetailsEnableLogging,
            logGroupId: testLogGroup.id,
            logId: testLog.id,
        },
        opcParentRptUrl: jobRunOpcParentRptUrl,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_job_run = oci.data_science.JobRun("test_job_run",
        compartment_id=compartment_id,
        job_id=test_job["id"],
        project_id=test_project["id"],
        asynchronous=asynchronous,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=job_run_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        job_configuration_override_details={
            "job_type": job_run_job_configuration_override_details_job_type,
            "command_line_arguments": job_run_job_configuration_override_details_command_line_arguments,
            "environment_variables": job_run_job_configuration_override_details_environment_variables,
            "maximum_runtime_in_minutes": job_run_job_configuration_override_details_maximum_runtime_in_minutes,
        },
        job_environment_configuration_override_details={
            "image": job_run_job_environment_configuration_override_details_image,
            "job_environment_type": job_run_job_environment_configuration_override_details_job_environment_type,
            "cmds": job_run_job_environment_configuration_override_details_cmd,
            "entrypoints": job_run_job_environment_configuration_override_details_entrypoint,
            "image_digest": job_run_job_environment_configuration_override_details_image_digest,
            "image_signature_id": test_image_signature["id"],
        },
        job_log_configuration_override_details={
            "enable_auto_log_creation": job_run_job_log_configuration_override_details_enable_auto_log_creation,
            "enable_logging": job_run_job_log_configuration_override_details_enable_logging,
            "log_group_id": test_log_group["id"],
            "log_id": test_log["id"],
        },
        opc_parent_rpt_url=job_run_opc_parent_rpt_url)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataScience"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataScience.NewJobRun(ctx, "test_job_run", &DataScience.JobRunArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			JobId:         pulumi.Any(testJob.Id),
    			ProjectId:     pulumi.Any(testProject.Id),
    			Asynchronous:  pulumi.Any(asynchronous),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DisplayName: pulumi.Any(jobRunDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			JobConfigurationOverrideDetails: &datascience.JobRunJobConfigurationOverrideDetailsArgs{
    				JobType:                 pulumi.Any(jobRunJobConfigurationOverrideDetailsJobType),
    				CommandLineArguments:    pulumi.Any(jobRunJobConfigurationOverrideDetailsCommandLineArguments),
    				EnvironmentVariables:    pulumi.Any(jobRunJobConfigurationOverrideDetailsEnvironmentVariables),
    				MaximumRuntimeInMinutes: pulumi.Any(jobRunJobConfigurationOverrideDetailsMaximumRuntimeInMinutes),
    			},
    			JobEnvironmentConfigurationOverrideDetails: &datascience.JobRunJobEnvironmentConfigurationOverrideDetailsArgs{
    				Image:              pulumi.Any(jobRunJobEnvironmentConfigurationOverrideDetailsImage),
    				JobEnvironmentType: pulumi.Any(jobRunJobEnvironmentConfigurationOverrideDetailsJobEnvironmentType),
    				Cmds:               pulumi.Any(jobRunJobEnvironmentConfigurationOverrideDetailsCmd),
    				Entrypoints:        pulumi.Any(jobRunJobEnvironmentConfigurationOverrideDetailsEntrypoint),
    				ImageDigest:        pulumi.Any(jobRunJobEnvironmentConfigurationOverrideDetailsImageDigest),
    				ImageSignatureId:   pulumi.Any(testImageSignature.Id),
    			},
    			JobLogConfigurationOverrideDetails: &datascience.JobRunJobLogConfigurationOverrideDetailsArgs{
    				EnableAutoLogCreation: pulumi.Any(jobRunJobLogConfigurationOverrideDetailsEnableAutoLogCreation),
    				EnableLogging:         pulumi.Any(jobRunJobLogConfigurationOverrideDetailsEnableLogging),
    				LogGroupId:            pulumi.Any(testLogGroup.Id),
    				LogId:                 pulumi.Any(testLog.Id),
    			},
    			OpcParentRptUrl: pulumi.Any(jobRunOpcParentRptUrl),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testJobRun = new Oci.DataScience.JobRun("test_job_run", new()
        {
            CompartmentId = compartmentId,
            JobId = testJob.Id,
            ProjectId = testProject.Id,
            Asynchronous = asynchronous,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = jobRunDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            JobConfigurationOverrideDetails = new Oci.DataScience.Inputs.JobRunJobConfigurationOverrideDetailsArgs
            {
                JobType = jobRunJobConfigurationOverrideDetailsJobType,
                CommandLineArguments = jobRunJobConfigurationOverrideDetailsCommandLineArguments,
                EnvironmentVariables = jobRunJobConfigurationOverrideDetailsEnvironmentVariables,
                MaximumRuntimeInMinutes = jobRunJobConfigurationOverrideDetailsMaximumRuntimeInMinutes,
            },
            JobEnvironmentConfigurationOverrideDetails = new Oci.DataScience.Inputs.JobRunJobEnvironmentConfigurationOverrideDetailsArgs
            {
                Image = jobRunJobEnvironmentConfigurationOverrideDetailsImage,
                JobEnvironmentType = jobRunJobEnvironmentConfigurationOverrideDetailsJobEnvironmentType,
                Cmds = jobRunJobEnvironmentConfigurationOverrideDetailsCmd,
                Entrypoints = jobRunJobEnvironmentConfigurationOverrideDetailsEntrypoint,
                ImageDigest = jobRunJobEnvironmentConfigurationOverrideDetailsImageDigest,
                ImageSignatureId = testImageSignature.Id,
            },
            JobLogConfigurationOverrideDetails = new Oci.DataScience.Inputs.JobRunJobLogConfigurationOverrideDetailsArgs
            {
                EnableAutoLogCreation = jobRunJobLogConfigurationOverrideDetailsEnableAutoLogCreation,
                EnableLogging = jobRunJobLogConfigurationOverrideDetailsEnableLogging,
                LogGroupId = testLogGroup.Id,
                LogId = testLog.Id,
            },
            OpcParentRptUrl = jobRunOpcParentRptUrl,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataScience.JobRun;
    import com.pulumi.oci.DataScience.JobRunArgs;
    import com.pulumi.oci.DataScience.inputs.JobRunJobConfigurationOverrideDetailsArgs;
    import com.pulumi.oci.DataScience.inputs.JobRunJobEnvironmentConfigurationOverrideDetailsArgs;
    import com.pulumi.oci.DataScience.inputs.JobRunJobLogConfigurationOverrideDetailsArgs;
    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 testJobRun = new JobRun("testJobRun", JobRunArgs.builder()
                .compartmentId(compartmentId)
                .jobId(testJob.id())
                .projectId(testProject.id())
                .asynchronous(asynchronous)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(jobRunDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .jobConfigurationOverrideDetails(JobRunJobConfigurationOverrideDetailsArgs.builder()
                    .jobType(jobRunJobConfigurationOverrideDetailsJobType)
                    .commandLineArguments(jobRunJobConfigurationOverrideDetailsCommandLineArguments)
                    .environmentVariables(jobRunJobConfigurationOverrideDetailsEnvironmentVariables)
                    .maximumRuntimeInMinutes(jobRunJobConfigurationOverrideDetailsMaximumRuntimeInMinutes)
                    .build())
                .jobEnvironmentConfigurationOverrideDetails(JobRunJobEnvironmentConfigurationOverrideDetailsArgs.builder()
                    .image(jobRunJobEnvironmentConfigurationOverrideDetailsImage)
                    .jobEnvironmentType(jobRunJobEnvironmentConfigurationOverrideDetailsJobEnvironmentType)
                    .cmds(jobRunJobEnvironmentConfigurationOverrideDetailsCmd)
                    .entrypoints(jobRunJobEnvironmentConfigurationOverrideDetailsEntrypoint)
                    .imageDigest(jobRunJobEnvironmentConfigurationOverrideDetailsImageDigest)
                    .imageSignatureId(testImageSignature.id())
                    .build())
                .jobLogConfigurationOverrideDetails(JobRunJobLogConfigurationOverrideDetailsArgs.builder()
                    .enableAutoLogCreation(jobRunJobLogConfigurationOverrideDetailsEnableAutoLogCreation)
                    .enableLogging(jobRunJobLogConfigurationOverrideDetailsEnableLogging)
                    .logGroupId(testLogGroup.id())
                    .logId(testLog.id())
                    .build())
                .opcParentRptUrl(jobRunOpcParentRptUrl)
                .build());
    
        }
    }
    
    resources:
      testJobRun:
        type: oci:DataScience:JobRun
        name: test_job_run
        properties:
          compartmentId: ${compartmentId}
          jobId: ${testJob.id}
          projectId: ${testProject.id}
          asynchronous: ${asynchronous}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${jobRunDisplayName}
          freeformTags:
            Department: Finance
          jobConfigurationOverrideDetails:
            jobType: ${jobRunJobConfigurationOverrideDetailsJobType}
            commandLineArguments: ${jobRunJobConfigurationOverrideDetailsCommandLineArguments}
            environmentVariables: ${jobRunJobConfigurationOverrideDetailsEnvironmentVariables}
            maximumRuntimeInMinutes: ${jobRunJobConfigurationOverrideDetailsMaximumRuntimeInMinutes}
          jobEnvironmentConfigurationOverrideDetails:
            image: ${jobRunJobEnvironmentConfigurationOverrideDetailsImage}
            jobEnvironmentType: ${jobRunJobEnvironmentConfigurationOverrideDetailsJobEnvironmentType}
            cmds: ${jobRunJobEnvironmentConfigurationOverrideDetailsCmd}
            entrypoints: ${jobRunJobEnvironmentConfigurationOverrideDetailsEntrypoint}
            imageDigest: ${jobRunJobEnvironmentConfigurationOverrideDetailsImageDigest}
            imageSignatureId: ${testImageSignature.id}
          jobLogConfigurationOverrideDetails:
            enableAutoLogCreation: ${jobRunJobLogConfigurationOverrideDetailsEnableAutoLogCreation}
            enableLogging: ${jobRunJobLogConfigurationOverrideDetailsEnableLogging}
            logGroupId: ${testLogGroup.id}
            logId: ${testLog.id}
          opcParentRptUrl: ${jobRunOpcParentRptUrl}
    

    Create JobRun Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new JobRun(name: string, args: JobRunArgs, opts?: CustomResourceOptions);
    @overload
    def JobRun(resource_name: str,
               args: JobRunArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def JobRun(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               compartment_id: Optional[str] = None,
               job_id: Optional[str] = None,
               project_id: Optional[str] = None,
               asynchronous: Optional[bool] = None,
               defined_tags: Optional[Mapping[str, str]] = None,
               display_name: Optional[str] = None,
               freeform_tags: Optional[Mapping[str, str]] = None,
               job_configuration_override_details: Optional[_datascience.JobRunJobConfigurationOverrideDetailsArgs] = None,
               job_environment_configuration_override_details: Optional[_datascience.JobRunJobEnvironmentConfigurationOverrideDetailsArgs] = None,
               job_log_configuration_override_details: Optional[_datascience.JobRunJobLogConfigurationOverrideDetailsArgs] = None,
               opc_parent_rpt_url: Optional[str] = None)
    func NewJobRun(ctx *Context, name string, args JobRunArgs, opts ...ResourceOption) (*JobRun, error)
    public JobRun(string name, JobRunArgs args, CustomResourceOptions? opts = null)
    public JobRun(String name, JobRunArgs args)
    public JobRun(String name, JobRunArgs args, CustomResourceOptions options)
    
    type: oci:DataScience:JobRun
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args JobRunArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args JobRunArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args JobRunArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args JobRunArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args JobRunArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var jobRunResource = new Oci.DataScience.JobRun("jobRunResource", new()
    {
        CompartmentId = "string",
        JobId = "string",
        ProjectId = "string",
        Asynchronous = false,
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        JobConfigurationOverrideDetails = new Oci.DataScience.Inputs.JobRunJobConfigurationOverrideDetailsArgs
        {
            JobType = "string",
            CommandLineArguments = "string",
            EnvironmentVariables = 
            {
                { "string", "string" },
            },
            MaximumRuntimeInMinutes = "string",
        },
        JobEnvironmentConfigurationOverrideDetails = new Oci.DataScience.Inputs.JobRunJobEnvironmentConfigurationOverrideDetailsArgs
        {
            Image = "string",
            JobEnvironmentType = "string",
            Cmds = new[]
            {
                "string",
            },
            Entrypoints = new[]
            {
                "string",
            },
            ImageDigest = "string",
            ImageSignatureId = "string",
        },
        JobLogConfigurationOverrideDetails = new Oci.DataScience.Inputs.JobRunJobLogConfigurationOverrideDetailsArgs
        {
            EnableAutoLogCreation = false,
            EnableLogging = false,
            LogGroupId = "string",
            LogId = "string",
        },
        OpcParentRptUrl = "string",
    });
    
    example, err := DataScience.NewJobRun(ctx, "jobRunResource", &DataScience.JobRunArgs{
    	CompartmentId: pulumi.String("string"),
    	JobId:         pulumi.String("string"),
    	ProjectId:     pulumi.String("string"),
    	Asynchronous:  pulumi.Bool(false),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	JobConfigurationOverrideDetails: &datascience.JobRunJobConfigurationOverrideDetailsArgs{
    		JobType:              pulumi.String("string"),
    		CommandLineArguments: pulumi.String("string"),
    		EnvironmentVariables: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		MaximumRuntimeInMinutes: pulumi.String("string"),
    	},
    	JobEnvironmentConfigurationOverrideDetails: &datascience.JobRunJobEnvironmentConfigurationOverrideDetailsArgs{
    		Image:              pulumi.String("string"),
    		JobEnvironmentType: pulumi.String("string"),
    		Cmds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Entrypoints: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ImageDigest:      pulumi.String("string"),
    		ImageSignatureId: pulumi.String("string"),
    	},
    	JobLogConfigurationOverrideDetails: &datascience.JobRunJobLogConfigurationOverrideDetailsArgs{
    		EnableAutoLogCreation: pulumi.Bool(false),
    		EnableLogging:         pulumi.Bool(false),
    		LogGroupId:            pulumi.String("string"),
    		LogId:                 pulumi.String("string"),
    	},
    	OpcParentRptUrl: pulumi.String("string"),
    })
    
    var jobRunResource = new JobRun("jobRunResource", JobRunArgs.builder()
        .compartmentId("string")
        .jobId("string")
        .projectId("string")
        .asynchronous(false)
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .jobConfigurationOverrideDetails(JobRunJobConfigurationOverrideDetailsArgs.builder()
            .jobType("string")
            .commandLineArguments("string")
            .environmentVariables(Map.of("string", "string"))
            .maximumRuntimeInMinutes("string")
            .build())
        .jobEnvironmentConfigurationOverrideDetails(JobRunJobEnvironmentConfigurationOverrideDetailsArgs.builder()
            .image("string")
            .jobEnvironmentType("string")
            .cmds("string")
            .entrypoints("string")
            .imageDigest("string")
            .imageSignatureId("string")
            .build())
        .jobLogConfigurationOverrideDetails(JobRunJobLogConfigurationOverrideDetailsArgs.builder()
            .enableAutoLogCreation(false)
            .enableLogging(false)
            .logGroupId("string")
            .logId("string")
            .build())
        .opcParentRptUrl("string")
        .build());
    
    job_run_resource = oci.data_science.JobRun("jobRunResource",
        compartment_id="string",
        job_id="string",
        project_id="string",
        asynchronous=False,
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        job_configuration_override_details={
            "job_type": "string",
            "command_line_arguments": "string",
            "environment_variables": {
                "string": "string",
            },
            "maximum_runtime_in_minutes": "string",
        },
        job_environment_configuration_override_details={
            "image": "string",
            "job_environment_type": "string",
            "cmds": ["string"],
            "entrypoints": ["string"],
            "image_digest": "string",
            "image_signature_id": "string",
        },
        job_log_configuration_override_details={
            "enable_auto_log_creation": False,
            "enable_logging": False,
            "log_group_id": "string",
            "log_id": "string",
        },
        opc_parent_rpt_url="string")
    
    const jobRunResource = new oci.datascience.JobRun("jobRunResource", {
        compartmentId: "string",
        jobId: "string",
        projectId: "string",
        asynchronous: false,
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        jobConfigurationOverrideDetails: {
            jobType: "string",
            commandLineArguments: "string",
            environmentVariables: {
                string: "string",
            },
            maximumRuntimeInMinutes: "string",
        },
        jobEnvironmentConfigurationOverrideDetails: {
            image: "string",
            jobEnvironmentType: "string",
            cmds: ["string"],
            entrypoints: ["string"],
            imageDigest: "string",
            imageSignatureId: "string",
        },
        jobLogConfigurationOverrideDetails: {
            enableAutoLogCreation: false,
            enableLogging: false,
            logGroupId: "string",
            logId: "string",
        },
        opcParentRptUrl: "string",
    });
    
    type: oci:DataScience:JobRun
    properties:
        asynchronous: false
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        jobConfigurationOverrideDetails:
            commandLineArguments: string
            environmentVariables:
                string: string
            jobType: string
            maximumRuntimeInMinutes: string
        jobEnvironmentConfigurationOverrideDetails:
            cmds:
                - string
            entrypoints:
                - string
            image: string
            imageDigest: string
            imageSignatureId: string
            jobEnvironmentType: string
        jobId: string
        jobLogConfigurationOverrideDetails:
            enableAutoLogCreation: false
            enableLogging: false
            logGroupId: string
            logId: string
        opcParentRptUrl: string
        projectId: string
    

    JobRun Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The JobRun resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    JobId string
    The OCID of the job to create a run for.
    ProjectId string

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Asynchronous bool
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    JobConfigurationOverrideDetails JobRunJobConfigurationOverrideDetails
    The job configuration details
    JobEnvironmentConfigurationOverrideDetails JobRunJobEnvironmentConfigurationOverrideDetails
    Environment configuration to capture job runtime dependencies.
    JobLogConfigurationOverrideDetails JobRunJobLogConfigurationOverrideDetails
    Logging configuration for resource.
    OpcParentRptUrl string
    URL to fetch the Resource Principal Token from the parent resource.
    CompartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    JobId string
    The OCID of the job to create a run for.
    ProjectId string

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Asynchronous bool
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    JobConfigurationOverrideDetails JobRunJobConfigurationOverrideDetailsArgs
    The job configuration details
    JobEnvironmentConfigurationOverrideDetails JobRunJobEnvironmentConfigurationOverrideDetailsArgs
    Environment configuration to capture job runtime dependencies.
    JobLogConfigurationOverrideDetails JobRunJobLogConfigurationOverrideDetailsArgs
    Logging configuration for resource.
    OpcParentRptUrl string
    URL to fetch the Resource Principal Token from the parent resource.
    compartmentId String
    (Updatable) The OCID of the compartment where you want to create the job.
    jobId String
    The OCID of the job to create a run for.
    projectId String

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    asynchronous Boolean
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly display name for the resource.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobConfigurationOverrideDetails JobRunJobConfigurationOverrideDetails
    The job configuration details
    jobEnvironmentConfigurationOverrideDetails JobRunJobEnvironmentConfigurationOverrideDetails
    Environment configuration to capture job runtime dependencies.
    jobLogConfigurationOverrideDetails JobRunJobLogConfigurationOverrideDetails
    Logging configuration for resource.
    opcParentRptUrl String
    URL to fetch the Resource Principal Token from the parent resource.
    compartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    jobId string
    The OCID of the job to create a run for.
    projectId string

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    asynchronous boolean
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) A user-friendly display name for the resource.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobConfigurationOverrideDetails JobRunJobConfigurationOverrideDetails
    The job configuration details
    jobEnvironmentConfigurationOverrideDetails JobRunJobEnvironmentConfigurationOverrideDetails
    Environment configuration to capture job runtime dependencies.
    jobLogConfigurationOverrideDetails JobRunJobLogConfigurationOverrideDetails
    Logging configuration for resource.
    opcParentRptUrl string
    URL to fetch the Resource Principal Token from the parent resource.
    compartment_id str
    (Updatable) The OCID of the compartment where you want to create the job.
    job_id str
    The OCID of the job to create a run for.
    project_id str

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    asynchronous bool
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly display name for the resource.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    job_configuration_override_details datascience.JobRunJobConfigurationOverrideDetailsArgs
    The job configuration details
    job_environment_configuration_override_details datascience.JobRunJobEnvironmentConfigurationOverrideDetailsArgs
    Environment configuration to capture job runtime dependencies.
    job_log_configuration_override_details datascience.JobRunJobLogConfigurationOverrideDetailsArgs
    Logging configuration for resource.
    opc_parent_rpt_url str
    URL to fetch the Resource Principal Token from the parent resource.
    compartmentId String
    (Updatable) The OCID of the compartment where you want to create the job.
    jobId String
    The OCID of the job to create a run for.
    projectId String

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    asynchronous Boolean
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly display name for the resource.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobConfigurationOverrideDetails Property Map
    The job configuration details
    jobEnvironmentConfigurationOverrideDetails Property Map
    Environment configuration to capture job runtime dependencies.
    jobLogConfigurationOverrideDetails Property Map
    Logging configuration for resource.
    opcParentRptUrl String
    URL to fetch the Resource Principal Token from the parent resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the JobRun resource produces the following output properties:

    CreatedBy string
    The OCID of the user who created the job run.
    Id string
    The provider-assigned unique ID for this managed resource.
    JobInfrastructureConfigurationDetails List<JobRunJobInfrastructureConfigurationDetail>
    The job infrastructure configuration details (shape, block storage, etc.)
    JobStorageMountConfigurationDetailsLists List<JobRunJobStorageMountConfigurationDetailsList>
    Collection of JobStorageMountConfigurationDetails.
    LifecycleDetails string
    Details of the state of the job run.
    LogDetails List<JobRunLogDetail>
    Customer logging details for job run.
    State string
    The state of the job run.
    TimeAccepted string
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    TimeFinished string
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    TimeStarted string
    The date and time the job run request was started in the timestamp format defined by RFC3339.
    CreatedBy string
    The OCID of the user who created the job run.
    Id string
    The provider-assigned unique ID for this managed resource.
    JobInfrastructureConfigurationDetails []JobRunJobInfrastructureConfigurationDetail
    The job infrastructure configuration details (shape, block storage, etc.)
    JobStorageMountConfigurationDetailsLists []JobRunJobStorageMountConfigurationDetailsList
    Collection of JobStorageMountConfigurationDetails.
    LifecycleDetails string
    Details of the state of the job run.
    LogDetails []JobRunLogDetail
    Customer logging details for job run.
    State string
    The state of the job run.
    TimeAccepted string
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    TimeFinished string
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    TimeStarted string
    The date and time the job run request was started in the timestamp format defined by RFC3339.
    createdBy String
    The OCID of the user who created the job run.
    id String
    The provider-assigned unique ID for this managed resource.
    jobInfrastructureConfigurationDetails List<JobRunJobInfrastructureConfigurationDetail>
    The job infrastructure configuration details (shape, block storage, etc.)
    jobStorageMountConfigurationDetailsLists List<JobRunJobStorageMountConfigurationDetailsList>
    Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails String
    Details of the state of the job run.
    logDetails List<JobRunLogDetail>
    Customer logging details for job run.
    state String
    The state of the job run.
    timeAccepted String
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    timeFinished String
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    timeStarted String
    The date and time the job run request was started in the timestamp format defined by RFC3339.
    createdBy string
    The OCID of the user who created the job run.
    id string
    The provider-assigned unique ID for this managed resource.
    jobInfrastructureConfigurationDetails JobRunJobInfrastructureConfigurationDetail[]
    The job infrastructure configuration details (shape, block storage, etc.)
    jobStorageMountConfigurationDetailsLists JobRunJobStorageMountConfigurationDetailsList[]
    Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails string
    Details of the state of the job run.
    logDetails JobRunLogDetail[]
    Customer logging details for job run.
    state string
    The state of the job run.
    timeAccepted string
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    timeFinished string
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    timeStarted string
    The date and time the job run request was started in the timestamp format defined by RFC3339.
    created_by str
    The OCID of the user who created the job run.
    id str
    The provider-assigned unique ID for this managed resource.
    job_infrastructure_configuration_details Sequence[datascience.JobRunJobInfrastructureConfigurationDetail]
    The job infrastructure configuration details (shape, block storage, etc.)
    job_storage_mount_configuration_details_lists Sequence[datascience.JobRunJobStorageMountConfigurationDetailsList]
    Collection of JobStorageMountConfigurationDetails.
    lifecycle_details str
    Details of the state of the job run.
    log_details Sequence[datascience.JobRunLogDetail]
    Customer logging details for job run.
    state str
    The state of the job run.
    time_accepted str
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    time_finished str
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    time_started str
    The date and time the job run request was started in the timestamp format defined by RFC3339.
    createdBy String
    The OCID of the user who created the job run.
    id String
    The provider-assigned unique ID for this managed resource.
    jobInfrastructureConfigurationDetails List<Property Map>
    The job infrastructure configuration details (shape, block storage, etc.)
    jobStorageMountConfigurationDetailsLists List<Property Map>
    Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails String
    Details of the state of the job run.
    logDetails List<Property Map>
    Customer logging details for job run.
    state String
    The state of the job run.
    timeAccepted String
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    timeFinished String
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    timeStarted String
    The date and time the job run request was started in the timestamp format defined by RFC3339.

    Look up Existing JobRun Resource

    Get an existing JobRun resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: JobRunState, opts?: CustomResourceOptions): JobRun
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            asynchronous: Optional[bool] = None,
            compartment_id: Optional[str] = None,
            created_by: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            job_configuration_override_details: Optional[_datascience.JobRunJobConfigurationOverrideDetailsArgs] = None,
            job_environment_configuration_override_details: Optional[_datascience.JobRunJobEnvironmentConfigurationOverrideDetailsArgs] = None,
            job_id: Optional[str] = None,
            job_infrastructure_configuration_details: Optional[Sequence[_datascience.JobRunJobInfrastructureConfigurationDetailArgs]] = None,
            job_log_configuration_override_details: Optional[_datascience.JobRunJobLogConfigurationOverrideDetailsArgs] = None,
            job_storage_mount_configuration_details_lists: Optional[Sequence[_datascience.JobRunJobStorageMountConfigurationDetailsListArgs]] = None,
            lifecycle_details: Optional[str] = None,
            log_details: Optional[Sequence[_datascience.JobRunLogDetailArgs]] = None,
            opc_parent_rpt_url: Optional[str] = None,
            project_id: Optional[str] = None,
            state: Optional[str] = None,
            time_accepted: Optional[str] = None,
            time_finished: Optional[str] = None,
            time_started: Optional[str] = None) -> JobRun
    func GetJobRun(ctx *Context, name string, id IDInput, state *JobRunState, opts ...ResourceOption) (*JobRun, error)
    public static JobRun Get(string name, Input<string> id, JobRunState? state, CustomResourceOptions? opts = null)
    public static JobRun get(String name, Output<String> id, JobRunState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Asynchronous bool
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    CompartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    CreatedBy string
    The OCID of the user who created the job run.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    JobConfigurationOverrideDetails JobRunJobConfigurationOverrideDetails
    The job configuration details
    JobEnvironmentConfigurationOverrideDetails JobRunJobEnvironmentConfigurationOverrideDetails
    Environment configuration to capture job runtime dependencies.
    JobId string
    The OCID of the job to create a run for.
    JobInfrastructureConfigurationDetails List<JobRunJobInfrastructureConfigurationDetail>
    The job infrastructure configuration details (shape, block storage, etc.)
    JobLogConfigurationOverrideDetails JobRunJobLogConfigurationOverrideDetails
    Logging configuration for resource.
    JobStorageMountConfigurationDetailsLists List<JobRunJobStorageMountConfigurationDetailsList>
    Collection of JobStorageMountConfigurationDetails.
    LifecycleDetails string
    Details of the state of the job run.
    LogDetails List<JobRunLogDetail>
    Customer logging details for job run.
    OpcParentRptUrl string
    URL to fetch the Resource Principal Token from the parent resource.
    ProjectId string

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The state of the job run.
    TimeAccepted string
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    TimeFinished string
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    TimeStarted string
    The date and time the job run request was started in the timestamp format defined by RFC3339.
    Asynchronous bool
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    CompartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    CreatedBy string
    The OCID of the user who created the job run.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    JobConfigurationOverrideDetails JobRunJobConfigurationOverrideDetailsArgs
    The job configuration details
    JobEnvironmentConfigurationOverrideDetails JobRunJobEnvironmentConfigurationOverrideDetailsArgs
    Environment configuration to capture job runtime dependencies.
    JobId string
    The OCID of the job to create a run for.
    JobInfrastructureConfigurationDetails []JobRunJobInfrastructureConfigurationDetailArgs
    The job infrastructure configuration details (shape, block storage, etc.)
    JobLogConfigurationOverrideDetails JobRunJobLogConfigurationOverrideDetailsArgs
    Logging configuration for resource.
    JobStorageMountConfigurationDetailsLists []JobRunJobStorageMountConfigurationDetailsListArgs
    Collection of JobStorageMountConfigurationDetails.
    LifecycleDetails string
    Details of the state of the job run.
    LogDetails []JobRunLogDetailArgs
    Customer logging details for job run.
    OpcParentRptUrl string
    URL to fetch the Resource Principal Token from the parent resource.
    ProjectId string

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The state of the job run.
    TimeAccepted string
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    TimeFinished string
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    TimeStarted string
    The date and time the job run request was started in the timestamp format defined by RFC3339.
    asynchronous Boolean
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    compartmentId String
    (Updatable) The OCID of the compartment where you want to create the job.
    createdBy String
    The OCID of the user who created the job run.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly display name for the resource.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobConfigurationOverrideDetails JobRunJobConfigurationOverrideDetails
    The job configuration details
    jobEnvironmentConfigurationOverrideDetails JobRunJobEnvironmentConfigurationOverrideDetails
    Environment configuration to capture job runtime dependencies.
    jobId String
    The OCID of the job to create a run for.
    jobInfrastructureConfigurationDetails List<JobRunJobInfrastructureConfigurationDetail>
    The job infrastructure configuration details (shape, block storage, etc.)
    jobLogConfigurationOverrideDetails JobRunJobLogConfigurationOverrideDetails
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists List<JobRunJobStorageMountConfigurationDetailsList>
    Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails String
    Details of the state of the job run.
    logDetails List<JobRunLogDetail>
    Customer logging details for job run.
    opcParentRptUrl String
    URL to fetch the Resource Principal Token from the parent resource.
    projectId String

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The state of the job run.
    timeAccepted String
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    timeFinished String
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    timeStarted String
    The date and time the job run request was started in the timestamp format defined by RFC3339.
    asynchronous boolean
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    compartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    createdBy string
    The OCID of the user who created the job run.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) A user-friendly display name for the resource.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobConfigurationOverrideDetails JobRunJobConfigurationOverrideDetails
    The job configuration details
    jobEnvironmentConfigurationOverrideDetails JobRunJobEnvironmentConfigurationOverrideDetails
    Environment configuration to capture job runtime dependencies.
    jobId string
    The OCID of the job to create a run for.
    jobInfrastructureConfigurationDetails JobRunJobInfrastructureConfigurationDetail[]
    The job infrastructure configuration details (shape, block storage, etc.)
    jobLogConfigurationOverrideDetails JobRunJobLogConfigurationOverrideDetails
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists JobRunJobStorageMountConfigurationDetailsList[]
    Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails string
    Details of the state of the job run.
    logDetails JobRunLogDetail[]
    Customer logging details for job run.
    opcParentRptUrl string
    URL to fetch the Resource Principal Token from the parent resource.
    projectId string

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    The state of the job run.
    timeAccepted string
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    timeFinished string
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    timeStarted string
    The date and time the job run request was started in the timestamp format defined by RFC3339.
    asynchronous bool
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    compartment_id str
    (Updatable) The OCID of the compartment where you want to create the job.
    created_by str
    The OCID of the user who created the job run.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly display name for the resource.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    job_configuration_override_details datascience.JobRunJobConfigurationOverrideDetailsArgs
    The job configuration details
    job_environment_configuration_override_details datascience.JobRunJobEnvironmentConfigurationOverrideDetailsArgs
    Environment configuration to capture job runtime dependencies.
    job_id str
    The OCID of the job to create a run for.
    job_infrastructure_configuration_details Sequence[datascience.JobRunJobInfrastructureConfigurationDetailArgs]
    The job infrastructure configuration details (shape, block storage, etc.)
    job_log_configuration_override_details datascience.JobRunJobLogConfigurationOverrideDetailsArgs
    Logging configuration for resource.
    job_storage_mount_configuration_details_lists Sequence[datascience.JobRunJobStorageMountConfigurationDetailsListArgs]
    Collection of JobStorageMountConfigurationDetails.
    lifecycle_details str
    Details of the state of the job run.
    log_details Sequence[datascience.JobRunLogDetailArgs]
    Customer logging details for job run.
    opc_parent_rpt_url str
    URL to fetch the Resource Principal Token from the parent resource.
    project_id str

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state str
    The state of the job run.
    time_accepted str
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    time_finished str
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    time_started str
    The date and time the job run request was started in the timestamp format defined by RFC3339.
    asynchronous Boolean
    If set to true, do not wait for the JobRun to reach completion prior to returning. Can be useful for JobRuns with a long duration.
    compartmentId String
    (Updatable) The OCID of the compartment where you want to create the job.
    createdBy String
    The OCID of the user who created the job run.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly display name for the resource.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobConfigurationOverrideDetails Property Map
    The job configuration details
    jobEnvironmentConfigurationOverrideDetails Property Map
    Environment configuration to capture job runtime dependencies.
    jobId String
    The OCID of the job to create a run for.
    jobInfrastructureConfigurationDetails List<Property Map>
    The job infrastructure configuration details (shape, block storage, etc.)
    jobLogConfigurationOverrideDetails Property Map
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists List<Property Map>
    Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails String
    Details of the state of the job run.
    logDetails List<Property Map>
    Customer logging details for job run.
    opcParentRptUrl String
    URL to fetch the Resource Principal Token from the parent resource.
    projectId String

    The OCID of the project to associate the job with.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The state of the job run.
    timeAccepted String
    The date and time the job run was accepted in the timestamp format defined by RFC3339.
    timeFinished String
    The date and time the job run request was finished in the timestamp format defined by RFC3339.
    timeStarted String
    The date and time the job run request was started in the timestamp format defined by RFC3339.

    Supporting Types

    JobRunJobConfigurationOverrideDetails, JobRunJobConfigurationOverrideDetailsArgs

    JobType string
    The type of job.
    CommandLineArguments string
    The arguments to pass to the job.
    EnvironmentVariables Dictionary<string, string>
    Environment variables to set for the job.
    MaximumRuntimeInMinutes string
    A time bound for the execution of the job. Timer starts when the job becomes active.
    JobType string
    The type of job.
    CommandLineArguments string
    The arguments to pass to the job.
    EnvironmentVariables map[string]string
    Environment variables to set for the job.
    MaximumRuntimeInMinutes string
    A time bound for the execution of the job. Timer starts when the job becomes active.
    jobType String
    The type of job.
    commandLineArguments String
    The arguments to pass to the job.
    environmentVariables Map<String,String>
    Environment variables to set for the job.
    maximumRuntimeInMinutes String
    A time bound for the execution of the job. Timer starts when the job becomes active.
    jobType string
    The type of job.
    commandLineArguments string
    The arguments to pass to the job.
    environmentVariables {[key: string]: string}
    Environment variables to set for the job.
    maximumRuntimeInMinutes string
    A time bound for the execution of the job. Timer starts when the job becomes active.
    job_type str
    The type of job.
    command_line_arguments str
    The arguments to pass to the job.
    environment_variables Mapping[str, str]
    Environment variables to set for the job.
    maximum_runtime_in_minutes str
    A time bound for the execution of the job. Timer starts when the job becomes active.
    jobType String
    The type of job.
    commandLineArguments String
    The arguments to pass to the job.
    environmentVariables Map<String>
    Environment variables to set for the job.
    maximumRuntimeInMinutes String
    A time bound for the execution of the job. Timer starts when the job becomes active.

    JobRunJobEnvironmentConfigurationOverrideDetails, JobRunJobEnvironmentConfigurationOverrideDetailsArgs

    Image string
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    JobEnvironmentType string
    The environment configuration type used for job runtime.
    Cmds List<string>
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    Entrypoints List<string>
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    ImageDigest string
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    ImageSignatureId string
    OCID of the container image signature
    Image string
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    JobEnvironmentType string
    The environment configuration type used for job runtime.
    Cmds []string
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    Entrypoints []string
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    ImageDigest string
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    ImageSignatureId string
    OCID of the container image signature
    image String
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    jobEnvironmentType String
    The environment configuration type used for job runtime.
    cmds List<String>
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    entrypoints List<String>
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    imageDigest String
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    imageSignatureId String
    OCID of the container image signature
    image string
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    jobEnvironmentType string
    The environment configuration type used for job runtime.
    cmds string[]
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    entrypoints string[]
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    imageDigest string
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    imageSignatureId string
    OCID of the container image signature
    image str
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    job_environment_type str
    The environment configuration type used for job runtime.
    cmds Sequence[str]
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    entrypoints Sequence[str]
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    image_digest str
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    image_signature_id str
    OCID of the container image signature
    image String
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    jobEnvironmentType String
    The environment configuration type used for job runtime.
    cmds List<String>
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    entrypoints List<String>
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    imageDigest String
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    imageSignatureId String
    OCID of the container image signature

    JobRunJobInfrastructureConfigurationDetail, JobRunJobInfrastructureConfigurationDetailArgs

    BlockStorageSizeInGbs int
    The size of the block storage volume to attach to the instance running the job
    JobInfrastructureType string
    The infrastructure type used for job run.
    JobShapeConfigDetails List<JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetail>
    Details for the job run shape configuration. Specify only when a flex shape is selected.
    ShapeName string
    The shape used to launch the job run instances.
    SubnetId string
    The subnet to create a secondary vnic in to attach to the instance running the job
    BlockStorageSizeInGbs int
    The size of the block storage volume to attach to the instance running the job
    JobInfrastructureType string
    The infrastructure type used for job run.
    JobShapeConfigDetails []JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetail
    Details for the job run shape configuration. Specify only when a flex shape is selected.
    ShapeName string
    The shape used to launch the job run instances.
    SubnetId string
    The subnet to create a secondary vnic in to attach to the instance running the job
    blockStorageSizeInGbs Integer
    The size of the block storage volume to attach to the instance running the job
    jobInfrastructureType String
    The infrastructure type used for job run.
    jobShapeConfigDetails List<JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetail>
    Details for the job run shape configuration. Specify only when a flex shape is selected.
    shapeName String
    The shape used to launch the job run instances.
    subnetId String
    The subnet to create a secondary vnic in to attach to the instance running the job
    blockStorageSizeInGbs number
    The size of the block storage volume to attach to the instance running the job
    jobInfrastructureType string
    The infrastructure type used for job run.
    jobShapeConfigDetails JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetail[]
    Details for the job run shape configuration. Specify only when a flex shape is selected.
    shapeName string
    The shape used to launch the job run instances.
    subnetId string
    The subnet to create a secondary vnic in to attach to the instance running the job
    block_storage_size_in_gbs int
    The size of the block storage volume to attach to the instance running the job
    job_infrastructure_type str
    The infrastructure type used for job run.
    job_shape_config_details Sequence[datascience.JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetail]
    Details for the job run shape configuration. Specify only when a flex shape is selected.
    shape_name str
    The shape used to launch the job run instances.
    subnet_id str
    The subnet to create a secondary vnic in to attach to the instance running the job
    blockStorageSizeInGbs Number
    The size of the block storage volume to attach to the instance running the job
    jobInfrastructureType String
    The infrastructure type used for job run.
    jobShapeConfigDetails List<Property Map>
    Details for the job run shape configuration. Specify only when a flex shape is selected.
    shapeName String
    The shape used to launch the job run instances.
    subnetId String
    The subnet to create a secondary vnic in to attach to the instance running the job

    JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetail, JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetailArgs

    MemoryInGbs double
    The total amount of memory available to the job run instance, in gigabytes.
    Ocpus double
    The total number of OCPUs available to the job run instance.
    MemoryInGbs float64
    The total amount of memory available to the job run instance, in gigabytes.
    Ocpus float64
    The total number of OCPUs available to the job run instance.
    memoryInGbs Double
    The total amount of memory available to the job run instance, in gigabytes.
    ocpus Double
    The total number of OCPUs available to the job run instance.
    memoryInGbs number
    The total amount of memory available to the job run instance, in gigabytes.
    ocpus number
    The total number of OCPUs available to the job run instance.
    memory_in_gbs float
    The total amount of memory available to the job run instance, in gigabytes.
    ocpus float
    The total number of OCPUs available to the job run instance.
    memoryInGbs Number
    The total amount of memory available to the job run instance, in gigabytes.
    ocpus Number
    The total number of OCPUs available to the job run instance.

    JobRunJobLogConfigurationOverrideDetails, JobRunJobLogConfigurationOverrideDetailsArgs

    EnableAutoLogCreation bool
    If automatic on-behalf-of log object creation is enabled for job runs.
    EnableLogging bool
    If customer logging is enabled for job runs.
    LogGroupId string
    The log group id for where log objects are for job runs.
    LogId string
    The log id the job run will push logs too.
    EnableAutoLogCreation bool
    If automatic on-behalf-of log object creation is enabled for job runs.
    EnableLogging bool
    If customer logging is enabled for job runs.
    LogGroupId string
    The log group id for where log objects are for job runs.
    LogId string
    The log id the job run will push logs too.
    enableAutoLogCreation Boolean
    If automatic on-behalf-of log object creation is enabled for job runs.
    enableLogging Boolean
    If customer logging is enabled for job runs.
    logGroupId String
    The log group id for where log objects are for job runs.
    logId String
    The log id the job run will push logs too.
    enableAutoLogCreation boolean
    If automatic on-behalf-of log object creation is enabled for job runs.
    enableLogging boolean
    If customer logging is enabled for job runs.
    logGroupId string
    The log group id for where log objects are for job runs.
    logId string
    The log id the job run will push logs too.
    enable_auto_log_creation bool
    If automatic on-behalf-of log object creation is enabled for job runs.
    enable_logging bool
    If customer logging is enabled for job runs.
    log_group_id str
    The log group id for where log objects are for job runs.
    log_id str
    The log id the job run will push logs too.
    enableAutoLogCreation Boolean
    If automatic on-behalf-of log object creation is enabled for job runs.
    enableLogging Boolean
    If customer logging is enabled for job runs.
    logGroupId String
    The log group id for where log objects are for job runs.
    logId String
    The log id the job run will push logs too.

    JobRunJobStorageMountConfigurationDetailsList, JobRunJobStorageMountConfigurationDetailsListArgs

    Bucket string
    The object storage bucket
    DestinationDirectoryName string
    The local directory name to be mounted
    DestinationPath string
    The local path of the mounted directory, excluding directory name.
    ExportId string
    OCID of the export
    MountTargetId string
    OCID of the mount target
    Namespace string
    The object storage namespace
    Prefix string
    Prefix in the bucket to mount
    StorageType string
    The type of storage.
    Bucket string
    The object storage bucket
    DestinationDirectoryName string
    The local directory name to be mounted
    DestinationPath string
    The local path of the mounted directory, excluding directory name.
    ExportId string
    OCID of the export
    MountTargetId string
    OCID of the mount target
    Namespace string
    The object storage namespace
    Prefix string
    Prefix in the bucket to mount
    StorageType string
    The type of storage.
    bucket String
    The object storage bucket
    destinationDirectoryName String
    The local directory name to be mounted
    destinationPath String
    The local path of the mounted directory, excluding directory name.
    exportId String
    OCID of the export
    mountTargetId String
    OCID of the mount target
    namespace String
    The object storage namespace
    prefix String
    Prefix in the bucket to mount
    storageType String
    The type of storage.
    bucket string
    The object storage bucket
    destinationDirectoryName string
    The local directory name to be mounted
    destinationPath string
    The local path of the mounted directory, excluding directory name.
    exportId string
    OCID of the export
    mountTargetId string
    OCID of the mount target
    namespace string
    The object storage namespace
    prefix string
    Prefix in the bucket to mount
    storageType string
    The type of storage.
    bucket str
    The object storage bucket
    destination_directory_name str
    The local directory name to be mounted
    destination_path str
    The local path of the mounted directory, excluding directory name.
    export_id str
    OCID of the export
    mount_target_id str
    OCID of the mount target
    namespace str
    The object storage namespace
    prefix str
    Prefix in the bucket to mount
    storage_type str
    The type of storage.
    bucket String
    The object storage bucket
    destinationDirectoryName String
    The local directory name to be mounted
    destinationPath String
    The local path of the mounted directory, excluding directory name.
    exportId String
    OCID of the export
    mountTargetId String
    OCID of the mount target
    namespace String
    The object storage namespace
    prefix String
    Prefix in the bucket to mount
    storageType String
    The type of storage.

    JobRunLogDetail, JobRunLogDetailArgs

    LogGroupId string
    The log group id for where log objects will be for job runs.
    LogId string
    The log id of the log object the job run logs will be shipped to.
    LogGroupId string
    The log group id for where log objects will be for job runs.
    LogId string
    The log id of the log object the job run logs will be shipped to.
    logGroupId String
    The log group id for where log objects will be for job runs.
    logId String
    The log id of the log object the job run logs will be shipped to.
    logGroupId string
    The log group id for where log objects will be for job runs.
    logId string
    The log id of the log object the job run logs will be shipped to.
    log_group_id str
    The log group id for where log objects will be for job runs.
    log_id str
    The log id of the log object the job run logs will be shipped to.
    logGroupId String
    The log group id for where log objects will be for job runs.
    logId String
    The log id of the log object the job run logs will be shipped to.

    Import

    JobRuns can be imported using the id, e.g.

    $ pulumi import oci:DataScience/jobRun:JobRun test_job_run "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi