1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. Job
Oracle Cloud Infrastructure v1.16.0 published on Thursday, Nov 2, 2023 by Pulumi

oci.DataScience.Job

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.16.0 published on Thursday, Nov 2, 2023 by Pulumi

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

    Creates a job.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testJob = new Oci.DataScience.Job("testJob", new()
        {
            CompartmentId = @var.Compartment_id,
            JobConfigurationDetails = new Oci.DataScience.Inputs.JobJobConfigurationDetailsArgs
            {
                JobType = @var.Job_job_configuration_details_job_type,
                CommandLineArguments = @var.Job_job_configuration_details_command_line_arguments,
                EnvironmentVariables = @var.Job_job_configuration_details_environment_variables,
                MaximumRuntimeInMinutes = @var.Job_job_configuration_details_maximum_runtime_in_minutes,
            },
            JobInfrastructureConfigurationDetails = new Oci.DataScience.Inputs.JobJobInfrastructureConfigurationDetailsArgs
            {
                BlockStorageSizeInGbs = @var.Job_job_infrastructure_configuration_details_block_storage_size_in_gbs,
                JobInfrastructureType = @var.Job_job_infrastructure_configuration_details_job_infrastructure_type,
                ShapeName = oci_core_shape.Test_shape.Name,
                JobShapeConfigDetails = new Oci.DataScience.Inputs.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs
                {
                    MemoryInGbs = @var.Job_job_infrastructure_configuration_details_job_shape_config_details_memory_in_gbs,
                    Ocpus = @var.Job_job_infrastructure_configuration_details_job_shape_config_details_ocpus,
                },
                SubnetId = oci_core_subnet.Test_subnet.Id,
            },
            ProjectId = oci_datascience_project.Test_project.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = @var.Job_description,
            DisplayName = @var.Job_display_name,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            JobLogConfigurationDetails = new Oci.DataScience.Inputs.JobJobLogConfigurationDetailsArgs
            {
                EnableAutoLogCreation = @var.Job_job_log_configuration_details_enable_auto_log_creation,
                EnableLogging = @var.Job_job_log_configuration_details_enable_logging,
                LogGroupId = oci_logging_log_group.Test_log_group.Id,
                LogId = oci_logging_log.Test_log.Id,
            },
            JobStorageMountConfigurationDetailsLists = new[]
            {
                new Oci.DataScience.Inputs.JobJobStorageMountConfigurationDetailsListArgs
                {
                    DestinationDirectoryName = @var.Job_job_storage_mount_configuration_details_list_destination_directory_name,
                    StorageType = @var.Job_job_storage_mount_configuration_details_list_storage_type,
                    Bucket = @var.Job_job_storage_mount_configuration_details_list_bucket,
                    DestinationPath = @var.Job_job_storage_mount_configuration_details_list_destination_path,
                    ExportId = oci_file_storage_export.Test_export.Id,
                    MountTargetId = oci_file_storage_mount_target.Test_mount_target.Id,
                    Namespace = @var.Job_job_storage_mount_configuration_details_list_namespace,
                    Prefix = @var.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, "testJob", &DataScience.JobArgs{
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			JobConfigurationDetails: &datascience.JobJobConfigurationDetailsArgs{
    				JobType:                 pulumi.Any(_var.Job_job_configuration_details_job_type),
    				CommandLineArguments:    pulumi.Any(_var.Job_job_configuration_details_command_line_arguments),
    				EnvironmentVariables:    pulumi.Any(_var.Job_job_configuration_details_environment_variables),
    				MaximumRuntimeInMinutes: pulumi.Any(_var.Job_job_configuration_details_maximum_runtime_in_minutes),
    			},
    			JobInfrastructureConfigurationDetails: &datascience.JobJobInfrastructureConfigurationDetailsArgs{
    				BlockStorageSizeInGbs: pulumi.Any(_var.Job_job_infrastructure_configuration_details_block_storage_size_in_gbs),
    				JobInfrastructureType: pulumi.Any(_var.Job_job_infrastructure_configuration_details_job_infrastructure_type),
    				ShapeName:             pulumi.Any(oci_core_shape.Test_shape.Name),
    				JobShapeConfigDetails: &datascience.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs{
    					MemoryInGbs: pulumi.Any(_var.Job_job_infrastructure_configuration_details_job_shape_config_details_memory_in_gbs),
    					Ocpus:       pulumi.Any(_var.Job_job_infrastructure_configuration_details_job_shape_config_details_ocpus),
    				},
    				SubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),
    			},
    			ProjectId: pulumi.Any(oci_datascience_project.Test_project.Id),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			Description: pulumi.Any(_var.Job_description),
    			DisplayName: pulumi.Any(_var.Job_display_name),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			JobLogConfigurationDetails: &datascience.JobJobLogConfigurationDetailsArgs{
    				EnableAutoLogCreation: pulumi.Any(_var.Job_job_log_configuration_details_enable_auto_log_creation),
    				EnableLogging:         pulumi.Any(_var.Job_job_log_configuration_details_enable_logging),
    				LogGroupId:            pulumi.Any(oci_logging_log_group.Test_log_group.Id),
    				LogId:                 pulumi.Any(oci_logging_log.Test_log.Id),
    			},
    			JobStorageMountConfigurationDetailsLists: datascience.JobJobStorageMountConfigurationDetailsListArray{
    				&datascience.JobJobStorageMountConfigurationDetailsListArgs{
    					DestinationDirectoryName: pulumi.Any(_var.Job_job_storage_mount_configuration_details_list_destination_directory_name),
    					StorageType:              pulumi.Any(_var.Job_job_storage_mount_configuration_details_list_storage_type),
    					Bucket:                   pulumi.Any(_var.Job_job_storage_mount_configuration_details_list_bucket),
    					DestinationPath:          pulumi.Any(_var.Job_job_storage_mount_configuration_details_list_destination_path),
    					ExportId:                 pulumi.Any(oci_file_storage_export.Test_export.Id),
    					MountTargetId:            pulumi.Any(oci_file_storage_mount_target.Test_mount_target.Id),
    					Namespace:                pulumi.Any(_var.Job_job_storage_mount_configuration_details_list_namespace),
    					Prefix:                   pulumi.Any(_var.Job_job_storage_mount_configuration_details_list_prefix),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.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(var_.compartment_id())
                .jobConfigurationDetails(JobJobConfigurationDetailsArgs.builder()
                    .jobType(var_.job_job_configuration_details_job_type())
                    .commandLineArguments(var_.job_job_configuration_details_command_line_arguments())
                    .environmentVariables(var_.job_job_configuration_details_environment_variables())
                    .maximumRuntimeInMinutes(var_.job_job_configuration_details_maximum_runtime_in_minutes())
                    .build())
                .jobInfrastructureConfigurationDetails(JobJobInfrastructureConfigurationDetailsArgs.builder()
                    .blockStorageSizeInGbs(var_.job_job_infrastructure_configuration_details_block_storage_size_in_gbs())
                    .jobInfrastructureType(var_.job_job_infrastructure_configuration_details_job_infrastructure_type())
                    .shapeName(oci_core_shape.test_shape().name())
                    .jobShapeConfigDetails(JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs.builder()
                        .memoryInGbs(var_.job_job_infrastructure_configuration_details_job_shape_config_details_memory_in_gbs())
                        .ocpus(var_.job_job_infrastructure_configuration_details_job_shape_config_details_ocpus())
                        .build())
                    .subnetId(oci_core_subnet.test_subnet().id())
                    .build())
                .projectId(oci_datascience_project.test_project().id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(var_.job_description())
                .displayName(var_.job_display_name())
                .freeformTags(Map.of("Department", "Finance"))
                .jobLogConfigurationDetails(JobJobLogConfigurationDetailsArgs.builder()
                    .enableAutoLogCreation(var_.job_job_log_configuration_details_enable_auto_log_creation())
                    .enableLogging(var_.job_job_log_configuration_details_enable_logging())
                    .logGroupId(oci_logging_log_group.test_log_group().id())
                    .logId(oci_logging_log.test_log().id())
                    .build())
                .jobStorageMountConfigurationDetailsLists(JobJobStorageMountConfigurationDetailsListArgs.builder()
                    .destinationDirectoryName(var_.job_job_storage_mount_configuration_details_list_destination_directory_name())
                    .storageType(var_.job_job_storage_mount_configuration_details_list_storage_type())
                    .bucket(var_.job_job_storage_mount_configuration_details_list_bucket())
                    .destinationPath(var_.job_job_storage_mount_configuration_details_list_destination_path())
                    .exportId(oci_file_storage_export.test_export().id())
                    .mountTargetId(oci_file_storage_mount_target.test_mount_target().id())
                    .namespace(var_.job_job_storage_mount_configuration_details_list_namespace())
                    .prefix(var_.job_job_storage_mount_configuration_details_list_prefix())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_job = oci.data_science.Job("testJob",
        compartment_id=var["compartment_id"],
        job_configuration_details=oci.data_science.JobJobConfigurationDetailsArgs(
            job_type=var["job_job_configuration_details_job_type"],
            command_line_arguments=var["job_job_configuration_details_command_line_arguments"],
            environment_variables=var["job_job_configuration_details_environment_variables"],
            maximum_runtime_in_minutes=var["job_job_configuration_details_maximum_runtime_in_minutes"],
        ),
        job_infrastructure_configuration_details=oci.data_science.JobJobInfrastructureConfigurationDetailsArgs(
            block_storage_size_in_gbs=var["job_job_infrastructure_configuration_details_block_storage_size_in_gbs"],
            job_infrastructure_type=var["job_job_infrastructure_configuration_details_job_infrastructure_type"],
            shape_name=oci_core_shape["test_shape"]["name"],
            job_shape_config_details=oci.data_science.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs(
                memory_in_gbs=var["job_job_infrastructure_configuration_details_job_shape_config_details_memory_in_gbs"],
                ocpus=var["job_job_infrastructure_configuration_details_job_shape_config_details_ocpus"],
            ),
            subnet_id=oci_core_subnet["test_subnet"]["id"],
        ),
        project_id=oci_datascience_project["test_project"]["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=var["job_description"],
        display_name=var["job_display_name"],
        freeform_tags={
            "Department": "Finance",
        },
        job_log_configuration_details=oci.data_science.JobJobLogConfigurationDetailsArgs(
            enable_auto_log_creation=var["job_job_log_configuration_details_enable_auto_log_creation"],
            enable_logging=var["job_job_log_configuration_details_enable_logging"],
            log_group_id=oci_logging_log_group["test_log_group"]["id"],
            log_id=oci_logging_log["test_log"]["id"],
        ),
        job_storage_mount_configuration_details_lists=[oci.data_science.JobJobStorageMountConfigurationDetailsListArgs(
            destination_directory_name=var["job_job_storage_mount_configuration_details_list_destination_directory_name"],
            storage_type=var["job_job_storage_mount_configuration_details_list_storage_type"],
            bucket=var["job_job_storage_mount_configuration_details_list_bucket"],
            destination_path=var["job_job_storage_mount_configuration_details_list_destination_path"],
            export_id=oci_file_storage_export["test_export"]["id"],
            mount_target_id=oci_file_storage_mount_target["test_mount_target"]["id"],
            namespace=var["job_job_storage_mount_configuration_details_list_namespace"],
            prefix=var["job_job_storage_mount_configuration_details_list_prefix"],
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testJob = new oci.datascience.Job("testJob", {
        compartmentId: _var.compartment_id,
        jobConfigurationDetails: {
            jobType: _var.job_job_configuration_details_job_type,
            commandLineArguments: _var.job_job_configuration_details_command_line_arguments,
            environmentVariables: _var.job_job_configuration_details_environment_variables,
            maximumRuntimeInMinutes: _var.job_job_configuration_details_maximum_runtime_in_minutes,
        },
        jobInfrastructureConfigurationDetails: {
            blockStorageSizeInGbs: _var.job_job_infrastructure_configuration_details_block_storage_size_in_gbs,
            jobInfrastructureType: _var.job_job_infrastructure_configuration_details_job_infrastructure_type,
            shapeName: oci_core_shape.test_shape.name,
            jobShapeConfigDetails: {
                memoryInGbs: _var.job_job_infrastructure_configuration_details_job_shape_config_details_memory_in_gbs,
                ocpus: _var.job_job_infrastructure_configuration_details_job_shape_config_details_ocpus,
            },
            subnetId: oci_core_subnet.test_subnet.id,
        },
        projectId: oci_datascience_project.test_project.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: _var.job_description,
        displayName: _var.job_display_name,
        freeformTags: {
            Department: "Finance",
        },
        jobLogConfigurationDetails: {
            enableAutoLogCreation: _var.job_job_log_configuration_details_enable_auto_log_creation,
            enableLogging: _var.job_job_log_configuration_details_enable_logging,
            logGroupId: oci_logging_log_group.test_log_group.id,
            logId: oci_logging_log.test_log.id,
        },
        jobStorageMountConfigurationDetailsLists: [{
            destinationDirectoryName: _var.job_job_storage_mount_configuration_details_list_destination_directory_name,
            storageType: _var.job_job_storage_mount_configuration_details_list_storage_type,
            bucket: _var.job_job_storage_mount_configuration_details_list_bucket,
            destinationPath: _var.job_job_storage_mount_configuration_details_list_destination_path,
            exportId: oci_file_storage_export.test_export.id,
            mountTargetId: oci_file_storage_mount_target.test_mount_target.id,
            namespace: _var.job_job_storage_mount_configuration_details_list_namespace,
            prefix: _var.job_job_storage_mount_configuration_details_list_prefix,
        }],
    });
    
    resources:
      testJob:
        type: oci:DataScience:Job
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          jobConfigurationDetails:
            jobType: ${var.job_job_configuration_details_job_type}
            commandLineArguments: ${var.job_job_configuration_details_command_line_arguments}
            environmentVariables: ${var.job_job_configuration_details_environment_variables}
            maximumRuntimeInMinutes: ${var.job_job_configuration_details_maximum_runtime_in_minutes}
          jobInfrastructureConfigurationDetails:
            blockStorageSizeInGbs: ${var.job_job_infrastructure_configuration_details_block_storage_size_in_gbs}
            jobInfrastructureType: ${var.job_job_infrastructure_configuration_details_job_infrastructure_type}
            shapeName: ${oci_core_shape.test_shape.name}
            jobShapeConfigDetails:
              memoryInGbs: ${var.job_job_infrastructure_configuration_details_job_shape_config_details_memory_in_gbs}
              ocpus: ${var.job_job_infrastructure_configuration_details_job_shape_config_details_ocpus}
            subnetId: ${oci_core_subnet.test_subnet.id}
          projectId: ${oci_datascience_project.test_project.id}
          #Optional
          definedTags:
            Operations.CostCenter: '42'
          description: ${var.job_description}
          displayName: ${var.job_display_name}
          freeformTags:
            Department: Finance
          jobLogConfigurationDetails:
            enableAutoLogCreation: ${var.job_job_log_configuration_details_enable_auto_log_creation}
            enableLogging: ${var.job_job_log_configuration_details_enable_logging}
            logGroupId: ${oci_logging_log_group.test_log_group.id}
            logId: ${oci_logging_log.test_log.id}
          jobStorageMountConfigurationDetailsLists:
            - destinationDirectoryName: ${var.job_job_storage_mount_configuration_details_list_destination_directory_name}
              storageType: ${var.job_job_storage_mount_configuration_details_list_storage_type}
              bucket: ${var.job_job_storage_mount_configuration_details_list_bucket}
              destinationPath: ${var.job_job_storage_mount_configuration_details_list_destination_path}
              exportId: ${oci_file_storage_export.test_export.id}
              mountTargetId: ${oci_file_storage_mount_target.test_mount_target.id}
              namespace: ${var.job_job_storage_mount_configuration_details_list_namespace}
              prefix: ${var.job_job_storage_mount_configuration_details_list_prefix}
    

    Create Job Resource

    new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);
    @overload
    def Job(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            artifact_content_disposition: Optional[str] = None,
            artifact_content_length: Optional[str] = None,
            compartment_id: 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,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            job_artifact: Optional[str] = None,
            job_configuration_details: Optional[_datascience.JobJobConfigurationDetailsArgs] = 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,
            project_id: Optional[str] = None)
    @overload
    def Job(resource_name: str,
            args: JobArgs,
            opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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.

    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.

    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.

    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.

    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 JobJobConfigurationDetailsArgs

    The job configuration details

    job_infrastructure_configuration_details 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_log_configuration_details JobJobLogConfigurationDetailsArgs

    Logging configuration for resource.

    job_storage_mount_configuration_details_lists 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.

    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_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

    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

    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

    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

    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 JobJobConfigurationDetailsArgs

    The job configuration details

    job_infrastructure_configuration_details JobJobInfrastructureConfigurationDetailsArgs

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

    job_log_configuration_details JobJobLogConfigurationDetailsArgs

    Logging configuration for resource.

    job_storage_mount_configuration_details_lists 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

    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.

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

    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.16.0 published on Thursday, Nov 2, 2023 by Pulumi