1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. getJobs
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.DataScience.getJobs

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

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

List jobs in the specified compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testJobs = oci.DataScience.getJobs({
    compartmentId: compartmentId,
    createdBy: jobCreatedBy,
    displayName: jobDisplayName,
    id: jobId,
    projectId: testProject.id,
    state: jobState,
});
Copy
import pulumi
import pulumi_oci as oci

test_jobs = oci.DataScience.get_jobs(compartment_id=compartment_id,
    created_by=job_created_by,
    display_name=job_display_name,
    id=job_id,
    project_id=test_project["id"],
    state=job_state)
Copy
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.GetJobs(ctx, &datascience.GetJobsArgs{
			CompartmentId: compartmentId,
			CreatedBy:     pulumi.StringRef(jobCreatedBy),
			DisplayName:   pulumi.StringRef(jobDisplayName),
			Id:            pulumi.StringRef(jobId),
			ProjectId:     pulumi.StringRef(testProject.Id),
			State:         pulumi.StringRef(jobState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testJobs = Oci.DataScience.GetJobs.Invoke(new()
    {
        CompartmentId = compartmentId,
        CreatedBy = jobCreatedBy,
        DisplayName = jobDisplayName,
        Id = jobId,
        ProjectId = testProject.Id,
        State = jobState,
    });

});
Copy
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.GetJobsArgs;
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 testJobs = DataScienceFunctions.getJobs(GetJobsArgs.builder()
            .compartmentId(compartmentId)
            .createdBy(jobCreatedBy)
            .displayName(jobDisplayName)
            .id(jobId)
            .projectId(testProject.id())
            .state(jobState)
            .build());

    }
}
Copy
variables:
  testJobs:
    fn::invoke:
      function: oci:DataScience:getJobs
      arguments:
        compartmentId: ${compartmentId}
        createdBy: ${jobCreatedBy}
        displayName: ${jobDisplayName}
        id: ${jobId}
        projectId: ${testProject.id}
        state: ${jobState}
Copy

Using getJobs

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 getJobs(args: GetJobsArgs, opts?: InvokeOptions): Promise<GetJobsResult>
function getJobsOutput(args: GetJobsOutputArgs, opts?: InvokeOptions): Output<GetJobsResult>
Copy
def get_jobs(compartment_id: Optional[str] = None,
             created_by: Optional[str] = None,
             display_name: Optional[str] = None,
             filters: Optional[Sequence[_datascience.GetJobsFilter]] = None,
             id: Optional[str] = None,
             project_id: Optional[str] = None,
             state: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetJobsResult
def get_jobs_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.GetJobsFilterArgs]]]] = None,
             id: Optional[pulumi.Input[str]] = None,
             project_id: Optional[pulumi.Input[str]] = None,
             state: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetJobsResult]
Copy
func GetJobs(ctx *Context, args *GetJobsArgs, opts ...InvokeOption) (*GetJobsResult, error)
func GetJobsOutput(ctx *Context, args *GetJobsOutputArgs, opts ...InvokeOption) GetJobsResultOutput
Copy

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

