1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. getJobRuns
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DataScience.getJobRuns

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides the list of Job Runs in Oracle Cloud Infrastructure Data Science service.

    List out job runs.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testJobRuns = oci.DataScience.getJobRuns({
        compartmentId: compartmentId,
        createdBy: jobRunCreatedBy,
        displayName: jobRunDisplayName,
        id: jobRunId,
        jobId: testJob.id,
        state: jobRunState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_job_runs = oci.DataScience.get_job_runs(compartment_id=compartment_id,
        created_by=job_run_created_by,
        display_name=job_run_display_name,
        id=job_run_id,
        job_id=test_job["id"],
        state=job_run_state)
    
    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.GetJobRuns(ctx, &datascience.GetJobRunsArgs{
    			CompartmentId: compartmentId,
    			CreatedBy:     pulumi.StringRef(jobRunCreatedBy),
    			DisplayName:   pulumi.StringRef(jobRunDisplayName),
    			Id:            pulumi.StringRef(jobRunId),
    			JobId:         pulumi.StringRef(testJob.Id),
    			State:         pulumi.StringRef(jobRunState),
    		}, nil)
    		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 testJobRuns = Oci.DataScience.GetJobRuns.Invoke(new()
        {
            CompartmentId = compartmentId,
            CreatedBy = jobRunCreatedBy,
            DisplayName = jobRunDisplayName,
            Id = jobRunId,
            JobId = testJob.Id,
            State = jobRunState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataScience.DataScienceFunctions;
    import com.pulumi.oci.DataScience.inputs.GetJobRunsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testJobRuns = DataScienceFunctions.getJobRuns(GetJobRunsArgs.builder()
                .compartmentId(compartmentId)
                .createdBy(jobRunCreatedBy)
                .displayName(jobRunDisplayName)
                .id(jobRunId)
                .jobId(testJob.id())
                .state(jobRunState)
                .build());
    
        }
    }
    
    variables:
      testJobRuns:
        fn::invoke:
          Function: oci:DataScience:getJobRuns
          Arguments:
            compartmentId: ${compartmentId}
            createdBy: ${jobRunCreatedBy}
            displayName: ${jobRunDisplayName}
            id: ${jobRunId}
            jobId: ${testJob.id}
            state: ${jobRunState}
    

    Using getJobRuns

    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 getJobRuns(args: GetJobRunsArgs, opts?: InvokeOptions): Promise<GetJobRunsResult>
    function getJobRunsOutput(args: GetJobRunsOutputArgs, opts?: InvokeOptions): Output<GetJobRunsResult>
    def get_job_runs(compartment_id: Optional[str] = None,
                     created_by: Optional[str] = None,
                     display_name: Optional[str] = None,
                     filters: Optional[Sequence[_datascience.GetJobRunsFilter]] = None,
                     id: Optional[str] = None,
                     job_id: Optional[str] = None,
                     state: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetJobRunsResult
    def get_job_runs_output(compartment_id: Optional[pulumi.Input[str]] = None,
                     created_by: Optional[pulumi.Input[str]] = None,
                     display_name: Optional[pulumi.Input[str]] = None,
                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datascience.GetJobRunsFilterArgs]]]] = None,
                     id: Optional[pulumi.Input[str]] = None,
                     job_id: Optional[pulumi.Input[str]] = None,
                     state: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetJobRunsResult]
    func GetJobRuns(ctx *Context, args *GetJobRunsArgs, opts ...InvokeOption) (*GetJobRunsResult, error)
    func GetJobRunsOutput(ctx *Context, args *GetJobRunsOutputArgs, opts ...InvokeOption) GetJobRunsResultOutput

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

    public static class GetJobRuns 
    {
        public static Task<GetJobRunsResult> InvokeAsync(GetJobRunsArgs args, InvokeOptions? opts = null)
        public static Output<GetJobRunsResult> Invoke(GetJobRunsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetJobRunsResult> getJobRuns(GetJobRunsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataScience/getJobRuns:getJobRuns
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    Filter results by the OCID of the compartment.
    CreatedBy string
    Filter results by the OCID of the user who created the resource.
    DisplayName string
    Filter results by its user-friendly name.
    Filters List<GetJobRunsFilter>
    Id string
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    JobId string
    The OCID of the job.
    State string
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    CompartmentId string
    Filter results by the OCID of the compartment.
    CreatedBy string
    Filter results by the OCID of the user who created the resource.
    DisplayName string
    Filter results by its user-friendly name.
    Filters []GetJobRunsFilter
    Id string
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    JobId string
    The OCID of the job.
    State string
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    compartmentId String
    Filter results by the OCID of the compartment.
    createdBy String
    Filter results by the OCID of the user who created the resource.
    displayName String
    Filter results by its user-friendly name.
    filters List<GetJobRunsFilter>
    id String
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    jobId String
    The OCID of the job.
    state String
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    compartmentId string
    Filter results by the OCID of the compartment.
    createdBy string
    Filter results by the OCID of the user who created the resource.
    displayName string
    Filter results by its user-friendly name.
    filters GetJobRunsFilter[]
    id string
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    jobId string
    The OCID of the job.
    state string
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    compartment_id str
    Filter results by the OCID of the compartment.
    created_by str
    Filter results by the OCID of the user who created the resource.
    display_name str
    Filter results by its user-friendly name.
    filters Sequence[datascience.GetJobRunsFilter]
    id str
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    job_id str
    The OCID of the job.
    state str
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    compartmentId String
    Filter results by the OCID of the compartment.
    createdBy String
    Filter results by the OCID of the user who created the resource.
    displayName String
    Filter results by its user-friendly name.
    filters List<Property Map>
    id String
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    jobId String
    The OCID of the job.
    state String
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    getJobRuns Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment where you want to create the job.
    JobRuns List<GetJobRunsJobRun>
    The list of job_runs.
    CreatedBy string
    The OCID of the user who created the job run.
    DisplayName string
    A user-friendly display name for the resource.
    Filters List<GetJobRunsFilter>
    Id string
    The OCID of the job run.
    JobId string
    The OCID of the job run.
    State string
    The state of the job run.
    CompartmentId string
    The OCID of the compartment where you want to create the job.
    JobRuns []GetJobRunsJobRun
    The list of job_runs.
    CreatedBy string
    The OCID of the user who created the job run.
    DisplayName string
    A user-friendly display name for the resource.
    Filters []GetJobRunsFilter
    Id string
    The OCID of the job run.
    JobId string
    The OCID of the job run.
    State string
    The state of the job run.
    compartmentId String
    The OCID of the compartment where you want to create the job.
    jobRuns List<GetJobRunsJobRun>
    The list of job_runs.
    createdBy String
    The OCID of the user who created the job run.
    displayName String
    A user-friendly display name for the resource.
    filters List<GetJobRunsFilter>
    id String
    The OCID of the job run.
    jobId String
    The OCID of the job run.
    state String
    The state of the job run.
    compartmentId string
    The OCID of the compartment where you want to create the job.
    jobRuns GetJobRunsJobRun[]
    The list of job_runs.
    createdBy string
    The OCID of the user who created the job run.
    displayName string
    A user-friendly display name for the resource.
    filters GetJobRunsFilter[]
    id string
    The OCID of the job run.
    jobId string
    The OCID of the job run.
    state string
    The state of the job run.
    compartment_id str
    The OCID of the compartment where you want to create the job.
    job_runs Sequence[datascience.GetJobRunsJobRun]
    The list of job_runs.
    created_by str
    The OCID of the user who created the job run.
    display_name str
    A user-friendly display name for the resource.
    filters Sequence[datascience.GetJobRunsFilter]
    id str
    The OCID of the job run.
    job_id str
    The OCID of the job run.
    state str
    The state of the job run.
    compartmentId String
    The OCID of the compartment where you want to create the job.
    jobRuns List<Property Map>
    The list of job_runs.
    createdBy String
    The OCID of the user who created the job run.
    displayName String
    A user-friendly display name for the resource.
    filters List<Property Map>
    id String
    The OCID of the job run.
    jobId String
    The OCID of the job run.
    state String
    The state of the job run.

    Supporting Types

    GetJobRunsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetJobRunsJobRun

    Asynchronous bool
    CompartmentId string
    Filter results by the OCID of the compartment.
    CreatedBy string
    Filter results by the OCID of the user who created the resource.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    Filter results by its user-friendly name.
    FreeformTags Dictionary<string, string>
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    JobConfigurationOverrideDetails List<GetJobRunsJobRunJobConfigurationOverrideDetail>
    The job configuration details
    JobEnvironmentConfigurationOverrideDetails List<GetJobRunsJobRunJobEnvironmentConfigurationOverrideDetail>
    Environment configuration to capture job runtime dependencies.
    JobId string
    The OCID of the job.
    JobInfrastructureConfigurationDetails List<GetJobRunsJobRunJobInfrastructureConfigurationDetail>
    The job infrastructure configuration details (shape, block storage, etc.)
    JobLogConfigurationOverrideDetails List<GetJobRunsJobRunJobLogConfigurationOverrideDetail>
    Logging configuration for resource.
    JobStorageMountConfigurationDetailsLists List<GetJobRunsJobRunJobStorageMountConfigurationDetailsList>
    Collection of JobStorageMountConfigurationDetails.
    LifecycleDetails string
    Details of the state of the job run.
    LogDetails List<GetJobRunsJobRunLogDetail>
    Customer logging details for job run.
    OpcParentRptUrl string
    ProjectId string
    The OCID of the project to associate the job with.
    State string
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    CreatedBy string
    Filter results by the OCID of the user who created the resource.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    Filter results by its user-friendly name.
    FreeformTags map[string]string
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    JobConfigurationOverrideDetails []GetJobRunsJobRunJobConfigurationOverrideDetail
    The job configuration details
    JobEnvironmentConfigurationOverrideDetails []GetJobRunsJobRunJobEnvironmentConfigurationOverrideDetail
    Environment configuration to capture job runtime dependencies.
    JobId string
    The OCID of the job.
    JobInfrastructureConfigurationDetails []GetJobRunsJobRunJobInfrastructureConfigurationDetail
    The job infrastructure configuration details (shape, block storage, etc.)
    JobLogConfigurationOverrideDetails []GetJobRunsJobRunJobLogConfigurationOverrideDetail
    Logging configuration for resource.
    JobStorageMountConfigurationDetailsLists []GetJobRunsJobRunJobStorageMountConfigurationDetailsList
    Collection of JobStorageMountConfigurationDetails.
    LifecycleDetails string
    Details of the state of the job run.
    LogDetails []GetJobRunsJobRunLogDetail
    Customer logging details for job run.
    OpcParentRptUrl string
    ProjectId string
    The OCID of the project to associate the job with.
    State string
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    createdBy String
    Filter results by the OCID of the user who created the resource.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    Filter results by its user-friendly name.
    freeformTags Map<String,String>
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    jobConfigurationOverrideDetails List<GetJobRunsJobRunJobConfigurationOverrideDetail>
    The job configuration details
    jobEnvironmentConfigurationOverrideDetails List<GetJobRunsJobRunJobEnvironmentConfigurationOverrideDetail>
    Environment configuration to capture job runtime dependencies.
    jobId String
    The OCID of the job.
    jobInfrastructureConfigurationDetails List<GetJobRunsJobRunJobInfrastructureConfigurationDetail>
    The job infrastructure configuration details (shape, block storage, etc.)
    jobLogConfigurationOverrideDetails List<GetJobRunsJobRunJobLogConfigurationOverrideDetail>
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists List<GetJobRunsJobRunJobStorageMountConfigurationDetailsList>
    Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails String
    Details of the state of the job run.
    logDetails List<GetJobRunsJobRunLogDetail>
    Customer logging details for job run.
    opcParentRptUrl String
    projectId String
    The OCID of the project to associate the job with.
    state String
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    createdBy string
    Filter results by the OCID of the user who created the resource.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    Filter results by its user-friendly name.
    freeformTags {[key: string]: string}
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    jobConfigurationOverrideDetails GetJobRunsJobRunJobConfigurationOverrideDetail[]
    The job configuration details
    jobEnvironmentConfigurationOverrideDetails GetJobRunsJobRunJobEnvironmentConfigurationOverrideDetail[]
    Environment configuration to capture job runtime dependencies.
    jobId string
    The OCID of the job.
    jobInfrastructureConfigurationDetails GetJobRunsJobRunJobInfrastructureConfigurationDetail[]
    The job infrastructure configuration details (shape, block storage, etc.)
    jobLogConfigurationOverrideDetails GetJobRunsJobRunJobLogConfigurationOverrideDetail[]
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists GetJobRunsJobRunJobStorageMountConfigurationDetailsList[]
    Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails string
    Details of the state of the job run.
    logDetails GetJobRunsJobRunLogDetail[]
    Customer logging details for job run.
    opcParentRptUrl string
    projectId string
    The OCID of the project to associate the job with.
    state string
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    created_by str
    Filter results by the OCID of the user who created the resource.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    Filter results by its user-friendly name.
    freeform_tags Mapping[str, str]
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    job_configuration_override_details Sequence[datascience.GetJobRunsJobRunJobConfigurationOverrideDetail]
    The job configuration details
    job_environment_configuration_override_details Sequence[datascience.GetJobRunsJobRunJobEnvironmentConfigurationOverrideDetail]
    Environment configuration to capture job runtime dependencies.
    job_id str
    The OCID of the job.
    job_infrastructure_configuration_details Sequence[datascience.GetJobRunsJobRunJobInfrastructureConfigurationDetail]
    The job infrastructure configuration details (shape, block storage, etc.)
    job_log_configuration_override_details Sequence[datascience.GetJobRunsJobRunJobLogConfigurationOverrideDetail]
    Logging configuration for resource.
    job_storage_mount_configuration_details_lists Sequence[datascience.GetJobRunsJobRunJobStorageMountConfigurationDetailsList]
    Collection of JobStorageMountConfigurationDetails.
    lifecycle_details str
    Details of the state of the job run.
    log_details Sequence[datascience.GetJobRunsJobRunLogDetail]
    Customer logging details for job run.
    opc_parent_rpt_url str
    project_id str
    The OCID of the project to associate the job with.
    state str
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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
    Filter results by the OCID of the compartment.
    createdBy String
    Filter results by the OCID of the user who created the resource.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    Filter results by its user-friendly name.
    freeformTags Map<String>
    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
    Filter results by OCID. Must be an OCID of the correct type for the resource type.
    jobConfigurationOverrideDetails List<Property Map>
    The job configuration details
    jobEnvironmentConfigurationOverrideDetails List<Property Map>
    Environment configuration to capture job runtime dependencies.
    jobId String
    The OCID of the job.
    jobInfrastructureConfigurationDetails List<Property Map>
    The job infrastructure configuration details (shape, block storage, etc.)
    jobLogConfigurationOverrideDetails List<Property Map>
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists List<Property Map>
    Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails String
    Details of the state of the job run.
    logDetails List<Property Map>
    Customer logging details for job run.
    opcParentRptUrl String
    projectId String
    The OCID of the project to associate the job with.
    state String
    Filter results by the specified lifecycle state. Must be a valid state for the resource type.
    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.

    GetJobRunsJobRunJobConfigurationOverrideDetail

    CommandLineArguments string
    The arguments to pass to the job.
    EnvironmentVariables Dictionary<string, string>
    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]string
    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,String>
    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]: string}
    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, str]
    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<String>
    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.

    GetJobRunsJobRunJobEnvironmentConfigurationOverrideDetail

    Cmds List<string>
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    Entrypoints List<string>
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    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
    ImageDigest string
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    ImageSignatureId string
    OCID of the container image signature
    JobEnvironmentType string
    The environment configuration type used for job runtime.
    Cmds []string
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    Entrypoints []string
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    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
    ImageDigest string
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    ImageSignatureId string
    OCID of the container image signature
    JobEnvironmentType string
    The environment configuration type used for job runtime.
    cmds List<String>
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    entrypoints List<String>
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    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
    imageDigest String
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    imageSignatureId String
    OCID of the container image signature
    jobEnvironmentType String
    The environment configuration type used for job runtime.
    cmds string[]
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    entrypoints string[]
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    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
    imageDigest string
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    imageSignatureId string
    OCID of the container image signature
    jobEnvironmentType string
    The environment configuration type used for job runtime.
    cmds Sequence[str]
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    entrypoints Sequence[str]
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    image 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
    image_digest str
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    image_signature_id str
    OCID of the container image signature
    job_environment_type str
    The environment configuration type used for job runtime.
    cmds List<String>
    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.
    entrypoints List<String>
    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.
    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
    imageDigest String
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    imageSignatureId String
    OCID of the container image signature
    jobEnvironmentType String
    The environment configuration type used for job runtime.

    GetJobRunsJobRunJobInfrastructureConfigurationDetail

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

    GetJobRunsJobRunJobInfrastructureConfigurationDetailJobShapeConfigDetail

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

    GetJobRunsJobRunJobLogConfigurationOverrideDetail

    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.

    GetJobRunsJobRunJobStorageMountConfigurationDetailsList

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

    GetJobRunsJobRunLogDetail

    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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi