Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getJobRun

This data source provides details about a specific Job Run resource in Oracle Cloud Infrastructure Data Science service.

Gets a job run.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testJobRun = Output.Create(Oci.DataScience.GetJobRun.InvokeAsync(new Oci.DataScience.GetJobRunArgs
        {
            JobRunId = oci_datascience_job_run.Test_job_run.Id,
        }));
    }

}
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.GetJobRun(ctx, &datascience.GetJobRunArgs{
			JobRunId: oci_datascience_job_run.Test_job_run.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_job_run = oci.DataScience.get_job_run(job_run_id=oci_datascience_job_run["test_job_run"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testJobRun = oci.DataScience.getJobRun({
    jobRunId: oci_datascience_job_run.test_job_run.id,
});

Coming soon!

Using getJobRun

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

function getJobRun(args: GetJobRunArgs, opts?: InvokeOptions): Promise<GetJobRunResult>
function getJobRunOutput(args: GetJobRunOutputArgs, opts?: InvokeOptions): Output<GetJobRunResult>
def get_job_run(job_run_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetJobRunResult
def get_job_run_output(job_run_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetJobRunResult]
func GetJobRun(ctx *Context, args *GetJobRunArgs, opts ...InvokeOption) (*GetJobRunResult, error)
func GetJobRunOutput(ctx *Context, args *GetJobRunOutputArgs, opts ...InvokeOption) GetJobRunResultOutput

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

public static class GetJobRun 
{
    public static Task<GetJobRunResult> InvokeAsync(GetJobRunArgs args, InvokeOptions? opts = null)
    public static Output<GetJobRunResult> Invoke(GetJobRunInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJobRunResult> getJobRun(GetJobRunArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DataScience/getJobRun:getJobRun
  Arguments:
    # Arguments dictionary

The following arguments are supported:

JobRunId string

The OCID of the job run.

JobRunId string

The OCID of the job run.

jobRunId String

The OCID of the job run.

jobRunId string

The OCID of the job run.

job_run_id str

The OCID of the job run.

jobRunId String

The OCID of the job run.

getJobRun Result

The following output properties are available:

Asynchronous bool
CompartmentId string

The OCID of the compartment where you want to create the job.

CreatedBy string

The OCID of the user who created the job run.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A user-friendly display name for the resource.

FreeformTags Dictionary<string, object>

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"}

Id string

The OCID of the job run.

JobConfigurationOverrideDetails List<GetJobRunJobConfigurationOverrideDetail>

The job configuration details

JobId string

The OCID of the job run.

JobInfrastructureConfigurationDetails List<GetJobRunJobInfrastructureConfigurationDetail>

The job infrastructure configuration details (shape, block storage, etc.)

JobLogConfigurationOverrideDetails List<GetJobRunJobLogConfigurationOverrideDetail>

Logging configuration for resource.

JobRunId string
LifecycleDetails string

Details of the state of the job run.

LogDetails List<GetJobRunLogDetail>

Customer logging details for job run.

ProjectId string

The OCID of the project to associate the job with.

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
CompartmentId string

The OCID of the compartment where you want to create the job.

CreatedBy string

The OCID of the user who created the job run.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A user-friendly display name for the resource.

FreeformTags map[string]interface{}

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"}

Id string

The OCID of the job run.

JobConfigurationOverrideDetails []GetJobRunJobConfigurationOverrideDetail

The job configuration details

JobId string

The OCID of the job run.

JobInfrastructureConfigurationDetails []GetJobRunJobInfrastructureConfigurationDetail

The job infrastructure configuration details (shape, block storage, etc.)

JobLogConfigurationOverrideDetails []GetJobRunJobLogConfigurationOverrideDetail

Logging configuration for resource.

JobRunId string
LifecycleDetails string

Details of the state of the job run.

LogDetails []GetJobRunLogDetail

Customer logging details for job run.

ProjectId string

The OCID of the project to associate the job with.

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
compartmentId String

The OCID of the compartment where you want to create the job.

createdBy String

The OCID of the user who created the job run.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A user-friendly display name for the resource.

freeformTags Map<String,Object>

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"}

id String

The OCID of the job run.

jobConfigurationOverrideDetails List<GetJobRunJobConfigurationOverrideDetail>

The job configuration details

jobId String

The OCID of the job run.

jobInfrastructureConfigurationDetails List<GetJobRunJobInfrastructureConfigurationDetail>

The job infrastructure configuration details (shape, block storage, etc.)

jobLogConfigurationOverrideDetails List<GetJobRunJobLogConfigurationOverrideDetail>

Logging configuration for resource.

jobRunId String
lifecycleDetails String

Details of the state of the job run.

logDetails List<GetJobRunLogDetail>

Customer logging details for job run.

projectId String

The OCID of the project to associate the job with.

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
compartmentId string

The OCID of the compartment where you want to create the job.

createdBy string

The OCID of the user who created the job run.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

A user-friendly display name for the resource.

freeformTags {[key: string]: any}

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"}

id string

The OCID of the job run.

jobConfigurationOverrideDetails GetJobRunJobConfigurationOverrideDetail[]

The job configuration details

jobId string

The OCID of the job run.

jobInfrastructureConfigurationDetails GetJobRunJobInfrastructureConfigurationDetail[]

The job infrastructure configuration details (shape, block storage, etc.)

jobLogConfigurationOverrideDetails GetJobRunJobLogConfigurationOverrideDetail[]

Logging configuration for resource.

jobRunId string
lifecycleDetails string

Details of the state of the job run.

logDetails GetJobRunLogDetail[]

Customer logging details for job run.

projectId string

The OCID of the project to associate the job with.

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
compartment_id str

The OCID of the compartment where you want to create the job.

created_by str

The OCID of the user who created the job run.

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

display_name str

A user-friendly display name for the resource.

freeform_tags Mapping[str, Any]

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"}

id str

The OCID of the job run.

job_configuration_override_details GetJobRunJobConfigurationOverrideDetail]

The job configuration details

job_id str

The OCID of the job run.

job_infrastructure_configuration_details GetJobRunJobInfrastructureConfigurationDetail]

The job infrastructure configuration details (shape, block storage, etc.)

job_log_configuration_override_details GetJobRunJobLogConfigurationOverrideDetail]

Logging configuration for resource.

job_run_id str
lifecycle_details str

Details of the state of the job run.

log_details GetJobRunLogDetail]

Customer logging details for job run.

project_id str

The OCID of the project to associate the job with.

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
compartmentId String

The OCID of the compartment where you want to create the job.

createdBy String

The OCID of the user who created the job run.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A user-friendly display name for the resource.

freeformTags Map<Any>

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"}

id String

The OCID of the job run.

jobConfigurationOverrideDetails List<Property Map>

The job configuration details

jobId String

The OCID of the job run.

jobInfrastructureConfigurationDetails List<Property Map>

The job infrastructure configuration details (shape, block storage, etc.)

jobLogConfigurationOverrideDetails List<Property Map>

Logging configuration for resource.

jobRunId String
lifecycleDetails String

Details of the state of the job run.

logDetails List<Property Map>

Customer logging details for job run.

projectId String

The OCID of the project to associate the job with.

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

GetJobRunJobConfigurationOverrideDetail

CommandLineArguments string

The arguments to pass to the job.

EnvironmentVariables Dictionary<string, object>

Environment variables to set for the job.

JobType string

The type of job.

MaximumRuntimeInMinutes string

A time bound for the execution of the job. Timer starts when the job becomes active.

CommandLineArguments string

The arguments to pass to the job.

EnvironmentVariables map[string]interface{}

Environment variables to set for the job.

JobType string

The type of job.

MaximumRuntimeInMinutes string

A time bound for the execution of the job. Timer starts when the job becomes active.

commandLineArguments String

The arguments to pass to the job.

environmentVariables Map<String,Object>

Environment variables to set for the job.

jobType String

The type of job.

maximumRuntimeInMinutes String

A time bound for the execution of the job. Timer starts when the job becomes active.

commandLineArguments string

The arguments to pass to the job.

environmentVariables {[key: string]: any}

Environment variables to set for the job.

jobType string

The type of job.

maximumRuntimeInMinutes string

A time bound for the execution of the job. Timer starts when the job becomes active.

command_line_arguments str

The arguments to pass to the job.

environment_variables Mapping[str, Any]

Environment variables to set for the job.

job_type str

The type of job.

maximum_runtime_in_minutes str

A time bound for the execution of the job. Timer starts when the job becomes active.

commandLineArguments String

The arguments to pass to the job.

environmentVariables Map<Any>

Environment variables to set for the job.

jobType String

The type of job.

maximumRuntimeInMinutes String

A time bound for the execution of the job. Timer starts when the job becomes active.

GetJobRunJobInfrastructureConfigurationDetail

BlockStorageSizeInGbs int

The size of the block storage volume to attach to the instance running the job

JobInfrastructureType string

The infrastructure type used for job run.

ShapeName string

The shape used to launch the job run instances.

SubnetId string

The subnet to create a secondary vnic in to attach to the instance running the job

BlockStorageSizeInGbs int

The size of the block storage volume to attach to the instance running the job

JobInfrastructureType string

The infrastructure type used for job run.

ShapeName string

The shape used to launch the job run instances.

SubnetId string

The subnet to create a secondary vnic in to attach to the instance running the job

blockStorageSizeInGbs Integer

The size of the block storage volume to attach to the instance running the job

jobInfrastructureType String

The infrastructure type used for job run.

shapeName String

The shape used to launch the job run instances.

subnetId String

The subnet to create a secondary vnic in to attach to the instance running the job

blockStorageSizeInGbs number

The size of the block storage volume to attach to the instance running the job

jobInfrastructureType string

The infrastructure type used for job run.

shapeName string

The shape used to launch the job run instances.

subnetId string

The subnet to create a secondary vnic in to attach to the instance running the job

block_storage_size_in_gbs int

The size of the block storage volume to attach to the instance running the job

job_infrastructure_type str

The infrastructure type used for job run.

shape_name str

The shape used to launch the job run instances.

subnet_id str

The subnet to create a secondary vnic in to attach to the instance running the job

blockStorageSizeInGbs Number

The size of the block storage volume to attach to the instance running the job

jobInfrastructureType String

The infrastructure type used for job run.

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

GetJobRunJobLogConfigurationOverrideDetail

EnableAutoLogCreation bool

If automatic on-behalf-of log object creation is enabled for job runs.

EnableLogging bool

If customer logging is enabled for job runs.

LogGroupId string

The log group id for where log objects will be for job runs.

LogId string

The log id of the log object the job run logs will be shipped to.

EnableAutoLogCreation bool

If automatic on-behalf-of log object creation is enabled for job runs.

EnableLogging bool

If customer logging is enabled for job runs.

LogGroupId string

The log group id for where log objects will be for job runs.

LogId string

The log id of the log object the job run logs will be shipped to.

enableAutoLogCreation Boolean

If automatic on-behalf-of log object creation is enabled for job runs.

enableLogging Boolean

If customer logging is enabled for job runs.

logGroupId String

The log group id for where log objects will be for job runs.

logId String

The log id of the log object the job run logs will be shipped to.

enableAutoLogCreation boolean

If automatic on-behalf-of log object creation is enabled for job runs.

enableLogging boolean

If customer logging is enabled for job runs.

logGroupId string

The log group id for where log objects will be for job runs.

logId string

The log id of the log object the job run logs will be shipped to.

enable_auto_log_creation bool

If automatic on-behalf-of log object creation is enabled for job runs.

enable_logging bool

If customer logging is enabled for job runs.

log_group_id str

The log group id for where log objects will be for job runs.

log_id str

The log id of the log object the job run logs will be shipped to.

enableAutoLogCreation Boolean

If automatic on-behalf-of log object creation is enabled for job runs.

enableLogging Boolean

If customer logging is enabled for job runs.

logGroupId String

The log group id for where log objects will be for job runs.

logId String

The log id of the log object the job run logs will be shipped to.

GetJobRunLogDetail

LogGroupId string

The log group id for where log objects will be for job runs.

LogId string

The log id of the log object the job run logs will be shipped to.

LogGroupId string

The log group id for where log objects will be for job runs.

LogId string

The log id of the log object the job run logs will be shipped to.

logGroupId String

The log group id for where log objects will be for job runs.

logId String

The log id of the log object the job run logs will be shipped to.

logGroupId string

The log group id for where log objects will be for job runs.

logId string

The log id of the log object the job run logs will be shipped to.

log_group_id str

The log group id for where log objects will be for job runs.

log_id str

The log id of the log object the job run logs will be shipped to.

logGroupId String

The log group id for where log objects will be for job runs.

logId String

The log id of the log object the job run logs will be shipped to.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.