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=oci.data_science.JobRunJobConfigurationOverrideDetailsArgs(
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=oci.data_science.JobRunJobEnvironmentConfigurationOverrideDetailsArgs(
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=oci.data_science.JobRunJobLogConfigurationOverrideDetailsArgs(
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/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.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
DisplayName: pulumi.Any(jobRunDisplayName),
FreeformTags: pulumi.Map{
"Department": pulumi.Any("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, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = 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", "any" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
JobConfigurationOverrideDetails = new Oci.DataScience.Inputs.JobRunJobConfigurationOverrideDetailsArgs
{
JobType = "string",
CommandLineArguments = "string",
EnvironmentVariables =
{
{ "string", "any" },
},
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.Map{
"string": pulumi.Any("any"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
JobConfigurationOverrideDetails: &datascience.JobRunJobConfigurationOverrideDetailsArgs{
JobType: pulumi.String("string"),
CommandLineArguments: pulumi.String("string"),
EnvironmentVariables: pulumi.Map{
"string": pulumi.Any("any"),
},
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", "any"))
.displayName("string")
.freeformTags(Map.of("string", "any"))
.jobConfigurationOverrideDetails(JobRunJobConfigurationOverrideDetailsArgs.builder()
.jobType("string")
.commandLineArguments("string")
.environmentVariables(Map.of("string", "any"))
.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": "any",
},
display_name="string",
freeform_tags={
"string": "any",
},
job_configuration_override_details=oci.data_science.JobRunJobConfigurationOverrideDetailsArgs(
job_type="string",
command_line_arguments="string",
environment_variables={
"string": "any",
},
maximum_runtime_in_minutes="string",
),
job_environment_configuration_override_details=oci.data_science.JobRunJobEnvironmentConfigurationOverrideDetailsArgs(
image="string",
job_environment_type="string",
cmds=["string"],
entrypoints=["string"],
image_digest="string",
image_signature_id="string",
),
job_log_configuration_override_details=oci.data_science.JobRunJobLogConfigurationOverrideDetailsArgs(
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: "any",
},
displayName: "string",
freeformTags: {
string: "any",
},
jobConfigurationOverrideDetails: {
jobType: "string",
commandLineArguments: "string",
environmentVariables: {
string: "any",
},
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: any
displayName: string
freeformTags:
string: any
jobConfigurationOverrideDetails:
commandLineArguments: string
environmentVariables:
string: any
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
The JobRun resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment where you want to create the job.
- Job
Id string - The OCID of the job to create a run for.
- Project
Id 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.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly display name for the resource.
- Dictionary<string, object>
- (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 - The job configuration details
- Job
Environment JobConfiguration Override Details Run Job Environment Configuration Override Details - Environment configuration to capture job runtime dependencies.
- Job
Log JobConfiguration Override Details Run Job Log Configuration Override Details - Logging configuration for resource.
- Opc
Parent stringRpt Url - URL to fetch the Resource Principal Token from the parent resource.
- Compartment
Id string - (Updatable) The OCID of the compartment where you want to create the job.
- Job
Id string - The OCID of the job to create a run for.
- Project
Id 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.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly display name for the resource.
- map[string]interface{}
- (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 stringRpt Url - URL to fetch the Resource Principal Token from the parent resource.
- compartment
Id String - (Updatable) The OCID of the compartment where you want to create the job.
- job
Id String - The OCID of the job to create a run for.
- project
Id 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.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly display name for the resource.
- Map<String,Object>
- (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 - The job configuration details
- job
Environment JobConfiguration Override Details Run Job Environment Configuration Override Details - Environment configuration to capture job runtime dependencies.
- job
Log JobConfiguration Override Details Run Job Log Configuration Override Details - Logging configuration for resource.
- opc
Parent StringRpt Url - URL to fetch the Resource Principal Token from the parent resource.
- compartment
Id string - (Updatable) The OCID of the compartment where you want to create the job.
- job
Id string - The OCID of the job to create a run for.
- project
Id 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.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly display name for the resource.
- {[key: string]: any}
- (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 - The job configuration details
- job
Environment JobConfiguration Override Details Run Job Environment Configuration Override Details - Environment configuration to capture job runtime dependencies.
- job
Log JobConfiguration Override Details Run Job Log Configuration Override Details - Logging configuration for resource.
- opc
Parent 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 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, Any]
- (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, Any]
- (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_ datascience.override_ details Job Run Job Configuration Override Details Args - The job configuration details
- job_
environment_ datascience.configuration_ override_ details Job Run Job Environment Configuration Override Details Args - Environment configuration to capture job runtime dependencies.
- job_
log_ datascience.configuration_ override_ details Job 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.
- compartment
Id String - (Updatable) The OCID of the compartment where you want to create the job.
- job
Id String - The OCID of the job to create a run for.
- project
Id 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.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly display name for the resource.
- Map<Any>
- (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 Property MapOverride Details - The job configuration details
- job
Environment Property MapConfiguration Override Details - Environment configuration to capture job runtime dependencies.
- job
Log Property MapConfiguration Override Details - Logging configuration for resource.
- opc
Parent 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:
- Created
By string - The OCID of the user who created the job run.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Infrastructure List<JobConfiguration Details Run Job Infrastructure Configuration Detail> - The job infrastructure configuration details (shape, block storage, etc.)
- Job
Storage List<JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List> - Collection of JobStorageMountConfigurationDetails.
- Lifecycle
Details string - Details of the state of the job run.
- Log
Details List<JobRun Log Detail> - Customer logging details for job run.
- State string
- The state of the job run.
- Time
Accepted string - The date and time the job run was accepted in the timestamp format defined by RFC3339.
- Time
Finished string - The date and time the job run request was finished in the timestamp format defined by RFC3339.
- Time
Started string - The date and time the job run request was started in the timestamp format defined by RFC3339.
- Created
By string - The OCID of the user who created the job run.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Infrastructure []JobConfiguration Details Run Job Infrastructure Configuration Detail - The job infrastructure configuration details (shape, block storage, etc.)
- Job
Storage []JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List - Collection of JobStorageMountConfigurationDetails.
- Lifecycle
Details string - Details of the state of the job run.
- Log
Details []JobRun Log Detail - Customer logging details for job run.
- State string
- The state of the job run.
- Time
Accepted string - The date and time the job run was accepted in the timestamp format defined by RFC3339.
- Time
Finished string - The date and time the job run request was finished in the timestamp format defined by RFC3339.
- Time
Started string - The date and time the job run request was started in the timestamp format defined by RFC3339.
- created
By String - The OCID of the user who created the job run.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Infrastructure List<JobConfiguration Details Run Job Infrastructure Configuration Detail> - The job infrastructure configuration details (shape, block storage, etc.)
- job
Storage List<JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List> - Collection of JobStorageMountConfigurationDetails.
- lifecycle
Details String - Details of the state of the job run.
- log
Details List<JobRun Log Detail> - Customer logging details for job run.
- state String
- The state of the job run.
- time
Accepted String - The date and time the job run was accepted in the timestamp format defined by RFC3339.
- time
Finished String - The date and time the job run request was finished in the timestamp format defined by RFC3339.
- time
Started String - The date and time the job run request was started in the timestamp format defined by RFC3339.
- created
By string - The OCID of the user who created the job run.
- id string
- The provider-assigned unique ID for this managed resource.
- job
Infrastructure JobConfiguration Details Run Job Infrastructure Configuration Detail[] - The job infrastructure configuration details (shape, block storage, etc.)
- job
Storage JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List[] - Collection of JobStorageMountConfigurationDetails.
- lifecycle
Details string - Details of the state of the job run.
- log
Details JobRun Log Detail[] - Customer logging details for job run.
- state string
- The state of the job run.
- time
Accepted string - The date and time the job run was accepted in the timestamp format defined by RFC3339.
- time
Finished string - The date and time the job run request was finished in the timestamp format defined by RFC3339.
- time
Started 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[datascience.configuration_ details Job Run Job Infrastructure Configuration Detail] - The job infrastructure configuration details (shape, block storage, etc.)
- job_
storage_ Sequence[datascience.mount_ configuration_ details_ lists Job Run Job Storage Mount Configuration Details List] - Collection of JobStorageMountConfigurationDetails.
- lifecycle_
details str - Details of the state of the job run.
- log_
details Sequence[datascience.Job Run 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.
- created
By String - The OCID of the user who created the job run.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Infrastructure List<Property Map>Configuration Details - The job infrastructure configuration details (shape, block storage, etc.)
- job
Storage List<Property Map>Mount Configuration Details Lists - Collection of JobStorageMountConfigurationDetails.
- lifecycle
Details String - Details of the state of the job run.
- log
Details List<Property Map> - Customer logging details for job run.
- state String
- The state of the job run.
- time
Accepted String - The date and time the job run was accepted in the timestamp format defined by RFC3339.
- time
Finished String - The date and time the job run request was finished in the timestamp format defined by RFC3339.
- time
Started 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, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = 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.
- 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 string - (Updatable) The OCID of the compartment where you want to create the job.
- Created
By string - The OCID of the user who created the job run.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly display name for the resource.
- Dictionary<string, object>
- (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 - The job configuration details
- Job
Environment JobConfiguration Override Details Run Job Environment Configuration Override Details - Environment configuration to capture job runtime dependencies.
- Job
Id string - The OCID of the job to create a run for.
- Job
Infrastructure List<JobConfiguration Details Run Job Infrastructure Configuration Detail> - The job infrastructure configuration details (shape, block storage, etc.)
- Job
Log JobConfiguration Override Details Run Job Log Configuration Override Details - Logging configuration for resource.
- Job
Storage List<JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List> - Collection of JobStorageMountConfigurationDetails.
- Lifecycle
Details string - Details of the state of the job run.
- Log
Details List<JobRun Log Detail> - Customer logging details for job run.
- Opc
Parent stringRpt Url - URL to fetch the Resource Principal Token from the parent resource.
- Project
Id 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.
- Time
Accepted string - The date and time the job run was accepted in the timestamp format defined by RFC3339.
- Time
Finished string - The date and time the job run request was finished in the timestamp format defined by RFC3339.
- Time
Started 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 string - (Updatable) The OCID of the compartment where you want to create the job.
- Created
By string - The OCID of the user who created the job run.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly display name for the resource.
- map[string]interface{}
- (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 string - The OCID of the job to create a run for.
- Job
Infrastructure []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 []JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List Args - Collection of JobStorageMountConfigurationDetails.
- Lifecycle
Details string - Details of the state of the job run.
- Log
Details []JobRun Log Detail Args - Customer logging details for job run.
- Opc
Parent stringRpt Url - URL to fetch the Resource Principal Token from the parent resource.
- Project
Id 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.
- Time
Accepted string - The date and time the job run was accepted in the timestamp format defined by RFC3339.
- Time
Finished string - The date and time the job run request was finished in the timestamp format defined by RFC3339.
- Time
Started 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.
- compartment
Id String - (Updatable) The OCID of the compartment where you want to create the job.
- created
By String - The OCID of the user who created the job run.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly display name for the resource.
- Map<String,Object>
- (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 - The job configuration details
- job
Environment JobConfiguration Override Details Run Job Environment Configuration Override Details - Environment configuration to capture job runtime dependencies.
- job
Id String - The OCID of the job to create a run for.
- job
Infrastructure List<JobConfiguration Details Run Job Infrastructure Configuration Detail> - The job infrastructure configuration details (shape, block storage, etc.)
- job
Log JobConfiguration Override Details Run Job Log Configuration Override Details - Logging configuration for resource.
- job
Storage List<JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List> - Collection of JobStorageMountConfigurationDetails.
- lifecycle
Details String - Details of the state of the job run.
- log
Details List<JobRun Log Detail> - Customer logging details for job run.
- opc
Parent StringRpt Url - URL to fetch the Resource Principal Token from the parent resource.
- project
Id 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.
- time
Accepted String - The date and time the job run was accepted in the timestamp format defined by RFC3339.
- time
Finished String - The date and time the job run request was finished in the timestamp format defined by RFC3339.
- time
Started 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.
- compartment
Id string - (Updatable) The OCID of the compartment where you want to create the job.
- created
By string - The OCID of the user who created the job run.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly display name for the resource.
- {[key: string]: any}
- (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 - The job configuration details
- job
Environment JobConfiguration Override Details Run Job Environment Configuration Override Details - Environment configuration to capture job runtime dependencies.
- job
Id string - The OCID of the job to create a run for.
- job
Infrastructure JobConfiguration Details Run Job Infrastructure Configuration Detail[] - The job infrastructure configuration details (shape, block storage, etc.)
- job
Log JobConfiguration Override Details Run Job Log Configuration Override Details - Logging configuration for resource.
- job
Storage JobMount Configuration Details Lists Run Job Storage Mount Configuration Details List[] - Collection of JobStorageMountConfigurationDetails.
- lifecycle
Details string - Details of the state of the job run.
- log
Details JobRun Log Detail[] - Customer logging details for job run.
- opc
Parent stringRpt Url - URL to fetch the Resource Principal Token from the parent resource.
- project
Id 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.
- time
Accepted string - The date and time the job run was accepted in the timestamp format defined by RFC3339.
- time
Finished string - The date and time the job run request was finished in the timestamp format defined by RFC3339.
- time
Started 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, Any]
- (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, Any]
- (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_ datascience.override_ details Job Run Job Configuration Override Details Args - The job configuration details
- job_
environment_ datascience.configuration_ override_ details Job 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[datascience.configuration_ details Job Run Job Infrastructure Configuration Detail Args] - The job infrastructure configuration details (shape, block storage, etc.)
- job_
log_ datascience.configuration_ override_ details Job Run Job Log Configuration Override Details Args - Logging configuration for resource.
- job_
storage_ Sequence[datascience.mount_ configuration_ details_ lists Job 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[datascience.Job Run 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 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.
- compartment
Id String - (Updatable) The OCID of the compartment where you want to create the job.
- created
By String - The OCID of the user who created the job run.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly display name for the resource.
- Map<Any>
- (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 Property MapOverride Details - The job configuration details
- job
Environment Property MapConfiguration Override Details - Environment configuration to capture job runtime dependencies.
- job
Id String - The OCID of the job to create a run for.
- job
Infrastructure List<Property Map>Configuration Details - The job infrastructure configuration details (shape, block storage, etc.)
- job
Log Property MapConfiguration Override Details - Logging configuration for resource.
- job
Storage List<Property Map>Mount Configuration Details Lists - Collection of JobStorageMountConfigurationDetails.
- lifecycle
Details String - Details of the state of the job run.
- log
Details List<Property Map> - Customer logging details for job run.
- opc
Parent StringRpt Url - URL to fetch the Resource Principal Token from the parent resource.
- project
Id 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.
- time
Accepted String - The date and time the job run was accepted in the timestamp format defined by RFC3339.
- time
Finished String - The date and time the job run request was finished in the timestamp format defined by RFC3339.
- time
Started String - The date and time the job run request was started in the timestamp format defined by RFC3339.
Supporting Types
JobRunJobConfigurationOverrideDetails, JobRunJobConfigurationOverrideDetailsArgs
- Job
Type string - The type of job.
- Command
Line stringArguments - The arguments to pass to the job.
- Environment
Variables Dictionary<string, object> - Environment variables to set for the job.
- Maximum
Runtime stringIn Minutes - A time bound for the execution of the job. Timer starts when the job becomes active.
- Job
Type string - The type of job.
- Command
Line stringArguments - The arguments to pass to the job.
- Environment
Variables map[string]interface{} - Environment variables to set for the job.
- Maximum
Runtime stringIn Minutes - A time bound for the execution of the job. Timer starts when the job becomes active.
- job
Type String - The type of job.
- command
Line StringArguments - The arguments to pass to the job.
- environment
Variables Map<String,Object> - Environment variables to set for the job.
- maximum
Runtime StringIn Minutes - A time bound for the execution of the job. Timer starts when the job becomes active.
- job
Type string - The type of job.
- command
Line stringArguments - The arguments to pass to the job.
- environment
Variables {[key: string]: any} - Environment variables to set for the job.
- maximum
Runtime 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, Any] - 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.
- job
Type String - The type of job.
- command
Line StringArguments - The arguments to pass to the job.
- environment
Variables Map<Any> - Environment variables to set for the job.
- maximum
Runtime 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
- Job
Environment stringType - 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 theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
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 ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - Image
Digest string - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- Image
Signature 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
- Job
Environment stringType - 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 theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
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 ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - Image
Digest string - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- Image
Signature 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
- job
Environment StringType - 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 theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
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 ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - image
Digest String - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- image
Signature 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
- job
Environment stringType - 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 theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
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 ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - image
Digest string - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- image
Signature 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
CMD
as arguments to theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
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 ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact 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
- job
Environment StringType - 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 theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
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 ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - image
Digest String - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- image
Signature StringId - OCID of the container image signature
JobRunJobInfrastructureConfigurationDetail, JobRunJobInfrastructureConfigurationDetailArgs
- Block
Storage intSize In Gbs - The size of the block storage volume to attach to the instance running the job
- Job
Infrastructure stringType - The infrastructure type used for job run.
- Job
Shape 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.
- Shape
Name string - The shape used to launch the job run instances.
- Subnet
Id 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 stringType - The infrastructure type used for job run.
- Job
Shape []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 string - The shape used to launch the job run instances.
- Subnet
Id string - The subnet to create a secondary vnic in to attach to the instance running the job
- block
Storage IntegerSize In Gbs - The size of the block storage volume to attach to the instance running the job
- job
Infrastructure StringType - The infrastructure type used for job run.
- job
Shape 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.
- shape
Name String - The shape used to launch the job run instances.
- subnet
Id String - The subnet to create a secondary vnic in to attach to the instance running the job
- block
Storage numberSize In Gbs - The size of the block storage volume to attach to the instance running the job
- job
Infrastructure stringType - The infrastructure type used for job run.
- job
Shape 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 string - The shape used to launch the job run instances.
- subnet
Id 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[datascience.config_ details Job 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
- block
Storage NumberSize In Gbs - The size of the block storage volume to attach to the instance running the job
- job
Infrastructure StringType - The infrastructure type used for job run.
- job
Shape List<Property Map>Config Details - Details for the job run shape configuration. Specify only when a flex shape is selected.
- shape
Name String - The shape used to launch the job run instances.
- subnet
Id String - The subnet to create a secondary vnic in to attach to the instance running the job
JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetail, JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetailArgs
- Memory
In 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.
- Memory
In 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.
- memory
In 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.
- memory
In 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.
- memory
In 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
- 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 stringId - The log group id for where log objects are for job runs.
- Log
Id 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 stringId - The log group id for where log objects are for job runs.
- Log
Id string - The log id the job run will push logs too.
- enable
Auto BooleanLog Creation - If automatic on-behalf-of log object creation is enabled for job runs.
- enable
Logging Boolean - If customer logging is enabled for job runs.
- log
Group StringId - The log group id for where log objects are for job runs.
- log
Id String - The log id the job run will push logs too.
- enable
Auto booleanLog Creation - If automatic on-behalf-of log object creation is enabled for job runs.
- enable
Logging boolean - If customer logging is enabled for job runs.
- log
Group stringId - The log group id for where log objects are for job runs.
- log
Id 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.
- enable
Auto BooleanLog Creation - If automatic on-behalf-of log object creation is enabled for job runs.
- enable
Logging Boolean - If customer logging is enabled for job runs.
- log
Group StringId - The log group id for where log objects are for job runs.
- log
Id String - The log id the job run will push logs too.
JobRunJobStorageMountConfigurationDetailsList, JobRunJobStorageMountConfigurationDetailsListArgs
- Bucket string
- The object storage bucket
- Destination
Directory stringName - The local directory name to be mounted
- Destination
Path string - The local path of the mounted directory, excluding directory name.
- Export
Id string - OCID of the export
- Mount
Target stringId - OCID of the mount target
- Namespace string
- The object storage namespace
- Prefix string
- Prefix in the bucket to mount
- Storage
Type string - The type of storage.
- Bucket string
- The object storage bucket
- Destination
Directory stringName - The local directory name to be mounted
- Destination
Path string - The local path of the mounted directory, excluding directory name.
- Export
Id string - OCID of the export
- Mount
Target stringId - OCID of the mount target
- Namespace string
- The object storage namespace
- Prefix string
- Prefix in the bucket to mount
- Storage
Type string - The type of storage.
- bucket String
- The object storage bucket
- destination
Directory StringName - The local directory name to be mounted
- destination
Path String - The local path of the mounted directory, excluding directory name.
- export
Id String - OCID of the export
- mount
Target StringId - OCID of the mount target
- namespace String
- The object storage namespace
- prefix String
- Prefix in the bucket to mount
- storage
Type String - The type of storage.
- bucket string
- The object storage bucket
- destination
Directory stringName - The local directory name to be mounted
- destination
Path string - The local path of the mounted directory, excluding directory name.
- export
Id string - OCID of the export
- mount
Target stringId - OCID of the mount target
- namespace string
- The object storage namespace
- prefix string
- Prefix in the bucket to mount
- storage
Type 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
- destination
Directory StringName - The local directory name to be mounted
- destination
Path String - The local path of the mounted directory, excluding directory name.
- export
Id String - OCID of the export
- mount
Target StringId - OCID of the mount target
- namespace String
- The object storage namespace
- prefix String
- Prefix in the bucket to mount
- storage
Type String - The type of storage.
JobRunLogDetail, JobRunLogDetailArgs
- Log
Group stringId - The log group id for where log objects will be for job runs.
- Log
Id string - The log id of the log object the job run logs will be shipped to.
- Log
Group stringId - The log group id for where log objects will be for job runs.
- Log
Id string - The log id of the log object the job run logs will be shipped to.
- log
Group StringId - The log group id for where log objects will be for job runs.
- log
Id String - The log id of the log object the job run logs will be shipped to.
- log
Group stringId - The log group id for where log objects will be for job runs.
- log
Id 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.
- log
Group StringId - The log group id for where log objects will be for job runs.
- log
Id 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.