public static class GetJobs 
{
    public static Task<GetJobsResult> InvokeAsync(GetJobsArgs args, InvokeOptions? opts = null)
    public static Output<GetJobsResult> Invoke(GetJobsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetJobsResult> getJobs(GetJobsArgs args, InvokeOptions options)
public static Output<GetJobsResult> getJobs(GetJobsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DataScience/getJobs:getJobs
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. 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 Changes to this property will trigger replacement. List<GetJobsFilter>
Id string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
ProjectId string
Filter results by the OCID of the project.
State string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
CompartmentId This property is required. 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 Changes to this property will trigger replacement. []GetJobsFilter
Id string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
ProjectId string
Filter results by the OCID of the project.
State string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
compartmentId This property is required. 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 Changes to this property will trigger replacement. List<GetJobsFilter>
id String
Filter results by OCID. Must be an OCID of the correct type for the resource type.
projectId String
Filter results by the OCID of the project.
state String
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
compartmentId This property is required. 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 Changes to this property will trigger replacement. GetJobsFilter[]
id string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
projectId string
Filter results by the OCID of the project.
state string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
compartment_id This property is required. 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 Changes to this property will trigger replacement. Sequence[datascience.GetJobsFilter]
id str
Filter results by OCID. Must be an OCID of the correct type for the resource type.
project_id str
Filter results by the OCID of the project.
state str
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
compartmentId This property is required. 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 Changes to this property will trigger replacement. List<Property Map>
id String
Filter results by OCID. Must be an OCID of the correct type for the resource type.
projectId String
Filter results by the OCID of the project.
state String
Filter results by the specified lifecycle state. Must be a valid state for the resource type.

getJobs Result

The following output properties are available:

CompartmentId string
The OCID of the compartment where you want to create the job.
Jobs List<GetJobsJob>
The list of jobs.
CreatedBy string
The OCID of the user who created the project.
DisplayName string
A user-friendly display name for the resource.
Filters List<GetJobsFilter>
Id string
The OCID of the job.
ProjectId string
The OCID of the project to associate the job with.
State string
The state of the job.
CompartmentId string
The OCID of the compartment where you want to create the job.
Jobs []GetJobsJob
The list of jobs.
CreatedBy string
The OCID of the user who created the project.
DisplayName string
A user-friendly display name for the resource.
Filters []GetJobsFilter
Id string
The OCID of the job.
ProjectId string
The OCID of the project to associate the job with.
State string
The state of the job.
compartmentId String
The OCID of the compartment where you want to create the job.
jobs List<GetJobsJob>
The list of jobs.
createdBy String
The OCID of the user who created the project.
displayName String
A user-friendly display name for the resource.
filters List<GetJobsFilter>
id String
The OCID of the job.
projectId String
The OCID of the project to associate the job with.
state String
The state of the job.
compartmentId string
The OCID of the compartment where you want to create the job.
jobs GetJobsJob[]
The list of jobs.
createdBy string
The OCID of the user who created the project.
displayName string
A user-friendly display name for the resource.
filters GetJobsFilter[]
id string
The OCID of the job.
projectId string
The OCID of the project to associate the job with.
state string
The state of the job.
compartment_id str
The OCID of the compartment where you want to create the job.
jobs Sequence[datascience.GetJobsJob]
The list of jobs.
created_by str
The OCID of the user who created the project.
display_name str
A user-friendly display name for the resource.
filters Sequence[datascience.GetJobsFilter]
id str
The OCID of the job.
project_id str
The OCID of the project to associate the job with.
state str
The state of the job.
compartmentId String
The OCID of the compartment where you want to create the job.
jobs List<Property Map>
The list of jobs.
createdBy String
The OCID of the user who created the project.
displayName String
A user-friendly display name for the resource.
filters List<Property Map>
id String
The OCID of the job.
projectId String
The OCID of the project to associate the job with.
state String
The state of the job.

Supporting Types

GetJobsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetJobsJob

ArtifactContentDisposition This property is required. string
ArtifactContentLength This property is required. string
ArtifactContentMd5 This property is required. string
ArtifactLastModified This property is required. string
CompartmentId This property is required. string
Filter results by the OCID of the compartment.
CreatedBy This property is required. string
Filter results by the OCID of the user who created the resource.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
DeleteRelatedJobRuns This property is required. bool
Description This property is required. string
A short description of the job.
DisplayName This property is required. string
Filter results by its user-friendly name.
EmptyArtifact This property is required. bool
FreeformTags This property is required. 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 This property is required. string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
JobArtifact This property is required. string
JobConfigurationDetails This property is required. List<GetJobsJobJobConfigurationDetail>
The job configuration details
JobEnvironmentConfigurationDetails This property is required. List<GetJobsJobJobEnvironmentConfigurationDetail>
Environment configuration to capture job runtime dependencies.
JobInfrastructureConfigurationDetails This property is required. List<GetJobsJobJobInfrastructureConfigurationDetail>
The job infrastructure configuration details (shape, block storage, etc.)
JobLogConfigurationDetails This property is required. List<GetJobsJobJobLogConfigurationDetail>
Logging configuration for resource.
JobStorageMountConfigurationDetailsLists This property is required. List<GetJobsJobJobStorageMountConfigurationDetailsList>
Collection of JobStorageMountConfigurationDetails.
LifecycleDetails This property is required. string
The state of the job.
ProjectId This property is required. string
Filter results by the OCID of the project.
State This property is required. string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
TimeCreated This property is required. string
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
ArtifactContentDisposition This property is required. string
ArtifactContentLength This property is required. string
ArtifactContentMd5 This property is required. string
ArtifactLastModified This property is required. string
CompartmentId This property is required. string
Filter results by the OCID of the compartment.
CreatedBy This property is required. string
Filter results by the OCID of the user who created the resource.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
DeleteRelatedJobRuns This property is required. bool
Description This property is required. string
A short description of the job.
DisplayName This property is required. string
Filter results by its user-friendly name.
EmptyArtifact This property is required. bool
FreeformTags This property is required. 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 This property is required. string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
JobArtifact This property is required. string
JobConfigurationDetails This property is required. []GetJobsJobJobConfigurationDetail
The job configuration details
JobEnvironmentConfigurationDetails This property is required. []GetJobsJobJobEnvironmentConfigurationDetail
Environment configuration to capture job runtime dependencies.
JobInfrastructureConfigurationDetails This property is required. []GetJobsJobJobInfrastructureConfigurationDetail
The job infrastructure configuration details (shape, block storage, etc.)
JobLogConfigurationDetails This property is required. []GetJobsJobJobLogConfigurationDetail
Logging configuration for resource.
JobStorageMountConfigurationDetailsLists This property is required. []GetJobsJobJobStorageMountConfigurationDetailsList
Collection of JobStorageMountConfigurationDetails.
LifecycleDetails This property is required. string
The state of the job.
ProjectId This property is required. string
Filter results by the OCID of the project.
State This property is required. string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
TimeCreated This property is required. string
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
artifactContentDisposition This property is required. String
artifactContentLength This property is required. String
artifactContentMd5 This property is required. String
artifactLastModified This property is required. String
compartmentId This property is required. String
Filter results by the OCID of the compartment.
createdBy This property is required. String
Filter results by the OCID of the user who created the resource.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
deleteRelatedJobRuns This property is required. Boolean
description This property is required. String
A short description of the job.
displayName This property is required. String
Filter results by its user-friendly name.
emptyArtifact This property is required. Boolean
freeformTags This property is required. 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 This property is required. String
Filter results by OCID. Must be an OCID of the correct type for the resource type.
jobArtifact This property is required. String
jobConfigurationDetails This property is required. List<GetJobsJobJobConfigurationDetail>
The job configuration details
jobEnvironmentConfigurationDetails This property is required. List<GetJobsJobJobEnvironmentConfigurationDetail>
Environment configuration to capture job runtime dependencies.
jobInfrastructureConfigurationDetails This property is required. List<GetJobsJobJobInfrastructureConfigurationDetail>
The job infrastructure configuration details (shape, block storage, etc.)
jobLogConfigurationDetails This property is required. List<GetJobsJobJobLogConfigurationDetail>
Logging configuration for resource.
jobStorageMountConfigurationDetailsLists This property is required. List<GetJobsJobJobStorageMountConfigurationDetailsList>
Collection of JobStorageMountConfigurationDetails.
lifecycleDetails This property is required. String
The state of the job.
projectId This property is required. String
Filter results by the OCID of the project.
state This property is required. String
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
timeCreated This property is required. String
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
artifactContentDisposition This property is required. string
artifactContentLength This property is required. string
artifactContentMd5 This property is required. string
artifactLastModified This property is required. string
compartmentId This property is required. string
Filter results by the OCID of the compartment.
createdBy This property is required. string
Filter results by the OCID of the user who created the resource.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
deleteRelatedJobRuns This property is required. boolean
description This property is required. string
A short description of the job.
displayName This property is required. string
Filter results by its user-friendly name.
emptyArtifact This property is required. boolean
freeformTags This property is required. {[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 This property is required. string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
jobArtifact This property is required. string
jobConfigurationDetails This property is required. GetJobsJobJobConfigurationDetail[]
The job configuration details
jobEnvironmentConfigurationDetails This property is required. GetJobsJobJobEnvironmentConfigurationDetail[]
Environment configuration to capture job runtime dependencies.
jobInfrastructureConfigurationDetails This property is required. GetJobsJobJobInfrastructureConfigurationDetail[]
The job infrastructure configuration details (shape, block storage, etc.)
jobLogConfigurationDetails This property is required. GetJobsJobJobLogConfigurationDetail[]
Logging configuration for resource.
jobStorageMountConfigurationDetailsLists This property is required. GetJobsJobJobStorageMountConfigurationDetailsList[]
Collection of JobStorageMountConfigurationDetails.
lifecycleDetails This property is required. string
The state of the job.
projectId This property is required. string
Filter results by the OCID of the project.
state This property is required. string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
timeCreated This property is required. string
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
artifact_content_disposition This property is required. str
artifact_content_length This property is required. str
artifact_content_md5 This property is required. str
artifact_last_modified This property is required. str
compartment_id This property is required. str
Filter results by the OCID of the compartment.
created_by This property is required. str
Filter results by the OCID of the user who created the resource.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
delete_related_job_runs This property is required. bool
description This property is required. str
A short description of the job.
display_name This property is required. str
Filter results by its user-friendly name.
empty_artifact This property is required. bool
freeform_tags This property is required. 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 This property is required. str
Filter results by OCID. Must be an OCID of the correct type for the resource type.
job_artifact This property is required. str
job_configuration_details This property is required. Sequence[datascience.GetJobsJobJobConfigurationDetail]
The job configuration details
job_environment_configuration_details This property is required. Sequence[datascience.GetJobsJobJobEnvironmentConfigurationDetail]
Environment configuration to capture job runtime dependencies.
job_infrastructure_configuration_details This property is required. Sequence[datascience.GetJobsJobJobInfrastructureConfigurationDetail]
The job infrastructure configuration details (shape, block storage, etc.)
job_log_configuration_details This property is required. Sequence[datascience.GetJobsJobJobLogConfigurationDetail]
Logging configuration for resource.
job_storage_mount_configuration_details_lists This property is required. Sequence[datascience.GetJobsJobJobStorageMountConfigurationDetailsList]
Collection of JobStorageMountConfigurationDetails.
lifecycle_details This property is required. str
The state of the job.
project_id This property is required. str
Filter results by the OCID of the project.
state This property is required. str
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
time_created This property is required. str
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
artifactContentDisposition This property is required. String
artifactContentLength This property is required. String
artifactContentMd5 This property is required. String
artifactLastModified This property is required. String
compartmentId This property is required. String
Filter results by the OCID of the compartment.
createdBy This property is required. String
Filter results by the OCID of the user who created the resource.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
deleteRelatedJobRuns This property is required. Boolean
description This property is required. String
A short description of the job.
displayName This property is required. String
Filter results by its user-friendly name.
emptyArtifact This property is required. Boolean
freeformTags This property is required. 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 This property is required. String
Filter results by OCID. Must be an OCID of the correct type for the resource type.
jobArtifact This property is required. String
jobConfigurationDetails This property is required. List<Property Map>
The job configuration details
jobEnvironmentConfigurationDetails This property is required. List<Property Map>
Environment configuration to capture job runtime dependencies.
jobInfrastructureConfigurationDetails This property is required. List<Property Map>
The job infrastructure configuration details (shape, block storage, etc.)
jobLogConfigurationDetails This property is required. List<Property Map>
Logging configuration for resource.
jobStorageMountConfigurationDetailsLists This property is required. List<Property Map>
Collection of JobStorageMountConfigurationDetails.
lifecycleDetails This property is required. String
The state of the job.
projectId This property is required. String
Filter results by the OCID of the project.
state This property is required. String
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
timeCreated This property is required. String
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z

GetJobsJobJobConfigurationDetail

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

GetJobsJobJobEnvironmentConfigurationDetail

Cmds This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
ImageSignatureId This property is required. string
OCID of the container image signature
JobEnvironmentType This property is required. string
The environment configuration type used for job runtime.
Cmds This property is required. []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 This property is required. []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 This property is required. 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 This property is required. string
The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
ImageSignatureId This property is required. string
OCID of the container image signature
JobEnvironmentType This property is required. string
The environment configuration type used for job runtime.
cmds This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
imageSignatureId This property is required. String
OCID of the container image signature
jobEnvironmentType This property is required. String
The environment configuration type used for job runtime.
cmds This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
imageSignatureId This property is required. string
OCID of the container image signature
jobEnvironmentType This property is required. string
The environment configuration type used for job runtime.
cmds This property is required. 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 This property is required. 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 This property is required. 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 This property is required. str
The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
image_signature_id This property is required. str
OCID of the container image signature
job_environment_type This property is required. str
The environment configuration type used for job runtime.
cmds This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
imageSignatureId This property is required. String
OCID of the container image signature
jobEnvironmentType This property is required. String
The environment configuration type used for job runtime.

GetJobsJobJobInfrastructureConfigurationDetail

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

GetJobsJobJobInfrastructureConfigurationDetailJobShapeConfigDetail

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

GetJobsJobJobLogConfigurationDetail

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

GetJobsJobJobStorageMountConfigurationDetailsList

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

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi