1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. Job
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.DataScience.Job

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the Job resource in Oracle Cloud Infrastructure Data Science service.

    Creates a job.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testJob = new oci.datascience.Job("test_job", {
        compartmentId: compartmentId,
        jobConfigurationDetails: {
            jobType: jobJobConfigurationDetailsJobType,
            commandLineArguments: jobJobConfigurationDetailsCommandLineArguments,
            environmentVariables: jobJobConfigurationDetailsEnvironmentVariables,
            maximumRuntimeInMinutes: jobJobConfigurationDetailsMaximumRuntimeInMinutes,
        },
        jobInfrastructureConfigurationDetails: {
            blockStorageSizeInGbs: jobJobInfrastructureConfigurationDetailsBlockStorageSizeInGbs,
            jobInfrastructureType: jobJobInfrastructureConfigurationDetailsJobInfrastructureType,
            shapeName: testShape.name,
            jobShapeConfigDetails: {
                memoryInGbs: jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsMemoryInGbs,
                ocpus: jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsOcpus,
            },
            subnetId: testSubnet.id,
        },
        projectId: testProject.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: jobDescription,
        displayName: jobDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        jobEnvironmentConfigurationDetails: {
            image: jobJobEnvironmentConfigurationDetailsImage,
            jobEnvironmentType: jobJobEnvironmentConfigurationDetailsJobEnvironmentType,
            cmds: jobJobEnvironmentConfigurationDetailsCmd,
            entrypoints: jobJobEnvironmentConfigurationDetailsEntrypoint,
            imageDigest: jobJobEnvironmentConfigurationDetailsImageDigest,
            imageSignatureId: testImageSignature.id,
        },
        jobLogConfigurationDetails: {
            enableAutoLogCreation: jobJobLogConfigurationDetailsEnableAutoLogCreation,
            enableLogging: jobJobLogConfigurationDetailsEnableLogging,
            logGroupId: testLogGroup.id,
            logId: testLog.id,
        },
        jobStorageMountConfigurationDetailsLists: [{
            destinationDirectoryName: jobJobStorageMountConfigurationDetailsListDestinationDirectoryName,
            storageType: jobJobStorageMountConfigurationDetailsListStorageType,
            bucket: jobJobStorageMountConfigurationDetailsListBucket,
            destinationPath: jobJobStorageMountConfigurationDetailsListDestinationPath,
            exportId: testExport.id,
            mountTargetId: testMountTarget.id,
            namespace: jobJobStorageMountConfigurationDetailsListNamespace,
            prefix: jobJobStorageMountConfigurationDetailsListPrefix,
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_job = oci.data_science.Job("test_job",
        compartment_id=compartment_id,
        job_configuration_details=oci.data_science.JobJobConfigurationDetailsArgs(
            job_type=job_job_configuration_details_job_type,
            command_line_arguments=job_job_configuration_details_command_line_arguments,
            environment_variables=job_job_configuration_details_environment_variables,
            maximum_runtime_in_minutes=job_job_configuration_details_maximum_runtime_in_minutes,
        ),
        job_infrastructure_configuration_details=oci.data_science.JobJobInfrastructureConfigurationDetailsArgs(
            block_storage_size_in_gbs=job_job_infrastructure_configuration_details_block_storage_size_in_gbs,
            job_infrastructure_type=job_job_infrastructure_configuration_details_job_infrastructure_type,
            shape_name=test_shape["name"],
            job_shape_config_details=oci.data_science.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs(
                memory_in_gbs=job_job_infrastructure_configuration_details_job_shape_config_details_memory_in_gbs,
                ocpus=job_job_infrastructure_configuration_details_job_shape_config_details_ocpus,
            ),
            subnet_id=test_subnet["id"],
        ),
        project_id=test_project["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=job_description,
        display_name=job_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        job_environment_configuration_details=oci.data_science.JobJobEnvironmentConfigurationDetailsArgs(
            image=job_job_environment_configuration_details_image,
            job_environment_type=job_job_environment_configuration_details_job_environment_type,
            cmds=job_job_environment_configuration_details_cmd,
            entrypoints=job_job_environment_configuration_details_entrypoint,
            image_digest=job_job_environment_configuration_details_image_digest,
            image_signature_id=test_image_signature["id"],
        ),
        job_log_configuration_details=oci.data_science.JobJobLogConfigurationDetailsArgs(
            enable_auto_log_creation=job_job_log_configuration_details_enable_auto_log_creation,
            enable_logging=job_job_log_configuration_details_enable_logging,
            log_group_id=test_log_group["id"],
            log_id=test_log["id"],
        ),
        job_storage_mount_configuration_details_lists=[oci.data_science.JobJobStorageMountConfigurationDetailsListArgs(
            destination_directory_name=job_job_storage_mount_configuration_details_list_destination_directory_name,
            storage_type=job_job_storage_mount_configuration_details_list_storage_type,
            bucket=job_job_storage_mount_configuration_details_list_bucket,
            destination_path=job_job_storage_mount_configuration_details_list_destination_path,
            export_id=test_export["id"],
            mount_target_id=test_mount_target["id"],
            namespace=job_job_storage_mount_configuration_details_list_namespace,
            prefix=job_job_storage_mount_configuration_details_list_prefix,
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataScience.NewJob(ctx, "test_job", &DataScience.JobArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			JobConfigurationDetails: &datascience.JobJobConfigurationDetailsArgs{
    				JobType:                 pulumi.Any(jobJobConfigurationDetailsJobType),
    				CommandLineArguments:    pulumi.Any(jobJobConfigurationDetailsCommandLineArguments),
    				EnvironmentVariables:    pulumi.Any(jobJobConfigurationDetailsEnvironmentVariables),
    				MaximumRuntimeInMinutes: pulumi.Any(jobJobConfigurationDetailsMaximumRuntimeInMinutes),
    			},
    			JobInfrastructureConfigurationDetails: &datascience.JobJobInfrastructureConfigurationDetailsArgs{
    				BlockStorageSizeInGbs: pulumi.Any(jobJobInfrastructureConfigurationDetailsBlockStorageSizeInGbs),
    				JobInfrastructureType: pulumi.Any(jobJobInfrastructureConfigurationDetailsJobInfrastructureType),
    				ShapeName:             pulumi.Any(testShape.Name),
    				JobShapeConfigDetails: &datascience.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs{
    					MemoryInGbs: pulumi.Any(jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsMemoryInGbs),
    					Ocpus:       pulumi.Any(jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsOcpus),
    				},
    				SubnetId: pulumi.Any(testSubnet.Id),
    			},
    			ProjectId: pulumi.Any(testProject.Id),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			Description: pulumi.Any(jobDescription),
    			DisplayName: pulumi.Any(jobDisplayName),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			JobEnvironmentConfigurationDetails: &datascience.JobJobEnvironmentConfigurationDetailsArgs{
    				Image:              pulumi.Any(jobJobEnvironmentConfigurationDetailsImage),
    				JobEnvironmentType: pulumi.Any(jobJobEnvironmentConfigurationDetailsJobEnvironmentType),
    				Cmds:               pulumi.Any(jobJobEnvironmentConfigurationDetailsCmd),
    				Entrypoints:        pulumi.Any(jobJobEnvironmentConfigurationDetailsEntrypoint),
    				ImageDigest:        pulumi.Any(jobJobEnvironmentConfigurationDetailsImageDigest),
    				ImageSignatureId:   pulumi.Any(testImageSignature.Id),
    			},
    			JobLogConfigurationDetails: &datascience.JobJobLogConfigurationDetailsArgs{
    				EnableAutoLogCreation: pulumi.Any(jobJobLogConfigurationDetailsEnableAutoLogCreation),
    				EnableLogging:         pulumi.Any(jobJobLogConfigurationDetailsEnableLogging),
    				LogGroupId:            pulumi.Any(testLogGroup.Id),
    				LogId:                 pulumi.Any(testLog.Id),
    			},
    			JobStorageMountConfigurationDetailsLists: datascience.JobJobStorageMountConfigurationDetailsListArray{
    				&datascience.JobJobStorageMountConfigurationDetailsListArgs{
    					DestinationDirectoryName: pulumi.Any(jobJobStorageMountConfigurationDetailsListDestinationDirectoryName),
    					StorageType:              pulumi.Any(jobJobStorageMountConfigurationDetailsListStorageType),
    					Bucket:                   pulumi.Any(jobJobStorageMountConfigurationDetailsListBucket),
    					DestinationPath:          pulumi.Any(jobJobStorageMountConfigurationDetailsListDestinationPath),
    					ExportId:                 pulumi.Any(testExport.Id),
    					MountTargetId:            pulumi.Any(testMountTarget.Id),
    					Namespace:                pulumi.Any(jobJobStorageMountConfigurationDetailsListNamespace),
    					Prefix:                   pulumi.Any(jobJobStorageMountConfigurationDetailsListPrefix),
    				},
    			},
    		})
    		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 testJob = new Oci.DataScience.Job("test_job", new()
        {
            CompartmentId = compartmentId,
            JobConfigurationDetails = new Oci.DataScience.Inputs.JobJobConfigurationDetailsArgs
            {
                JobType = jobJobConfigurationDetailsJobType,
                CommandLineArguments = jobJobConfigurationDetailsCommandLineArguments,
                EnvironmentVariables = jobJobConfigurationDetailsEnvironmentVariables,
                MaximumRuntimeInMinutes = jobJobConfigurationDetailsMaximumRuntimeInMinutes,
            },
            JobInfrastructureConfigurationDetails = new Oci.DataScience.Inputs.JobJobInfrastructureConfigurationDetailsArgs
            {
                BlockStorageSizeInGbs = jobJobInfrastructureConfigurationDetailsBlockStorageSizeInGbs,
                JobInfrastructureType = jobJobInfrastructureConfigurationDetailsJobInfrastructureType,
                ShapeName = testShape.Name,
                JobShapeConfigDetails = new Oci.DataScience.Inputs.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs
                {
                    MemoryInGbs = jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsMemoryInGbs,
                    Ocpus = jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsOcpus,
                },
                SubnetId = testSubnet.Id,
            },
            ProjectId = testProject.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = jobDescription,
            DisplayName = jobDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            JobEnvironmentConfigurationDetails = new Oci.DataScience.Inputs.JobJobEnvironmentConfigurationDetailsArgs
            {
                Image = jobJobEnvironmentConfigurationDetailsImage,
                JobEnvironmentType = jobJobEnvironmentConfigurationDetailsJobEnvironmentType,
                Cmds = jobJobEnvironmentConfigurationDetailsCmd,
                Entrypoints = jobJobEnvironmentConfigurationDetailsEntrypoint,
                ImageDigest = jobJobEnvironmentConfigurationDetailsImageDigest,
                ImageSignatureId = testImageSignature.Id,
            },
            JobLogConfigurationDetails = new Oci.DataScience.Inputs.JobJobLogConfigurationDetailsArgs
            {
                EnableAutoLogCreation = jobJobLogConfigurationDetailsEnableAutoLogCreation,
                EnableLogging = jobJobLogConfigurationDetailsEnableLogging,
                LogGroupId = testLogGroup.Id,
                LogId = testLog.Id,
            },
            JobStorageMountConfigurationDetailsLists = new[]
            {
                new Oci.DataScience.Inputs.JobJobStorageMountConfigurationDetailsListArgs
                {
                    DestinationDirectoryName = jobJobStorageMountConfigurationDetailsListDestinationDirectoryName,
                    StorageType = jobJobStorageMountConfigurationDetailsListStorageType,
                    Bucket = jobJobStorageMountConfigurationDetailsListBucket,
                    DestinationPath = jobJobStorageMountConfigurationDetailsListDestinationPath,
                    ExportId = testExport.Id,
                    MountTargetId = testMountTarget.Id,
                    Namespace = jobJobStorageMountConfigurationDetailsListNamespace,
                    Prefix = jobJobStorageMountConfigurationDetailsListPrefix,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataScience.Job;
    import com.pulumi.oci.DataScience.JobArgs;
    import com.pulumi.oci.DataScience.inputs.JobJobConfigurationDetailsArgs;
    import com.pulumi.oci.DataScience.inputs.JobJobInfrastructureConfigurationDetailsArgs;
    import com.pulumi.oci.DataScience.inputs.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs;
    import com.pulumi.oci.DataScience.inputs.JobJobEnvironmentConfigurationDetailsArgs;
    import com.pulumi.oci.DataScience.inputs.JobJobLogConfigurationDetailsArgs;
    import com.pulumi.oci.DataScience.inputs.JobJobStorageMountConfigurationDetailsListArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testJob = new Job("testJob", JobArgs.builder()
                .compartmentId(compartmentId)
                .jobConfigurationDetails(JobJobConfigurationDetailsArgs.builder()
                    .jobType(jobJobConfigurationDetailsJobType)
                    .commandLineArguments(jobJobConfigurationDetailsCommandLineArguments)
                    .environmentVariables(jobJobConfigurationDetailsEnvironmentVariables)
                    .maximumRuntimeInMinutes(jobJobConfigurationDetailsMaximumRuntimeInMinutes)
                    .build())
                .jobInfrastructureConfigurationDetails(JobJobInfrastructureConfigurationDetailsArgs.builder()
                    .blockStorageSizeInGbs(jobJobInfrastructureConfigurationDetailsBlockStorageSizeInGbs)
                    .jobInfrastructureType(jobJobInfrastructureConfigurationDetailsJobInfrastructureType)
                    .shapeName(testShape.name())
                    .jobShapeConfigDetails(JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs.builder()
                        .memoryInGbs(jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsMemoryInGbs)
                        .ocpus(jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsOcpus)
                        .build())
                    .subnetId(testSubnet.id())
                    .build())
                .projectId(testProject.id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(jobDescription)
                .displayName(jobDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .jobEnvironmentConfigurationDetails(JobJobEnvironmentConfigurationDetailsArgs.builder()
                    .image(jobJobEnvironmentConfigurationDetailsImage)
                    .jobEnvironmentType(jobJobEnvironmentConfigurationDetailsJobEnvironmentType)
                    .cmds(jobJobEnvironmentConfigurationDetailsCmd)
                    .entrypoints(jobJobEnvironmentConfigurationDetailsEntrypoint)
                    .imageDigest(jobJobEnvironmentConfigurationDetailsImageDigest)
                    .imageSignatureId(testImageSignature.id())
                    .build())
                .jobLogConfigurationDetails(JobJobLogConfigurationDetailsArgs.builder()
                    .enableAutoLogCreation(jobJobLogConfigurationDetailsEnableAutoLogCreation)
                    .enableLogging(jobJobLogConfigurationDetailsEnableLogging)
                    .logGroupId(testLogGroup.id())
                    .logId(testLog.id())
                    .build())
                .jobStorageMountConfigurationDetailsLists(JobJobStorageMountConfigurationDetailsListArgs.builder()
                    .destinationDirectoryName(jobJobStorageMountConfigurationDetailsListDestinationDirectoryName)
                    .storageType(jobJobStorageMountConfigurationDetailsListStorageType)
                    .bucket(jobJobStorageMountConfigurationDetailsListBucket)
                    .destinationPath(jobJobStorageMountConfigurationDetailsListDestinationPath)
                    .exportId(testExport.id())
                    .mountTargetId(testMountTarget.id())
                    .namespace(jobJobStorageMountConfigurationDetailsListNamespace)
                    .prefix(jobJobStorageMountConfigurationDetailsListPrefix)
                    .build())
                .build());
    
        }
    }
    
    resources:
      testJob:
        type: oci:DataScience:Job
        name: test_job
        properties:
          compartmentId: ${compartmentId}
          jobConfigurationDetails:
            jobType: ${jobJobConfigurationDetailsJobType}
            commandLineArguments: ${jobJobConfigurationDetailsCommandLineArguments}
            environmentVariables: ${jobJobConfigurationDetailsEnvironmentVariables}
            maximumRuntimeInMinutes: ${jobJobConfigurationDetailsMaximumRuntimeInMinutes}
          jobInfrastructureConfigurationDetails:
            blockStorageSizeInGbs: ${jobJobInfrastructureConfigurationDetailsBlockStorageSizeInGbs}
            jobInfrastructureType: ${jobJobInfrastructureConfigurationDetailsJobInfrastructureType}
            shapeName: ${testShape.name}
            jobShapeConfigDetails:
              memoryInGbs: ${jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsMemoryInGbs}
              ocpus: ${jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsOcpus}
            subnetId: ${testSubnet.id}
          projectId: ${testProject.id}
          definedTags:
            Operations.CostCenter: '42'
          description: ${jobDescription}
          displayName: ${jobDisplayName}
          freeformTags:
            Department: Finance
          jobEnvironmentConfigurationDetails:
            image: ${jobJobEnvironmentConfigurationDetailsImage}
            jobEnvironmentType: ${jobJobEnvironmentConfigurationDetailsJobEnvironmentType}
            cmds: ${jobJobEnvironmentConfigurationDetailsCmd}
            entrypoints: ${jobJobEnvironmentConfigurationDetailsEntrypoint}
            imageDigest: ${jobJobEnvironmentConfigurationDetailsImageDigest}
            imageSignatureId: ${testImageSignature.id}
          jobLogConfigurationDetails:
            enableAutoLogCreation: ${jobJobLogConfigurationDetailsEnableAutoLogCreation}
            enableLogging: ${jobJobLogConfigurationDetailsEnableLogging}
            logGroupId: ${testLogGroup.id}
            logId: ${testLog.id}
          jobStorageMountConfigurationDetailsLists:
            - destinationDirectoryName: ${jobJobStorageMountConfigurationDetailsListDestinationDirectoryName}
              storageType: ${jobJobStorageMountConfigurationDetailsListStorageType}
              bucket: ${jobJobStorageMountConfigurationDetailsListBucket}
              destinationPath: ${jobJobStorageMountConfigurationDetailsListDestinationPath}
              exportId: ${testExport.id}
              mountTargetId: ${testMountTarget.id}
              namespace: ${jobJobStorageMountConfigurationDetailsListNamespace}
              prefix: ${jobJobStorageMountConfigurationDetailsListPrefix}
    

    Create Job Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);
    @overload
    def Job(resource_name: str,
            args: JobArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Job(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            job_configuration_details: Optional[_datascience.JobJobConfigurationDetailsArgs] = None,
            project_id: Optional[str] = None,
            compartment_id: Optional[str] = None,
            job_infrastructure_configuration_details: Optional[_datascience.JobJobInfrastructureConfigurationDetailsArgs] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            job_artifact: Optional[str] = None,
            delete_related_job_runs: Optional[bool] = None,
            job_environment_configuration_details: Optional[_datascience.JobJobEnvironmentConfigurationDetailsArgs] = None,
            artifact_content_disposition: Optional[str] = None,
            job_log_configuration_details: Optional[_datascience.JobJobLogConfigurationDetailsArgs] = None,
            job_storage_mount_configuration_details_lists: Optional[Sequence[_datascience.JobJobStorageMountConfigurationDetailsListArgs]] = None,
            artifact_content_length: Optional[str] = None)
    func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)
    public Job(string name, JobArgs args, CustomResourceOptions? opts = null)
    public Job(String name, JobArgs args)
    public Job(String name, JobArgs args, CustomResourceOptions options)
    
    type: oci:DataScience:Job
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var jobResource = new Oci.DataScience.Job("jobResource", new()
    {
        JobConfigurationDetails = new Oci.DataScience.Inputs.JobJobConfigurationDetailsArgs
        {
            JobType = "string",
            CommandLineArguments = "string",
            EnvironmentVariables = 
            {
                { "string", "any" },
            },
            MaximumRuntimeInMinutes = "string",
        },
        ProjectId = "string",
        CompartmentId = "string",
        JobInfrastructureConfigurationDetails = new Oci.DataScience.Inputs.JobJobInfrastructureConfigurationDetailsArgs
        {
            BlockStorageSizeInGbs = 0,
            JobInfrastructureType = "string",
            ShapeName = "string",
            JobShapeConfigDetails = new Oci.DataScience.Inputs.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs
            {
                MemoryInGbs = 0,
                Ocpus = 0,
            },
            SubnetId = "string",
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        JobArtifact = "string",
        DeleteRelatedJobRuns = false,
        JobEnvironmentConfigurationDetails = new Oci.DataScience.Inputs.JobJobEnvironmentConfigurationDetailsArgs
        {
            Image = "string",
            JobEnvironmentType = "string",
            Cmds = new[]
            {
                "string",
            },
            Entrypoints = new[]
            {
                "string",
            },
            ImageDigest = "string",
            ImageSignatureId = "string",
        },
        ArtifactContentDisposition = "string",
        JobLogConfigurationDetails = new Oci.DataScience.Inputs.JobJobLogConfigurationDetailsArgs
        {
            EnableAutoLogCreation = false,
            EnableLogging = false,
            LogGroupId = "string",
            LogId = "string",
        },
        JobStorageMountConfigurationDetailsLists = new[]
        {
            new Oci.DataScience.Inputs.JobJobStorageMountConfigurationDetailsListArgs
            {
                DestinationDirectoryName = "string",
                StorageType = "string",
                Bucket = "string",
                DestinationPath = "string",
                ExportId = "string",
                MountTargetId = "string",
                Namespace = "string",
                Prefix = "string",
            },
        },
        ArtifactContentLength = "string",
    });
    
    example, err := DataScience.NewJob(ctx, "jobResource", &DataScience.JobArgs{
    	JobConfigurationDetails: &datascience.JobJobConfigurationDetailsArgs{
    		JobType:              pulumi.String("string"),
    		CommandLineArguments: pulumi.String("string"),
    		EnvironmentVariables: pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    		MaximumRuntimeInMinutes: pulumi.String("string"),
    	},
    	ProjectId:     pulumi.String("string"),
    	CompartmentId: pulumi.String("string"),
    	JobInfrastructureConfigurationDetails: &datascience.JobJobInfrastructureConfigurationDetailsArgs{
    		BlockStorageSizeInGbs: pulumi.Int(0),
    		JobInfrastructureType: pulumi.String("string"),
    		ShapeName:             pulumi.String("string"),
    		JobShapeConfigDetails: &datascience.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs{
    			MemoryInGbs: pulumi.Float64(0),
    			Ocpus:       pulumi.Float64(0),
    		},
    		SubnetId: pulumi.String("string"),
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	JobArtifact:          pulumi.String("string"),
    	DeleteRelatedJobRuns: pulumi.Bool(false),
    	JobEnvironmentConfigurationDetails: &datascience.JobJobEnvironmentConfigurationDetailsArgs{
    		Image:              pulumi.String("string"),
    		JobEnvironmentType: pulumi.String("string"),
    		Cmds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Entrypoints: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ImageDigest:      pulumi.String("string"),
    		ImageSignatureId: pulumi.String("string"),
    	},
    	ArtifactContentDisposition: pulumi.String("string"),
    	JobLogConfigurationDetails: &datascience.JobJobLogConfigurationDetailsArgs{
    		EnableAutoLogCreation: pulumi.Bool(false),
    		EnableLogging:         pulumi.Bool(false),
    		LogGroupId:            pulumi.String("string"),
    		LogId:                 pulumi.String("string"),
    	},
    	JobStorageMountConfigurationDetailsLists: datascience.JobJobStorageMountConfigurationDetailsListArray{
    		&datascience.JobJobStorageMountConfigurationDetailsListArgs{
    			DestinationDirectoryName: pulumi.String("string"),
    			StorageType:              pulumi.String("string"),
    			Bucket:                   pulumi.String("string"),
    			DestinationPath:          pulumi.String("string"),
    			ExportId:                 pulumi.String("string"),
    			MountTargetId:            pulumi.String("string"),
    			Namespace:                pulumi.String("string"),
    			Prefix:                   pulumi.String("string"),
    		},
    	},
    	ArtifactContentLength: pulumi.String("string"),
    })
    
    var jobResource = new Job("jobResource", JobArgs.builder()
        .jobConfigurationDetails(JobJobConfigurationDetailsArgs.builder()
            .jobType("string")
            .commandLineArguments("string")
            .environmentVariables(Map.of("string", "any"))
            .maximumRuntimeInMinutes("string")
            .build())
        .projectId("string")
        .compartmentId("string")
        .jobInfrastructureConfigurationDetails(JobJobInfrastructureConfigurationDetailsArgs.builder()
            .blockStorageSizeInGbs(0)
            .jobInfrastructureType("string")
            .shapeName("string")
            .jobShapeConfigDetails(JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs.builder()
                .memoryInGbs(0)
                .ocpus(0)
                .build())
            .subnetId("string")
            .build())
        .definedTags(Map.of("string", "any"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .jobArtifact("string")
        .deleteRelatedJobRuns(false)
        .jobEnvironmentConfigurationDetails(JobJobEnvironmentConfigurationDetailsArgs.builder()
            .image("string")
            .jobEnvironmentType("string")
            .cmds("string")
            .entrypoints("string")
            .imageDigest("string")
            .imageSignatureId("string")
            .build())
        .artifactContentDisposition("string")
        .jobLogConfigurationDetails(JobJobLogConfigurationDetailsArgs.builder()
            .enableAutoLogCreation(false)
            .enableLogging(false)
            .logGroupId("string")
            .logId("string")
            .build())
        .jobStorageMountConfigurationDetailsLists(JobJobStorageMountConfigurationDetailsListArgs.builder()
            .destinationDirectoryName("string")
            .storageType("string")
            .bucket("string")
            .destinationPath("string")
            .exportId("string")
            .mountTargetId("string")
            .namespace("string")
            .prefix("string")
            .build())
        .artifactContentLength("string")
        .build());
    
    job_resource = oci.data_science.Job("jobResource",
        job_configuration_details=oci.data_science.JobJobConfigurationDetailsArgs(
            job_type="string",
            command_line_arguments="string",
            environment_variables={
                "string": "any",
            },
            maximum_runtime_in_minutes="string",
        ),
        project_id="string",
        compartment_id="string",
        job_infrastructure_configuration_details=oci.data_science.JobJobInfrastructureConfigurationDetailsArgs(
            block_storage_size_in_gbs=0,
            job_infrastructure_type="string",
            shape_name="string",
            job_shape_config_details=oci.data_science.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs(
                memory_in_gbs=0,
                ocpus=0,
            ),
            subnet_id="string",
        ),
        defined_tags={
            "string": "any",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        job_artifact="string",
        delete_related_job_runs=False,
        job_environment_configuration_details=oci.data_science.JobJobEnvironmentConfigurationDetailsArgs(
            image="string",
            job_environment_type="string",
            cmds=["string"],
            entrypoints=["string"],
            image_digest="string",
            image_signature_id="string",
        ),
        artifact_content_disposition="string",
        job_log_configuration_details=oci.data_science.JobJobLogConfigurationDetailsArgs(
            enable_auto_log_creation=False,
            enable_logging=False,
            log_group_id="string",
            log_id="string",
        ),
        job_storage_mount_configuration_details_lists=[oci.data_science.JobJobStorageMountConfigurationDetailsListArgs(
            destination_directory_name="string",
            storage_type="string",
            bucket="string",
            destination_path="string",
            export_id="string",
            mount_target_id="string",
            namespace="string",
            prefix="string",
        )],
        artifact_content_length="string")
    
    const jobResource = new oci.datascience.Job("jobResource", {
        jobConfigurationDetails: {
            jobType: "string",
            commandLineArguments: "string",
            environmentVariables: {
                string: "any",
            },
            maximumRuntimeInMinutes: "string",
        },
        projectId: "string",
        compartmentId: "string",
        jobInfrastructureConfigurationDetails: {
            blockStorageSizeInGbs: 0,
            jobInfrastructureType: "string",
            shapeName: "string",
            jobShapeConfigDetails: {
                memoryInGbs: 0,
                ocpus: 0,
            },
            subnetId: "string",
        },
        definedTags: {
            string: "any",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        jobArtifact: "string",
        deleteRelatedJobRuns: false,
        jobEnvironmentConfigurationDetails: {
            image: "string",
            jobEnvironmentType: "string",
            cmds: ["string"],
            entrypoints: ["string"],
            imageDigest: "string",
            imageSignatureId: "string",
        },
        artifactContentDisposition: "string",
        jobLogConfigurationDetails: {
            enableAutoLogCreation: false,
            enableLogging: false,
            logGroupId: "string",
            logId: "string",
        },
        jobStorageMountConfigurationDetailsLists: [{
            destinationDirectoryName: "string",
            storageType: "string",
            bucket: "string",
            destinationPath: "string",
            exportId: "string",
            mountTargetId: "string",
            namespace: "string",
            prefix: "string",
        }],
        artifactContentLength: "string",
    });
    
    type: oci:DataScience:Job
    properties:
        artifactContentDisposition: string
        artifactContentLength: string
        compartmentId: string
        definedTags:
            string: any
        deleteRelatedJobRuns: false
        description: string
        displayName: string
        freeformTags:
            string: any
        jobArtifact: string
        jobConfigurationDetails:
            commandLineArguments: string
            environmentVariables:
                string: any
            jobType: string
            maximumRuntimeInMinutes: string
        jobEnvironmentConfigurationDetails:
            cmds:
                - string
            entrypoints:
                - string
            image: string
            imageDigest: string
            imageSignatureId: string
            jobEnvironmentType: string
        jobInfrastructureConfigurationDetails:
            blockStorageSizeInGbs: 0
            jobInfrastructureType: string
            jobShapeConfigDetails:
                memoryInGbs: 0
                ocpus: 0
            shapeName: string
            subnetId: string
        jobLogConfigurationDetails:
            enableAutoLogCreation: false
            enableLogging: false
            logGroupId: string
            logId: string
        jobStorageMountConfigurationDetailsLists:
            - bucket: string
              destinationDirectoryName: string
              destinationPath: string
              exportId: string
              mountTargetId: string
              namespace: string
              prefix: string
              storageType: string
        projectId: string
    

    Job Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Job resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    JobConfigurationDetails JobJobConfigurationDetails
    The job configuration details
    JobInfrastructureConfigurationDetails JobJobInfrastructureConfigurationDetails
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    ProjectId string
    The OCID of the project to associate the job with.
    ArtifactContentDisposition string
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    ArtifactContentLength string

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DeleteRelatedJobRuns bool
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    Description string
    (Updatable) A short description of the job.
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    JobArtifact string
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    JobEnvironmentConfigurationDetails JobJobEnvironmentConfigurationDetails
    Environment configuration to capture job runtime dependencies.
    JobLogConfigurationDetails JobJobLogConfigurationDetails
    Logging configuration for resource.
    JobStorageMountConfigurationDetailsLists List<JobJobStorageMountConfigurationDetailsList>
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    CompartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    JobConfigurationDetails JobJobConfigurationDetailsArgs
    The job configuration details
    JobInfrastructureConfigurationDetails JobJobInfrastructureConfigurationDetailsArgs
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    ProjectId string
    The OCID of the project to associate the job with.
    ArtifactContentDisposition string
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    ArtifactContentLength string

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DeleteRelatedJobRuns bool
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    Description string
    (Updatable) A short description of the job.
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    JobArtifact string
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    JobEnvironmentConfigurationDetails JobJobEnvironmentConfigurationDetailsArgs
    Environment configuration to capture job runtime dependencies.
    JobLogConfigurationDetails JobJobLogConfigurationDetailsArgs
    Logging configuration for resource.
    JobStorageMountConfigurationDetailsLists []JobJobStorageMountConfigurationDetailsListArgs
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    compartmentId String
    (Updatable) The OCID of the compartment where you want to create the job.
    jobConfigurationDetails JobJobConfigurationDetails
    The job configuration details
    jobInfrastructureConfigurationDetails JobJobInfrastructureConfigurationDetails
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    projectId String
    The OCID of the project to associate the job with.
    artifactContentDisposition String
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    artifactContentLength String

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    deleteRelatedJobRuns Boolean
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    description String
    (Updatable) A short description of the job.
    displayName String
    (Updatable) A user-friendly display name for the resource.
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobArtifact String
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    jobEnvironmentConfigurationDetails JobJobEnvironmentConfigurationDetails
    Environment configuration to capture job runtime dependencies.
    jobLogConfigurationDetails JobJobLogConfigurationDetails
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists List<JobJobStorageMountConfigurationDetailsList>
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    compartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    jobConfigurationDetails JobJobConfigurationDetails
    The job configuration details
    jobInfrastructureConfigurationDetails JobJobInfrastructureConfigurationDetails
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    projectId string
    The OCID of the project to associate the job with.
    artifactContentDisposition string
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    artifactContentLength string

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    deleteRelatedJobRuns boolean
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    description string
    (Updatable) A short description of the job.
    displayName string
    (Updatable) A user-friendly display name for the resource.
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobArtifact string
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    jobEnvironmentConfigurationDetails JobJobEnvironmentConfigurationDetails
    Environment configuration to capture job runtime dependencies.
    jobLogConfigurationDetails JobJobLogConfigurationDetails
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists JobJobStorageMountConfigurationDetailsList[]
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    compartment_id str
    (Updatable) The OCID of the compartment where you want to create the job.
    job_configuration_details datascience.JobJobConfigurationDetailsArgs
    The job configuration details
    job_infrastructure_configuration_details datascience.JobJobInfrastructureConfigurationDetailsArgs
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    project_id str
    The OCID of the project to associate the job with.
    artifact_content_disposition str
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    artifact_content_length str

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    delete_related_job_runs bool
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    description str
    (Updatable) A short description of the job.
    display_name str
    (Updatable) A user-friendly display name for the resource.
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    job_artifact str
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    job_environment_configuration_details datascience.JobJobEnvironmentConfigurationDetailsArgs
    Environment configuration to capture job runtime dependencies.
    job_log_configuration_details datascience.JobJobLogConfigurationDetailsArgs
    Logging configuration for resource.
    job_storage_mount_configuration_details_lists Sequence[datascience.JobJobStorageMountConfigurationDetailsListArgs]
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    compartmentId String
    (Updatable) The OCID of the compartment where you want to create the job.
    jobConfigurationDetails Property Map
    The job configuration details
    jobInfrastructureConfigurationDetails Property Map
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    projectId String
    The OCID of the project to associate the job with.
    artifactContentDisposition String
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    artifactContentLength String

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    deleteRelatedJobRuns Boolean
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    description String
    (Updatable) A short description of the job.
    displayName String
    (Updatable) A user-friendly display name for the resource.
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobArtifact String
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    jobEnvironmentConfigurationDetails Property Map
    Environment configuration to capture job runtime dependencies.
    jobLogConfigurationDetails Property Map
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists List<Property Map>
    (Updatable) Collection of JobStorageMountConfigurationDetails.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:

    ArtifactContentMd5 string
    ArtifactLastModified string
    CreatedBy string
    The OCID of the user who created the project.
    EmptyArtifact bool
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    The state of the job.
    State string
    The state of the job.
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    ArtifactContentMd5 string
    ArtifactLastModified string
    CreatedBy string
    The OCID of the user who created the project.
    EmptyArtifact bool
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    The state of the job.
    State string
    The state of the job.
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    artifactContentMd5 String
    artifactLastModified String
    createdBy String
    The OCID of the user who created the project.
    emptyArtifact Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    The state of the job.
    state String
    The state of the job.
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    artifactContentMd5 string
    artifactLastModified string
    createdBy string
    The OCID of the user who created the project.
    emptyArtifact boolean
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    The state of the job.
    state string
    The state of the job.
    timeCreated 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_md5 str
    artifact_last_modified str
    created_by str
    The OCID of the user who created the project.
    empty_artifact bool
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    The state of the job.
    state str
    The state of the job.
    time_created str
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    artifactContentMd5 String
    artifactLastModified String
    createdBy String
    The OCID of the user who created the project.
    emptyArtifact Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    The state of the job.
    state String
    The state of the job.
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z

    Look up Existing Job Resource

    Get an existing Job resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: JobState, opts?: CustomResourceOptions): Job
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            artifact_content_disposition: Optional[str] = None,
            artifact_content_length: Optional[str] = None,
            artifact_content_md5: Optional[str] = None,
            artifact_last_modified: Optional[str] = None,
            compartment_id: Optional[str] = None,
            created_by: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            delete_related_job_runs: Optional[bool] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            empty_artifact: Optional[bool] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            job_artifact: Optional[str] = None,
            job_configuration_details: Optional[_datascience.JobJobConfigurationDetailsArgs] = None,
            job_environment_configuration_details: Optional[_datascience.JobJobEnvironmentConfigurationDetailsArgs] = None,
            job_infrastructure_configuration_details: Optional[_datascience.JobJobInfrastructureConfigurationDetailsArgs] = None,
            job_log_configuration_details: Optional[_datascience.JobJobLogConfigurationDetailsArgs] = None,
            job_storage_mount_configuration_details_lists: Optional[Sequence[_datascience.JobJobStorageMountConfigurationDetailsListArgs]] = None,
            lifecycle_details: Optional[str] = None,
            project_id: Optional[str] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> Job
    func GetJob(ctx *Context, name string, id IDInput, state *JobState, opts ...ResourceOption) (*Job, error)
    public static Job Get(string name, Input<string> id, JobState? state, CustomResourceOptions? opts = null)
    public static Job get(String name, Output<String> id, JobState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ArtifactContentDisposition string
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    ArtifactContentLength string

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ArtifactContentMd5 string
    ArtifactLastModified string
    CompartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    CreatedBy string
    The OCID of the user who created the project.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DeleteRelatedJobRuns bool
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    Description string
    (Updatable) A short description of the job.
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    EmptyArtifact bool
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    JobArtifact string
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    JobConfigurationDetails JobJobConfigurationDetails
    The job configuration details
    JobEnvironmentConfigurationDetails JobJobEnvironmentConfigurationDetails
    Environment configuration to capture job runtime dependencies.
    JobInfrastructureConfigurationDetails JobJobInfrastructureConfigurationDetails
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    JobLogConfigurationDetails JobJobLogConfigurationDetails
    Logging configuration for resource.
    JobStorageMountConfigurationDetailsLists List<JobJobStorageMountConfigurationDetailsList>
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    LifecycleDetails string
    The state of the job.
    ProjectId string
    The OCID of the project to associate the job with.
    State string
    The state of the job.
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    ArtifactContentDisposition string
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    ArtifactContentLength string

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ArtifactContentMd5 string
    ArtifactLastModified string
    CompartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    CreatedBy string
    The OCID of the user who created the project.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DeleteRelatedJobRuns bool
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    Description string
    (Updatable) A short description of the job.
    DisplayName string
    (Updatable) A user-friendly display name for the resource.
    EmptyArtifact bool
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    JobArtifact string
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    JobConfigurationDetails JobJobConfigurationDetailsArgs
    The job configuration details
    JobEnvironmentConfigurationDetails JobJobEnvironmentConfigurationDetailsArgs
    Environment configuration to capture job runtime dependencies.
    JobInfrastructureConfigurationDetails JobJobInfrastructureConfigurationDetailsArgs
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    JobLogConfigurationDetails JobJobLogConfigurationDetailsArgs
    Logging configuration for resource.
    JobStorageMountConfigurationDetailsLists []JobJobStorageMountConfigurationDetailsListArgs
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    LifecycleDetails string
    The state of the job.
    ProjectId string
    The OCID of the project to associate the job with.
    State string
    The state of the job.
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    artifactContentDisposition String
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    artifactContentLength String

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    artifactContentMd5 String
    artifactLastModified String
    compartmentId String
    (Updatable) The OCID of the compartment where you want to create the job.
    createdBy String
    The OCID of the user who created the project.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    deleteRelatedJobRuns Boolean
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    description String
    (Updatable) A short description of the job.
    displayName String
    (Updatable) A user-friendly display name for the resource.
    emptyArtifact Boolean
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobArtifact String
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    jobConfigurationDetails JobJobConfigurationDetails
    The job configuration details
    jobEnvironmentConfigurationDetails JobJobEnvironmentConfigurationDetails
    Environment configuration to capture job runtime dependencies.
    jobInfrastructureConfigurationDetails JobJobInfrastructureConfigurationDetails
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    jobLogConfigurationDetails JobJobLogConfigurationDetails
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists List<JobJobStorageMountConfigurationDetailsList>
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails String
    The state of the job.
    projectId String
    The OCID of the project to associate the job with.
    state String
    The state of the job.
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    artifactContentDisposition string
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    artifactContentLength string

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    artifactContentMd5 string
    artifactLastModified string
    compartmentId string
    (Updatable) The OCID of the compartment where you want to create the job.
    createdBy string
    The OCID of the user who created the project.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    deleteRelatedJobRuns boolean
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    description string
    (Updatable) A short description of the job.
    displayName string
    (Updatable) A user-friendly display name for the resource.
    emptyArtifact boolean
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobArtifact string
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    jobConfigurationDetails JobJobConfigurationDetails
    The job configuration details
    jobEnvironmentConfigurationDetails JobJobEnvironmentConfigurationDetails
    Environment configuration to capture job runtime dependencies.
    jobInfrastructureConfigurationDetails JobJobInfrastructureConfigurationDetails
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    jobLogConfigurationDetails JobJobLogConfigurationDetails
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists JobJobStorageMountConfigurationDetailsList[]
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails string
    The state of the job.
    projectId string
    The OCID of the project to associate the job with.
    state string
    The state of the job.
    timeCreated 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 str
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    artifact_content_length str

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    artifact_content_md5 str
    artifact_last_modified str
    compartment_id str
    (Updatable) The OCID of the compartment where you want to create the job.
    created_by str
    The OCID of the user who created the project.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    delete_related_job_runs bool
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    description str
    (Updatable) A short description of the job.
    display_name str
    (Updatable) A user-friendly display name for the resource.
    empty_artifact bool
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    job_artifact str
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    job_configuration_details datascience.JobJobConfigurationDetailsArgs
    The job configuration details
    job_environment_configuration_details datascience.JobJobEnvironmentConfigurationDetailsArgs
    Environment configuration to capture job runtime dependencies.
    job_infrastructure_configuration_details datascience.JobJobInfrastructureConfigurationDetailsArgs
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    job_log_configuration_details datascience.JobJobLogConfigurationDetailsArgs
    Logging configuration for resource.
    job_storage_mount_configuration_details_lists Sequence[datascience.JobJobStorageMountConfigurationDetailsListArgs]
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    lifecycle_details str
    The state of the job.
    project_id str
    The OCID of the project to associate the job with.
    state str
    The state of the job.
    time_created str
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z
    artifactContentDisposition String
    This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: attachment; filename=job-artifact.py
    artifactContentLength String

    The content length of the body.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    artifactContentMd5 String
    artifactLastModified String
    compartmentId String
    (Updatable) The OCID of the compartment where you want to create the job.
    createdBy String
    The OCID of the user who created the project.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    deleteRelatedJobRuns Boolean
    (Updatable) Delete all related JobRuns upon deletion of the Job.
    description String
    (Updatable) A short description of the job.
    displayName String
    (Updatable) A user-friendly display name for the resource.
    emptyArtifact Boolean
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    jobArtifact String
    The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
    jobConfigurationDetails Property Map
    The job configuration details
    jobEnvironmentConfigurationDetails Property Map
    Environment configuration to capture job runtime dependencies.
    jobInfrastructureConfigurationDetails Property Map
    (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
    jobLogConfigurationDetails Property Map
    Logging configuration for resource.
    jobStorageMountConfigurationDetailsLists List<Property Map>
    (Updatable) Collection of JobStorageMountConfigurationDetails.
    lifecycleDetails String
    The state of the job.
    projectId String
    The OCID of the project to associate the job with.
    state String
    The state of the job.
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z

    Supporting Types

    JobJobConfigurationDetails, JobJobConfigurationDetailsArgs

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

    JobJobEnvironmentConfigurationDetails, JobJobEnvironmentConfigurationDetailsArgs

    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
    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.
    ImageDigest string
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    ImageSignatureId string
    OCID of the container image signature
    Image string
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    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.
    ImageDigest string
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    ImageSignatureId string
    OCID of the container image signature
    image String
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    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.
    imageDigest String
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    imageSignatureId String
    OCID of the container image signature
    image string
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    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.
    imageDigest string
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    imageSignatureId string
    OCID of the container image signature
    image str
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    job_environment_type str
    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_digest str
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    image_signature_id str
    OCID of the container image signature
    image String
    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest
    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.
    imageDigest String
    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
    imageSignatureId String
    OCID of the container image signature

    JobJobInfrastructureConfigurationDetails, JobJobInfrastructureConfigurationDetailsArgs

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

    JobJobInfrastructureConfigurationDetailsJobShapeConfigDetails, JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs

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

    JobJobLogConfigurationDetails, JobJobLogConfigurationDetailsArgs

    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 are for job runs.
    LogId string
    The log id the job run will push logs too.
    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 are for job runs.
    LogId string
    The log id the job run will push logs too.
    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 are for job runs.
    logId String
    The log id the job run will push logs too.
    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 are for job runs.
    logId string
    The log id the job run will push logs too.
    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 are for job runs.
    log_id str
    The log id the job run will push logs too.
    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 are for job runs.
    logId String
    The log id the job run will push logs too.

    JobJobStorageMountConfigurationDetailsList, JobJobStorageMountConfigurationDetailsListArgs

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

    Import

    Jobs can be imported using the id, e.g.

    $ pulumi import oci:DataScience/job:Job test_job "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi