oci.DataScience.Job
Explore with Pulumi AI
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)
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:
- Compartment
Id string (Updatable) The OCID of the compartment where you want to create the job.
- Job
Configuration JobDetails Job Configuration Details The job configuration details
- Job
Infrastructure JobConfiguration Details Job Infrastructure Configuration Details (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- Project
Id string The OCID of the project to associate the job with.
- Artifact
Content stringDisposition 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 stringLength 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
- 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"}
- bool
(Updatable) Delete all related JobRuns upon deletion of the Job.
- Description string
(Updatable) A short description of the job.
- Display
Name string (Updatable) A user-friendly display name for the resource.
- 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"}
- Job
Artifact 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.
- Job
Log JobConfiguration Details Job Log Configuration Details Logging configuration for resource.
- Job
Storage List<JobMount Configuration Details Lists Job Storage Mount Configuration Details List> (Updatable) Collection of JobStorageMountConfigurationDetails.
- Compartment
Id string (Updatable) The OCID of the compartment where you want to create the job.
- Job
Configuration JobDetails Job Configuration Details Args The job configuration details
- Job
Infrastructure JobConfiguration Details Job Infrastructure Configuration Details Args (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- Project
Id string The OCID of the project to associate the job with.
- Artifact
Content stringDisposition 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 stringLength 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
- 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"}
- bool
(Updatable) Delete all related JobRuns upon deletion of the Job.
- Description string
(Updatable) A short description of the job.
- Display
Name string (Updatable) A user-friendly display name for the resource.
- 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"}
- Job
Artifact 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.
- Job
Log JobConfiguration Details Job Log Configuration Details Args Logging configuration for resource.
- Job
Storage []JobMount Configuration Details Lists Job Storage Mount Configuration Details List Args (Updatable) Collection of JobStorageMountConfigurationDetails.
- compartment
Id String (Updatable) The OCID of the compartment where you want to create the job.
- job
Configuration JobDetails Job Configuration Details The job configuration details
- job
Infrastructure JobConfiguration Details Job Infrastructure Configuration Details (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- project
Id String The OCID of the project to associate the job with.
- artifact
Content StringDisposition 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 StringLength 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
- 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"}
- Boolean
(Updatable) Delete all related JobRuns upon deletion of the Job.
- description String
(Updatable) A short description of the job.
- display
Name String (Updatable) A user-friendly display name for the resource.
- 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"}
- job
Artifact 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.
- job
Log JobConfiguration Details Job Log Configuration Details Logging configuration for resource.
- job
Storage List<JobMount Configuration Details Lists Job Storage Mount Configuration Details List> (Updatable) Collection of JobStorageMountConfigurationDetails.
- compartment
Id string (Updatable) The OCID of the compartment where you want to create the job.
- job
Configuration JobDetails Job Configuration Details The job configuration details
- job
Infrastructure JobConfiguration Details Job Infrastructure Configuration Details (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- project
Id string The OCID of the project to associate the job with.
- artifact
Content stringDisposition 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 stringLength 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
- {[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"}
- boolean
(Updatable) Delete all related JobRuns upon deletion of the Job.
- description string
(Updatable) A short description of the job.
- display
Name string (Updatable) A user-friendly display name for the resource.
- {[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"}
- job
Artifact 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.
- job
Log JobConfiguration Details Job Log Configuration Details Logging configuration for resource.
- job
Storage JobMount Configuration Details Lists Job Storage Mount Configuration Details List[] (Updatable) Collection of JobStorageMountConfigurationDetails.
- compartment_
id str (Updatable) The OCID of the compartment where you want to create the job.
- job_
configuration_ Jobdetails Job Configuration Details Args The job configuration details
- job_
infrastructure_ Jobconfiguration_ details Job Infrastructure Configuration Details Args (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_ strdisposition 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_ strlength 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
- 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"}
- 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.
- 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_ Jobconfiguration_ details Job Log Configuration Details Args Logging configuration for resource.
- job_
storage_ Jobmount_ configuration_ details_ lists Job Storage Mount Configuration Details List Args] (Updatable) Collection of JobStorageMountConfigurationDetails.
- compartment
Id String (Updatable) The OCID of the compartment where you want to create the job.
- job
Configuration Property MapDetails The job configuration details
- job
Infrastructure Property MapConfiguration Details (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- project
Id String The OCID of the project to associate the job with.
- artifact
Content StringDisposition 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 StringLength 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
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Boolean
(Updatable) Delete all related JobRuns upon deletion of the Job.
- description String
(Updatable) A short description of the job.
- display
Name String (Updatable) A user-friendly display name for the resource.
- 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"}
- job
Artifact 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.
- job
Log Property MapConfiguration Details Logging configuration for resource.
- job
Storage List<Property Map>Mount Configuration Details Lists (Updatable) Collection of JobStorageMountConfigurationDetails.
Outputs
All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:
- Artifact
Content stringMd5 - Artifact
Last stringModified - Created
By string The OCID of the user who created the project.
- Empty
Artifact bool - Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string The state of the job.
- State string
The state of the job.
- Time
Created 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 stringMd5 - Artifact
Last stringModified - Created
By string The OCID of the user who created the project.
- Empty
Artifact bool - Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string The state of the job.
- State string
The state of the job.
- Time
Created 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 StringMd5 - artifact
Last StringModified - created
By String The OCID of the user who created the project.
- empty
Artifact Boolean - id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details String The state of the job.
- state String
The state of the job.
- time
Created 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 stringMd5 - artifact
Last stringModified - created
By string The OCID of the user who created the project.
- empty
Artifact boolean - id string
The provider-assigned unique ID for this managed resource.
- lifecycle
Details string The state of the job.
- state string
The state of the job.
- time
Created 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_ strmd5 - artifact_
last_ strmodified - 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
- artifact
Content StringMd5 - artifact
Last StringModified - created
By String The OCID of the user who created the project.
- empty
Artifact Boolean - id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details String The state of the job.
- state String
The state of the job.
- time
Created 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.
- Artifact
Content stringDisposition 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 stringLength 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 stringMd5 - Artifact
Last stringModified - Compartment
Id string (Updatable) The OCID of the compartment where you want to create the job.
- Created
By string The OCID of the user who created the project.
- 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"}
- bool
(Updatable) Delete all related JobRuns upon deletion of the Job.
- Description string
(Updatable) A short description of the job.
- Display
Name string (Updatable) A user-friendly display name for the resource.
- Empty
Artifact bool - 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"}
- Job
Artifact 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.
- Job
Configuration JobDetails Job Configuration Details The job configuration details
- Job
Infrastructure JobConfiguration Details Job Infrastructure Configuration Details (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- Job
Log JobConfiguration Details Job Log Configuration Details Logging configuration for resource.
- Job
Storage List<JobMount Configuration Details Lists Job Storage Mount Configuration Details List> (Updatable) Collection of JobStorageMountConfigurationDetails.
- Lifecycle
Details string The state of the job.
- Project
Id string The OCID of the project to associate the job with.
- State string
The state of the job.
- Time
Created 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 stringDisposition 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 stringLength 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 stringMd5 - Artifact
Last stringModified - Compartment
Id string (Updatable) The OCID of the compartment where you want to create the job.
- Created
By string The OCID of the user who created the project.
- 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"}
- bool
(Updatable) Delete all related JobRuns upon deletion of the Job.
- Description string
(Updatable) A short description of the job.
- Display
Name string (Updatable) A user-friendly display name for the resource.
- Empty
Artifact bool - 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"}
- Job
Artifact 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.
- Job
Configuration JobDetails Job Configuration Details Args The job configuration details
- Job
Infrastructure JobConfiguration Details Job Infrastructure Configuration Details Args (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- Job
Log JobConfiguration Details Job Log Configuration Details Args Logging configuration for resource.
- Job
Storage []JobMount Configuration Details Lists Job Storage Mount Configuration Details List Args (Updatable) Collection of JobStorageMountConfigurationDetails.
- Lifecycle
Details string The state of the job.
- Project
Id string The OCID of the project to associate the job with.
- State string
The state of the job.
- Time
Created 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 StringDisposition 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 StringLength 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 StringMd5 - artifact
Last StringModified - compartment
Id String (Updatable) The OCID of the compartment where you want to create the job.
- created
By String The OCID of the user who created the project.
- 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"}
- Boolean
(Updatable) Delete all related JobRuns upon deletion of the Job.
- description String
(Updatable) A short description of the job.
- display
Name String (Updatable) A user-friendly display name for the resource.
- empty
Artifact Boolean - 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"}
- job
Artifact 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.
- job
Configuration JobDetails Job Configuration Details The job configuration details
- job
Infrastructure JobConfiguration Details Job Infrastructure Configuration Details (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- job
Log JobConfiguration Details Job Log Configuration Details Logging configuration for resource.
- job
Storage List<JobMount Configuration Details Lists Job Storage Mount Configuration Details List> (Updatable) Collection of JobStorageMountConfigurationDetails.
- lifecycle
Details String The state of the job.
- project
Id String The OCID of the project to associate the job with.
- state String
The state of the job.
- time
Created 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 stringDisposition 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 stringLength 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 stringMd5 - artifact
Last stringModified - compartment
Id string (Updatable) The OCID of the compartment where you want to create the job.
- created
By string The OCID of the user who created the project.
- {[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"}
- boolean
(Updatable) Delete all related JobRuns upon deletion of the Job.
- description string
(Updatable) A short description of the job.
- display
Name string (Updatable) A user-friendly display name for the resource.
- empty
Artifact boolean - {[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"}
- job
Artifact 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.
- job
Configuration JobDetails Job Configuration Details The job configuration details
- job
Infrastructure JobConfiguration Details Job Infrastructure Configuration Details (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- job
Log JobConfiguration Details Job Log Configuration Details Logging configuration for resource.
- job
Storage JobMount Configuration Details Lists Job Storage Mount Configuration Details List[] (Updatable) Collection of JobStorageMountConfigurationDetails.
- lifecycle
Details string The state of the job.
- project
Id string The OCID of the project to associate the job with.
- state string
The state of the job.
- time
Created 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_ strdisposition 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_ strlength 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_ strmd5 - artifact_
last_ strmodified - 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.
- 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"}
- 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 - 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_ Jobdetails Job Configuration Details Args The job configuration details
- job_
infrastructure_ Jobconfiguration_ details Job Infrastructure Configuration Details Args (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- job_
log_ Jobconfiguration_ details Job Log Configuration Details Args Logging configuration for resource.
- job_
storage_ Jobmount_ configuration_ details_ lists Job Storage Mount Configuration Details List Args] (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
- artifact
Content StringDisposition 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 StringLength 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 StringMd5 - artifact
Last StringModified - compartment
Id String (Updatable) The OCID of the compartment where you want to create the job.
- created
By String The OCID of the user who created the project.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Boolean
(Updatable) Delete all related JobRuns upon deletion of the Job.
- description String
(Updatable) A short description of the job.
- display
Name String (Updatable) A user-friendly display name for the resource.
- empty
Artifact Boolean - 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"}
- job
Artifact 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.
- job
Configuration Property MapDetails The job configuration details
- job
Infrastructure Property MapConfiguration Details (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- job
Log Property MapConfiguration Details Logging configuration for resource.
- job
Storage List<Property Map>Mount Configuration Details Lists (Updatable) Collection of JobStorageMountConfigurationDetails.
- lifecycle
Details String The state of the job.
- project
Id String The OCID of the project to associate the job with.
- state String
The state of the job.
- time
Created 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
- Job
Type string The type of job.
- Command
Line stringArguments The arguments to pass to the job.
- Environment
Variables Dictionary<string, object> Environment variables to set for the job.
- Maximum
Runtime stringIn Minutes A time bound for the execution of the job. Timer starts when the job becomes active.
- Job
Type string The type of job.
- Command
Line stringArguments The arguments to pass to the job.
- Environment
Variables map[string]interface{} Environment variables to set for the job.
- Maximum
Runtime stringIn Minutes A time bound for the execution of the job. Timer starts when the job becomes active.
- job
Type String The type of job.
- command
Line StringArguments The arguments to pass to the job.
- environment
Variables Map<String,Object> Environment variables to set for the job.
- maximum
Runtime StringIn Minutes A time bound for the execution of the job. Timer starts when the job becomes active.
- job
Type string The type of job.
- command
Line stringArguments The arguments to pass to the job.
- environment
Variables {[key: string]: any} Environment variables to set for the job.
- maximum
Runtime stringIn Minutes 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_ strarguments The arguments to pass to the job.
- environment_
variables Mapping[str, Any] Environment variables to set for the job.
- maximum_
runtime_ strin_ minutes A time bound for the execution of the job. Timer starts when the job becomes active.
- job
Type String The type of job.
- command
Line StringArguments The arguments to pass to the job.
- environment
Variables Map<Any> Environment variables to set for the job.
- maximum
Runtime StringIn Minutes A time bound for the execution of the job. Timer starts when the job becomes active.
JobJobInfrastructureConfigurationDetails, JobJobInfrastructureConfigurationDetailsArgs
- Block
Storage intSize In Gbs (Updatable) The size of the block storage volume to attach to the instance running the job
- Job
Infrastructure stringType (Updatable) The infrastructure type used for job run.
- Shape
Name string (Updatable) The shape used to launch the job run instances.
- Job
Shape JobConfig Details Job Infrastructure Configuration Details Job Shape Config Details (Updatable) Details for the job run shape configuration. Specify only when a flex shape is selected.
- Subnet
Id string (Updatable) The subnet to create a secondary vnic in to attach to the instance running the job
- Block
Storage intSize In Gbs (Updatable) The size of the block storage volume to attach to the instance running the job
- Job
Infrastructure stringType (Updatable) The infrastructure type used for job run.
- Shape
Name string (Updatable) The shape used to launch the job run instances.
- Job
Shape JobConfig Details Job Infrastructure Configuration Details Job Shape Config Details (Updatable) Details for the job run shape configuration. Specify only when a flex shape is selected.
- Subnet
Id string (Updatable) The subnet to create a secondary vnic in to attach to the instance running the job
- block
Storage IntegerSize In Gbs (Updatable) The size of the block storage volume to attach to the instance running the job
- job
Infrastructure StringType (Updatable) The infrastructure type used for job run.
- shape
Name String (Updatable) The shape used to launch the job run instances.
- job
Shape JobConfig Details Job Infrastructure Configuration Details Job Shape Config Details (Updatable) Details for the job run shape configuration. Specify only when a flex shape is selected.
- subnet
Id String (Updatable) The subnet to create a secondary vnic in to attach to the instance running the job
- block
Storage numberSize In Gbs (Updatable) The size of the block storage volume to attach to the instance running the job
- job
Infrastructure stringType (Updatable) The infrastructure type used for job run.
- shape
Name string (Updatable) The shape used to launch the job run instances.
- job
Shape JobConfig Details Job Infrastructure Configuration Details Job Shape Config Details (Updatable) Details for the job run shape configuration. Specify only when a flex shape is selected.
- subnet
Id string (Updatable) The subnet to create a secondary vnic in to attach to the instance running the job
- block_
storage_ intsize_ in_ gbs (Updatable) The size of the block storage volume to attach to the instance running the job
- job_
infrastructure_ strtype (Updatable) The infrastructure type used for job run.
- shape_
name str (Updatable) The shape used to launch the job run instances.
- job_
shape_ Jobconfig_ details Job Infrastructure Configuration Details Job Shape Config Details (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
- block
Storage NumberSize In Gbs (Updatable) The size of the block storage volume to attach to the instance running the job
- job
Infrastructure StringType (Updatable) The infrastructure type used for job run.
- shape
Name String (Updatable) The shape used to launch the job run instances.
- job
Shape Property MapConfig Details (Updatable) Details for the job run shape configuration. Specify only when a flex shape is selected.
- subnet
Id String (Updatable) The subnet to create a secondary vnic in to attach to the instance running the job
JobJobInfrastructureConfigurationDetailsJobShapeConfigDetails, JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs
- Memory
In doubleGbs (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.
- Memory
In float64Gbs (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.
- memory
In DoubleGbs (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.
- memory
In numberGbs (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_ floatgbs (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.
- memory
In NumberGbs (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
- Enable
Auto boolLog Creation 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 stringId The log group id for where log objects are for job runs.
- Log
Id string The log id the job run will push logs too.
- Enable
Auto boolLog Creation 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 stringId The log group id for where log objects are for job runs.
- Log
Id string The log id the job run will push logs too.
- enable
Auto BooleanLog Creation If automatic on-behalf-of log object creation is enabled for job runs.
- enable
Logging Boolean If customer logging is enabled for job runs.
- log
Group StringId The log group id for where log objects are for job runs.
- log
Id String The log id the job run will push logs too.
- enable
Auto booleanLog Creation If automatic on-behalf-of log object creation is enabled for job runs.
- enable
Logging boolean If customer logging is enabled for job runs.
- log
Group stringId The log group id for where log objects are for job runs.
- log
Id string The log id the job run will push logs too.
- enable_
auto_ boollog_ creation 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_ strid 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.
- enable
Auto BooleanLog Creation If automatic on-behalf-of log object creation is enabled for job runs.
- enable
Logging Boolean If customer logging is enabled for job runs.
- log
Group StringId The log group id for where log objects are for job runs.
- log
Id String The log id the job run will push logs too.
JobJobStorageMountConfigurationDetailsList, JobJobStorageMountConfigurationDetailsListArgs
- Destination
Directory stringName (Updatable) The local directory name to be mounted
- Storage
Type string (Updatable) The type of storage.
- Bucket string
(Updatable) The object storage bucket
- Destination
Path string (Updatable) The local path of the mounted directory, excluding directory name.
- Export
Id string (Updatable) OCID of the export
- Mount
Target stringId (Updatable) OCID of the mount target
- Namespace string
(Updatable) The object storage namespace
- Prefix string
(Updatable) Prefix in the bucket to mount
- Destination
Directory stringName (Updatable) The local directory name to be mounted
- Storage
Type string (Updatable) The type of storage.
- Bucket string
(Updatable) The object storage bucket
- Destination
Path string (Updatable) The local path of the mounted directory, excluding directory name.
- Export
Id string (Updatable) OCID of the export
- Mount
Target stringId (Updatable) OCID of the mount target
- Namespace string
(Updatable) The object storage namespace
- Prefix string
(Updatable) Prefix in the bucket to mount
- destination
Directory StringName (Updatable) The local directory name to be mounted
- storage
Type String (Updatable) The type of storage.
- bucket String
(Updatable) The object storage bucket
- destination
Path String (Updatable) The local path of the mounted directory, excluding directory name.
- export
Id String (Updatable) OCID of the export
- mount
Target StringId (Updatable) OCID of the mount target
- namespace String
(Updatable) The object storage namespace
- prefix String
(Updatable) Prefix in the bucket to mount
- destination
Directory stringName (Updatable) The local directory name to be mounted
- storage
Type string (Updatable) The type of storage.
- bucket string
(Updatable) The object storage bucket
- destination
Path string (Updatable) The local path of the mounted directory, excluding directory name.
- export
Id string (Updatable) OCID of the export
- mount
Target stringId (Updatable) OCID of the mount target
- namespace string
(Updatable) The object storage namespace
- prefix string
(Updatable) Prefix in the bucket to mount
- destination_
directory_ strname (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_ strid (Updatable) OCID of the mount target
- namespace str
(Updatable) The object storage namespace
- prefix str
(Updatable) Prefix in the bucket to mount
- destination
Directory StringName (Updatable) The local directory name to be mounted
- storage
Type String (Updatable) The type of storage.
- bucket String
(Updatable) The object storage bucket
- destination
Path String (Updatable) The local path of the mounted directory, excluding directory name.
- export
Id String (Updatable) OCID of the export
- mount
Target StringId (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.