oci.DataScience.JobRun
Explore with Pulumi AI
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[JobRunJobConfigurationOverrideDetailsArgs] = None,
           job_environment_configuration_override_details: Optional[JobRunJobEnvironmentConfigurationOverrideDetailsArgs] = None,
           job_log_configuration_override_details: Optional[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 run 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.
- 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.
- 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"}
- JobConfiguration JobOverride Details Run Job Configuration Override Details 
- The job configuration details
- JobEnvironment JobConfiguration Override Details Run Job Environment Configuration Override Details 
- Environment configuration to capture job runtime dependencies.
- JobLog JobConfiguration Override Details Run Job Log Configuration Override Details 
- Logging configuration for resource.
- OpcParent stringRpt Url 
- 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 run 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.
- 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.
- 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"}
- JobConfiguration JobOverride Details Run Job Configuration Override Details Args 
- The job configuration details
- JobEnvironment JobConfiguration Override Details Run Job Environment Configuration Override Details Args 
- Environment configuration to capture job runtime dependencies.
- JobLog JobConfiguration Override Details Run Job Log Configuration Override Details Args 
- Logging configuration for resource.
- OpcParent stringRpt Url 
- 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 run 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.
- 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.
- 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"}
- jobConfiguration JobOverride Details Run Job Configuration Override Details 
- The job configuration details
- jobEnvironment JobConfiguration Override Details Run Job Environment Configuration Override Details 
- Environment configuration to capture job runtime dependencies.
- jobLog JobConfiguration Override Details Run Job Log Configuration Override Details 
- Logging configuration for resource.
- opcParent StringRpt Url 
- 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 run 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.
- {[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.
- {[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"}
- jobConfiguration JobOverride Details Run Job Configuration Override Details 
- The job configuration details
- jobEnvironment JobConfiguration Override Details Run Job Environment Configuration Override Details 
- Environment configuration to capture job runtime dependencies.
- jobLog JobConfiguration Override Details Run Job Log Configuration Override Details 
- Logging configuration for resource.
- opcParent stringRpt Url 
- 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 run 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.
- 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.
- 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_ Joboverride_ details Run Job Configuration Override Details Args 
- The job configuration details
- job_environment_ Jobconfiguration_ override_ details Run Job Environment Configuration Override Details Args 
- Environment configuration to capture job runtime dependencies.
- job_log_ Jobconfiguration_ override_ details Run Job Log Configuration Override Details Args 
- Logging configuration for resource.
- opc_parent_ strrpt_ url 
- 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 run 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.
- 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.
- 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"}
- jobConfiguration Property MapOverride Details 
- The job configuration details
- jobEnvironment Property MapConfiguration Override Details 
- Environment configuration to capture job runtime dependencies.
- jobLog Property MapConfiguration Override Details 
- Logging configuration for resource.
- opcParent StringRpt Url 
- 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.
- JobInfrastructure List<JobConfiguration Details Run Job Infrastructure Configuration Detail> 
- The job infrastructure configuration details (shape, block storage, etc.)
- JobStorage List<JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List> 
- Collection of JobStorageMountConfigurationDetails.
- LifecycleDetails string
- Details of the state of the job run.
- LogDetails List<JobRun Log Detail> 
- 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.
- JobInfrastructure []JobConfiguration Details Run Job Infrastructure Configuration Detail 
- The job infrastructure configuration details (shape, block storage, etc.)
- JobStorage []JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List 
- Collection of JobStorageMountConfigurationDetails.
- LifecycleDetails string
- Details of the state of the job run.
- LogDetails []JobRun Log Detail 
- 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.
- jobInfrastructure List<JobConfiguration Details Run Job Infrastructure Configuration Detail> 
- The job infrastructure configuration details (shape, block storage, etc.)
- jobStorage List<JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List> 
- Collection of JobStorageMountConfigurationDetails.
- lifecycleDetails String
- Details of the state of the job run.
- logDetails List<JobRun Log Detail> 
- 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.
- jobInfrastructure JobConfiguration Details Run Job Infrastructure Configuration Detail[] 
- The job infrastructure configuration details (shape, block storage, etc.)
- jobStorage JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List[] 
- Collection of JobStorageMountConfigurationDetails.
- lifecycleDetails string
- Details of the state of the job run.
- logDetails JobRun Log Detail[] 
- 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_ Sequence[Jobconfiguration_ details Run Job Infrastructure Configuration Detail] 
- The job infrastructure configuration details (shape, block storage, etc.)
- job_storage_ Sequence[Jobmount_ configuration_ details_ lists Run Job Storage Mount Configuration Details List] 
- Collection of JobStorageMountConfigurationDetails.
- lifecycle_details str
- Details of the state of the job run.
- log_details Sequence[JobRun Log Detail] 
- 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.
- jobInfrastructure List<Property Map>Configuration Details 
- The job infrastructure configuration details (shape, block storage, etc.)
- jobStorage List<Property Map>Mount Configuration Details Lists 
- 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[JobRunJobConfigurationOverrideDetailsArgs] = None,
        job_environment_configuration_override_details: Optional[JobRunJobEnvironmentConfigurationOverrideDetailsArgs] = None,
        job_id: Optional[str] = None,
        job_infrastructure_configuration_details: Optional[Sequence[JobRunJobInfrastructureConfigurationDetailArgs]] = None,
        job_log_configuration_override_details: Optional[JobRunJobLogConfigurationOverrideDetailsArgs] = None,
        job_storage_mount_configuration_details_lists: Optional[Sequence[JobRunJobStorageMountConfigurationDetailsListArgs]] = None,
        lifecycle_details: Optional[str] = None,
        log_details: Optional[Sequence[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) -> JobRunfunc 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)resources:  _:    type: oci:DataScience:JobRun    get:      id: ${id}- 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.
- 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.
- 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.
- 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"}
- JobConfiguration JobOverride Details Run Job Configuration Override Details 
- The job configuration details
- JobEnvironment JobConfiguration Override Details Run Job Environment Configuration Override Details 
- Environment configuration to capture job runtime dependencies.
- JobId string
- The OCID of the job to create a run for.
- JobInfrastructure List<JobConfiguration Details Run Job Infrastructure Configuration Detail> 
- The job infrastructure configuration details (shape, block storage, etc.)
- JobLog JobConfiguration Override Details Run Job Log Configuration Override Details 
- Logging configuration for resource.
- JobStorage List<JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List> 
- Collection of JobStorageMountConfigurationDetails.
- LifecycleDetails string
- Details of the state of the job run.
- LogDetails List<JobRun Log Detail> 
- Customer logging details for job run.
- OpcParent stringRpt Url 
- URL to fetch the Resource Principal Token from the parent resource.
- ProjectId string
- The OCID of the project to associate the job run 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.
- 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.
- 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"}
- JobConfiguration JobOverride Details Run Job Configuration Override Details Args 
- The job configuration details
- JobEnvironment JobConfiguration Override Details Run Job Environment Configuration Override Details Args 
- Environment configuration to capture job runtime dependencies.
- JobId string
- The OCID of the job to create a run for.
- JobInfrastructure []JobConfiguration Details Run Job Infrastructure Configuration Detail Args 
- The job infrastructure configuration details (shape, block storage, etc.)
- JobLog JobConfiguration Override Details Run Job Log Configuration Override Details Args 
- Logging configuration for resource.
- JobStorage []JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List Args 
- Collection of JobStorageMountConfigurationDetails.
- LifecycleDetails string
- Details of the state of the job run.
- LogDetails []JobRun Log Detail Args 
- Customer logging details for job run.
- OpcParent stringRpt Url 
- URL to fetch the Resource Principal Token from the parent resource.
- ProjectId string
- The OCID of the project to associate the job run 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.
- 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.
- 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"}
- jobConfiguration JobOverride Details Run Job Configuration Override Details 
- The job configuration details
- jobEnvironment JobConfiguration Override Details Run Job Environment Configuration Override Details 
- Environment configuration to capture job runtime dependencies.
- jobId String
- The OCID of the job to create a run for.
- jobInfrastructure List<JobConfiguration Details Run Job Infrastructure Configuration Detail> 
- The job infrastructure configuration details (shape, block storage, etc.)
- jobLog JobConfiguration Override Details Run Job Log Configuration Override Details 
- Logging configuration for resource.
- jobStorage List<JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List> 
- Collection of JobStorageMountConfigurationDetails.
- lifecycleDetails String
- Details of the state of the job run.
- logDetails List<JobRun Log Detail> 
- Customer logging details for job run.
- opcParent StringRpt Url 
- URL to fetch the Resource Principal Token from the parent resource.
- projectId String
- The OCID of the project to associate the job run 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.
- {[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.
- {[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"}
- jobConfiguration JobOverride Details Run Job Configuration Override Details 
- The job configuration details
- jobEnvironment JobConfiguration Override Details Run Job Environment Configuration Override Details 
- Environment configuration to capture job runtime dependencies.
- jobId string
- The OCID of the job to create a run for.
- jobInfrastructure JobConfiguration Details Run Job Infrastructure Configuration Detail[] 
- The job infrastructure configuration details (shape, block storage, etc.)
- jobLog JobConfiguration Override Details Run Job Log Configuration Override Details 
- Logging configuration for resource.
- jobStorage JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List[] 
- Collection of JobStorageMountConfigurationDetails.
- lifecycleDetails string
- Details of the state of the job run.
- logDetails JobRun Log Detail[] 
- Customer logging details for job run.
- opcParent stringRpt Url 
- URL to fetch the Resource Principal Token from the parent resource.
- projectId string
- The OCID of the project to associate the job run 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.
- 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.
- 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_ Joboverride_ details Run Job Configuration Override Details Args 
- The job configuration details
- job_environment_ Jobconfiguration_ override_ details Run Job Environment Configuration Override Details Args 
- Environment configuration to capture job runtime dependencies.
- job_id str
- The OCID of the job to create a run for.
- job_infrastructure_ Sequence[Jobconfiguration_ details Run Job Infrastructure Configuration Detail Args] 
- The job infrastructure configuration details (shape, block storage, etc.)
- job_log_ Jobconfiguration_ override_ details Run Job Log Configuration Override Details Args 
- Logging configuration for resource.
- job_storage_ Sequence[Jobmount_ configuration_ details_ lists Run Job Storage Mount Configuration Details List Args] 
- Collection of JobStorageMountConfigurationDetails.
- lifecycle_details str
- Details of the state of the job run.
- log_details Sequence[JobRun Log Detail Args] 
- Customer logging details for job run.
- opc_parent_ strrpt_ url 
- URL to fetch the Resource Principal Token from the parent resource.
- project_id str
- The OCID of the project to associate the job run 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.
- 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.
- 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"}
- jobConfiguration Property MapOverride Details 
- The job configuration details
- jobEnvironment Property MapConfiguration Override Details 
- Environment configuration to capture job runtime dependencies.
- jobId String
- The OCID of the job to create a run for.
- jobInfrastructure List<Property Map>Configuration Details 
- The job infrastructure configuration details (shape, block storage, etc.)
- jobLog Property MapConfiguration Override Details 
- Logging configuration for resource.
- jobStorage List<Property Map>Mount Configuration Details Lists 
- Collection of JobStorageMountConfigurationDetails.
- lifecycleDetails String
- Details of the state of the job run.
- logDetails List<Property Map>
- Customer logging details for job run.
- opcParent StringRpt Url 
- URL to fetch the Resource Principal Token from the parent resource.
- projectId String
- The OCID of the project to associate the job run 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.
- CommandLine stringArguments 
- The arguments to pass to the job.
- EnvironmentVariables Dictionary<string, string>
- Environment variables to set for the job.
- MaximumRuntime stringIn Minutes 
- A time bound for the execution of the job. Timer starts when the job becomes active.
- JobType string
- The type of job.
- CommandLine stringArguments 
- The arguments to pass to the job.
- EnvironmentVariables map[string]string
- Environment variables to set for the job.
- MaximumRuntime stringIn Minutes 
- A time bound for the execution of the job. Timer starts when the job becomes active.
- jobType String
- The type of job.
- commandLine StringArguments 
- The arguments to pass to the job.
- environmentVariables Map<String,String>
- Environment variables to set for the job.
- maximumRuntime StringIn Minutes 
- A time bound for the execution of the job. Timer starts when the job becomes active.
- jobType string
- The type of job.
- commandLine stringArguments 
- The arguments to pass to the job.
- environmentVariables {[key: string]: string}
- Environment variables to set for the job.
- maximumRuntime stringIn Minutes 
- 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_ strarguments 
- The arguments to pass to the job.
- environment_variables Mapping[str, str]
- Environment variables to set for the job.
- maximum_runtime_ strin_ minutes 
- A time bound for the execution of the job. Timer starts when the job becomes active.
- jobType String
- The type of job.
- commandLine StringArguments 
- The arguments to pass to the job.
- environmentVariables Map<String>
- Environment variables to set for the job.
- maximumRuntime StringIn Minutes 
- 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
- JobEnvironment stringType 
- The environment configuration type used for job runtime.
- Cmds List<string>
- The container image run CMD as a list of strings. Use CMDas arguments to theENTRYPOINTor the only command to run in the absence of anENTRYPOINT. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes.
- Entrypoints List<string>
- The container image run ENTRYPOINT as a list of strings. Accept the CMDas extra arguments. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes. More information on howCMDandENTRYPOINTinteract are here.
- ImageDigest string
- The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- ImageSignature stringId 
- 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
- JobEnvironment stringType 
- The environment configuration type used for job runtime.
- Cmds []string
- The container image run CMD as a list of strings. Use CMDas arguments to theENTRYPOINTor the only command to run in the absence of anENTRYPOINT. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes.
- Entrypoints []string
- The container image run ENTRYPOINT as a list of strings. Accept the CMDas extra arguments. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes. More information on howCMDandENTRYPOINTinteract are here.
- ImageDigest string
- The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- ImageSignature stringId 
- 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
- jobEnvironment StringType 
- The environment configuration type used for job runtime.
- cmds List<String>
- The container image run CMD as a list of strings. Use CMDas arguments to theENTRYPOINTor the only command to run in the absence of anENTRYPOINT. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes.
- entrypoints List<String>
- The container image run ENTRYPOINT as a list of strings. Accept the CMDas extra arguments. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes. More information on howCMDandENTRYPOINTinteract are here.
- imageDigest String
- The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- imageSignature StringId 
- 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
- jobEnvironment stringType 
- The environment configuration type used for job runtime.
- cmds string[]
- The container image run CMD as a list of strings. Use CMDas arguments to theENTRYPOINTor the only command to run in the absence of anENTRYPOINT. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes.
- entrypoints string[]
- The container image run ENTRYPOINT as a list of strings. Accept the CMDas extra arguments. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes. More information on howCMDandENTRYPOINTinteract are here.
- imageDigest string
- The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- imageSignature stringId 
- 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_ strtype 
- The environment configuration type used for job runtime.
- cmds Sequence[str]
- The container image run CMD as a list of strings. Use CMDas arguments to theENTRYPOINTor the only command to run in the absence of anENTRYPOINT. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes.
- entrypoints Sequence[str]
- The container image run ENTRYPOINT as a list of strings. Accept the CMDas extra arguments. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes. More information on howCMDandENTRYPOINTinteract are here.
- image_digest str
- The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- image_signature_ strid 
- 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
- jobEnvironment StringType 
- The environment configuration type used for job runtime.
- cmds List<String>
- The container image run CMD as a list of strings. Use CMDas arguments to theENTRYPOINTor the only command to run in the absence of anENTRYPOINT. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes.
- entrypoints List<String>
- The container image run ENTRYPOINT as a list of strings. Accept the CMDas extra arguments. The combined size ofCMDandENTRYPOINTmust be less than 2048 bytes. More information on howCMDandENTRYPOINTinteract are here.
- imageDigest String
- The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- imageSignature StringId 
- OCID of the container image signature
JobRunJobInfrastructureConfigurationDetail, JobRunJobInfrastructureConfigurationDetailArgs            
- BlockStorage intSize In Gbs 
- The size of the block storage volume to attach to the instance running the job
- JobInfrastructure stringType 
- The infrastructure type used for job run.
- JobShape List<JobConfig Details Run Job Infrastructure Configuration Detail Job Shape Config Detail> 
- 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
- BlockStorage intSize In Gbs 
- The size of the block storage volume to attach to the instance running the job
- JobInfrastructure stringType 
- The infrastructure type used for job run.
- JobShape []JobConfig Details Run Job Infrastructure Configuration Detail Job Shape Config Detail 
- 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
- blockStorage IntegerSize In Gbs 
- The size of the block storage volume to attach to the instance running the job
- jobInfrastructure StringType 
- The infrastructure type used for job run.
- jobShape List<JobConfig Details Run Job Infrastructure Configuration Detail Job Shape Config Detail> 
- 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
- blockStorage numberSize In Gbs 
- The size of the block storage volume to attach to the instance running the job
- jobInfrastructure stringType 
- The infrastructure type used for job run.
- jobShape JobConfig Details Run Job Infrastructure Configuration Detail Job Shape Config Detail[] 
- 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_ intsize_ in_ gbs 
- The size of the block storage volume to attach to the instance running the job
- job_infrastructure_ strtype 
- The infrastructure type used for job run.
- job_shape_ Sequence[Jobconfig_ details Run Job Infrastructure Configuration Detail Job Shape Config Detail] 
- 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
- blockStorage NumberSize In Gbs 
- The size of the block storage volume to attach to the instance running the job
- jobInfrastructure StringType 
- The infrastructure type used for job run.
- jobShape List<Property Map>Config Details 
- 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                    
- MemoryIn doubleGbs 
- 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.
- MemoryIn float64Gbs 
- 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.
- memoryIn DoubleGbs 
- 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.
- memoryIn numberGbs 
- 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_ floatgbs 
- 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.
- memoryIn NumberGbs 
- 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              
- EnableAuto boolLog Creation 
- If automatic on-behalf-of log object creation is enabled for job runs.
- EnableLogging bool
- If customer logging is enabled for job runs.
- LogGroup stringId 
- The log group id for where log objects are for job runs.
- LogId string
- The log id the job run will push logs too.
- EnableAuto boolLog Creation 
- If automatic on-behalf-of log object creation is enabled for job runs.
- EnableLogging bool
- If customer logging is enabled for job runs.
- LogGroup stringId 
- The log group id for where log objects are for job runs.
- LogId string
- The log id the job run will push logs too.
- enableAuto BooleanLog Creation 
- If automatic on-behalf-of log object creation is enabled for job runs.
- enableLogging Boolean
- If customer logging is enabled for job runs.
- logGroup StringId 
- The log group id for where log objects are for job runs.
- logId String
- The log id the job run will push logs too.
- enableAuto booleanLog Creation 
- If automatic on-behalf-of log object creation is enabled for job runs.
- enableLogging boolean
- If customer logging is enabled for job runs.
- logGroup stringId 
- 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_ boollog_ creation 
- 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_ strid 
- 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.
- enableAuto BooleanLog Creation 
- If automatic on-behalf-of log object creation is enabled for job runs.
- enableLogging Boolean
- If customer logging is enabled for job runs.
- logGroup StringId 
- 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
- DestinationDirectory stringName 
- 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
- MountTarget stringId 
- 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
- DestinationDirectory stringName 
- 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
- MountTarget stringId 
- 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
- destinationDirectory StringName 
- 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
- mountTarget StringId 
- 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
- destinationDirectory stringName 
- 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
- mountTarget stringId 
- 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_ strname 
- 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_ strid 
- 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
- destinationDirectory StringName 
- 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
- mountTarget StringId 
- 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        
- LogGroup stringId 
- 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.
- LogGroup stringId 
- 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.
- logGroup StringId 
- 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.
- logGroup stringId 
- 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_ strid 
- 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.
- logGroup StringId 
- 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 ociTerraform Provider.