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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJob = new oci.datascience.Job("test_job", {
compartmentId: compartmentId,
jobConfigurationDetails: {
jobType: jobJobConfigurationDetailsJobType,
commandLineArguments: jobJobConfigurationDetailsCommandLineArguments,
environmentVariables: jobJobConfigurationDetailsEnvironmentVariables,
maximumRuntimeInMinutes: jobJobConfigurationDetailsMaximumRuntimeInMinutes,
},
jobInfrastructureConfigurationDetails: {
blockStorageSizeInGbs: jobJobInfrastructureConfigurationDetailsBlockStorageSizeInGbs,
jobInfrastructureType: jobJobInfrastructureConfigurationDetailsJobInfrastructureType,
shapeName: testShape.name,
jobShapeConfigDetails: {
memoryInGbs: jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsMemoryInGbs,
ocpus: jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsOcpus,
},
subnetId: testSubnet.id,
},
projectId: testProject.id,
definedTags: {
"Operations.CostCenter": "42",
},
description: jobDescription,
displayName: jobDisplayName,
freeformTags: {
Department: "Finance",
},
jobEnvironmentConfigurationDetails: {
image: jobJobEnvironmentConfigurationDetailsImage,
jobEnvironmentType: jobJobEnvironmentConfigurationDetailsJobEnvironmentType,
cmds: jobJobEnvironmentConfigurationDetailsCmd,
entrypoints: jobJobEnvironmentConfigurationDetailsEntrypoint,
imageDigest: jobJobEnvironmentConfigurationDetailsImageDigest,
imageSignatureId: testImageSignature.id,
},
jobLogConfigurationDetails: {
enableAutoLogCreation: jobJobLogConfigurationDetailsEnableAutoLogCreation,
enableLogging: jobJobLogConfigurationDetailsEnableLogging,
logGroupId: testLogGroup.id,
logId: testLog.id,
},
jobStorageMountConfigurationDetailsLists: [{
destinationDirectoryName: jobJobStorageMountConfigurationDetailsListDestinationDirectoryName,
storageType: jobJobStorageMountConfigurationDetailsListStorageType,
bucket: jobJobStorageMountConfigurationDetailsListBucket,
destinationPath: jobJobStorageMountConfigurationDetailsListDestinationPath,
exportId: testExport.id,
mountTargetId: testMountTarget.id,
namespace: jobJobStorageMountConfigurationDetailsListNamespace,
prefix: jobJobStorageMountConfigurationDetailsListPrefix,
}],
});
import pulumi
import pulumi_oci as oci
test_job = oci.data_science.Job("test_job",
compartment_id=compartment_id,
job_configuration_details={
"job_type": job_job_configuration_details_job_type,
"command_line_arguments": job_job_configuration_details_command_line_arguments,
"environment_variables": job_job_configuration_details_environment_variables,
"maximum_runtime_in_minutes": job_job_configuration_details_maximum_runtime_in_minutes,
},
job_infrastructure_configuration_details={
"block_storage_size_in_gbs": job_job_infrastructure_configuration_details_block_storage_size_in_gbs,
"job_infrastructure_type": job_job_infrastructure_configuration_details_job_infrastructure_type,
"shape_name": test_shape["name"],
"job_shape_config_details": {
"memory_in_gbs": job_job_infrastructure_configuration_details_job_shape_config_details_memory_in_gbs,
"ocpus": job_job_infrastructure_configuration_details_job_shape_config_details_ocpus,
},
"subnet_id": test_subnet["id"],
},
project_id=test_project["id"],
defined_tags={
"Operations.CostCenter": "42",
},
description=job_description,
display_name=job_display_name,
freeform_tags={
"Department": "Finance",
},
job_environment_configuration_details={
"image": job_job_environment_configuration_details_image,
"job_environment_type": job_job_environment_configuration_details_job_environment_type,
"cmds": job_job_environment_configuration_details_cmd,
"entrypoints": job_job_environment_configuration_details_entrypoint,
"image_digest": job_job_environment_configuration_details_image_digest,
"image_signature_id": test_image_signature["id"],
},
job_log_configuration_details={
"enable_auto_log_creation": job_job_log_configuration_details_enable_auto_log_creation,
"enable_logging": job_job_log_configuration_details_enable_logging,
"log_group_id": test_log_group["id"],
"log_id": test_log["id"],
},
job_storage_mount_configuration_details_lists=[{
"destination_directory_name": job_job_storage_mount_configuration_details_list_destination_directory_name,
"storage_type": job_job_storage_mount_configuration_details_list_storage_type,
"bucket": job_job_storage_mount_configuration_details_list_bucket,
"destination_path": job_job_storage_mount_configuration_details_list_destination_path,
"export_id": test_export["id"],
"mount_target_id": test_mount_target["id"],
"namespace": job_job_storage_mount_configuration_details_list_namespace,
"prefix": job_job_storage_mount_configuration_details_list_prefix,
}])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataScience"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataScience.NewJob(ctx, "test_job", &DataScience.JobArgs{
CompartmentId: pulumi.Any(compartmentId),
JobConfigurationDetails: &datascience.JobJobConfigurationDetailsArgs{
JobType: pulumi.Any(jobJobConfigurationDetailsJobType),
CommandLineArguments: pulumi.Any(jobJobConfigurationDetailsCommandLineArguments),
EnvironmentVariables: pulumi.Any(jobJobConfigurationDetailsEnvironmentVariables),
MaximumRuntimeInMinutes: pulumi.Any(jobJobConfigurationDetailsMaximumRuntimeInMinutes),
},
JobInfrastructureConfigurationDetails: &datascience.JobJobInfrastructureConfigurationDetailsArgs{
BlockStorageSizeInGbs: pulumi.Any(jobJobInfrastructureConfigurationDetailsBlockStorageSizeInGbs),
JobInfrastructureType: pulumi.Any(jobJobInfrastructureConfigurationDetailsJobInfrastructureType),
ShapeName: pulumi.Any(testShape.Name),
JobShapeConfigDetails: &datascience.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs{
MemoryInGbs: pulumi.Any(jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsMemoryInGbs),
Ocpus: pulumi.Any(jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsOcpus),
},
SubnetId: pulumi.Any(testSubnet.Id),
},
ProjectId: pulumi.Any(testProject.Id),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(jobDescription),
DisplayName: pulumi.Any(jobDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
JobEnvironmentConfigurationDetails: &datascience.JobJobEnvironmentConfigurationDetailsArgs{
Image: pulumi.Any(jobJobEnvironmentConfigurationDetailsImage),
JobEnvironmentType: pulumi.Any(jobJobEnvironmentConfigurationDetailsJobEnvironmentType),
Cmds: pulumi.Any(jobJobEnvironmentConfigurationDetailsCmd),
Entrypoints: pulumi.Any(jobJobEnvironmentConfigurationDetailsEntrypoint),
ImageDigest: pulumi.Any(jobJobEnvironmentConfigurationDetailsImageDigest),
ImageSignatureId: pulumi.Any(testImageSignature.Id),
},
JobLogConfigurationDetails: &datascience.JobJobLogConfigurationDetailsArgs{
EnableAutoLogCreation: pulumi.Any(jobJobLogConfigurationDetailsEnableAutoLogCreation),
EnableLogging: pulumi.Any(jobJobLogConfigurationDetailsEnableLogging),
LogGroupId: pulumi.Any(testLogGroup.Id),
LogId: pulumi.Any(testLog.Id),
},
JobStorageMountConfigurationDetailsLists: datascience.JobJobStorageMountConfigurationDetailsListArray{
&datascience.JobJobStorageMountConfigurationDetailsListArgs{
DestinationDirectoryName: pulumi.Any(jobJobStorageMountConfigurationDetailsListDestinationDirectoryName),
StorageType: pulumi.Any(jobJobStorageMountConfigurationDetailsListStorageType),
Bucket: pulumi.Any(jobJobStorageMountConfigurationDetailsListBucket),
DestinationPath: pulumi.Any(jobJobStorageMountConfigurationDetailsListDestinationPath),
ExportId: pulumi.Any(testExport.Id),
MountTargetId: pulumi.Any(testMountTarget.Id),
Namespace: pulumi.Any(jobJobStorageMountConfigurationDetailsListNamespace),
Prefix: pulumi.Any(jobJobStorageMountConfigurationDetailsListPrefix),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testJob = new Oci.DataScience.Job("test_job", new()
{
CompartmentId = compartmentId,
JobConfigurationDetails = new Oci.DataScience.Inputs.JobJobConfigurationDetailsArgs
{
JobType = jobJobConfigurationDetailsJobType,
CommandLineArguments = jobJobConfigurationDetailsCommandLineArguments,
EnvironmentVariables = jobJobConfigurationDetailsEnvironmentVariables,
MaximumRuntimeInMinutes = jobJobConfigurationDetailsMaximumRuntimeInMinutes,
},
JobInfrastructureConfigurationDetails = new Oci.DataScience.Inputs.JobJobInfrastructureConfigurationDetailsArgs
{
BlockStorageSizeInGbs = jobJobInfrastructureConfigurationDetailsBlockStorageSizeInGbs,
JobInfrastructureType = jobJobInfrastructureConfigurationDetailsJobInfrastructureType,
ShapeName = testShape.Name,
JobShapeConfigDetails = new Oci.DataScience.Inputs.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs
{
MemoryInGbs = jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsMemoryInGbs,
Ocpus = jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsOcpus,
},
SubnetId = testSubnet.Id,
},
ProjectId = testProject.Id,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = jobDescription,
DisplayName = jobDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
JobEnvironmentConfigurationDetails = new Oci.DataScience.Inputs.JobJobEnvironmentConfigurationDetailsArgs
{
Image = jobJobEnvironmentConfigurationDetailsImage,
JobEnvironmentType = jobJobEnvironmentConfigurationDetailsJobEnvironmentType,
Cmds = jobJobEnvironmentConfigurationDetailsCmd,
Entrypoints = jobJobEnvironmentConfigurationDetailsEntrypoint,
ImageDigest = jobJobEnvironmentConfigurationDetailsImageDigest,
ImageSignatureId = testImageSignature.Id,
},
JobLogConfigurationDetails = new Oci.DataScience.Inputs.JobJobLogConfigurationDetailsArgs
{
EnableAutoLogCreation = jobJobLogConfigurationDetailsEnableAutoLogCreation,
EnableLogging = jobJobLogConfigurationDetailsEnableLogging,
LogGroupId = testLogGroup.Id,
LogId = testLog.Id,
},
JobStorageMountConfigurationDetailsLists = new[]
{
new Oci.DataScience.Inputs.JobJobStorageMountConfigurationDetailsListArgs
{
DestinationDirectoryName = jobJobStorageMountConfigurationDetailsListDestinationDirectoryName,
StorageType = jobJobStorageMountConfigurationDetailsListStorageType,
Bucket = jobJobStorageMountConfigurationDetailsListBucket,
DestinationPath = jobJobStorageMountConfigurationDetailsListDestinationPath,
ExportId = testExport.Id,
MountTargetId = testMountTarget.Id,
Namespace = jobJobStorageMountConfigurationDetailsListNamespace,
Prefix = jobJobStorageMountConfigurationDetailsListPrefix,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataScience.Job;
import com.pulumi.oci.DataScience.JobArgs;
import com.pulumi.oci.DataScience.inputs.JobJobConfigurationDetailsArgs;
import com.pulumi.oci.DataScience.inputs.JobJobInfrastructureConfigurationDetailsArgs;
import com.pulumi.oci.DataScience.inputs.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs;
import com.pulumi.oci.DataScience.inputs.JobJobEnvironmentConfigurationDetailsArgs;
import com.pulumi.oci.DataScience.inputs.JobJobLogConfigurationDetailsArgs;
import com.pulumi.oci.DataScience.inputs.JobJobStorageMountConfigurationDetailsListArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testJob = new Job("testJob", JobArgs.builder()
.compartmentId(compartmentId)
.jobConfigurationDetails(JobJobConfigurationDetailsArgs.builder()
.jobType(jobJobConfigurationDetailsJobType)
.commandLineArguments(jobJobConfigurationDetailsCommandLineArguments)
.environmentVariables(jobJobConfigurationDetailsEnvironmentVariables)
.maximumRuntimeInMinutes(jobJobConfigurationDetailsMaximumRuntimeInMinutes)
.build())
.jobInfrastructureConfigurationDetails(JobJobInfrastructureConfigurationDetailsArgs.builder()
.blockStorageSizeInGbs(jobJobInfrastructureConfigurationDetailsBlockStorageSizeInGbs)
.jobInfrastructureType(jobJobInfrastructureConfigurationDetailsJobInfrastructureType)
.shapeName(testShape.name())
.jobShapeConfigDetails(JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs.builder()
.memoryInGbs(jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsMemoryInGbs)
.ocpus(jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsOcpus)
.build())
.subnetId(testSubnet.id())
.build())
.projectId(testProject.id())
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(jobDescription)
.displayName(jobDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.jobEnvironmentConfigurationDetails(JobJobEnvironmentConfigurationDetailsArgs.builder()
.image(jobJobEnvironmentConfigurationDetailsImage)
.jobEnvironmentType(jobJobEnvironmentConfigurationDetailsJobEnvironmentType)
.cmds(jobJobEnvironmentConfigurationDetailsCmd)
.entrypoints(jobJobEnvironmentConfigurationDetailsEntrypoint)
.imageDigest(jobJobEnvironmentConfigurationDetailsImageDigest)
.imageSignatureId(testImageSignature.id())
.build())
.jobLogConfigurationDetails(JobJobLogConfigurationDetailsArgs.builder()
.enableAutoLogCreation(jobJobLogConfigurationDetailsEnableAutoLogCreation)
.enableLogging(jobJobLogConfigurationDetailsEnableLogging)
.logGroupId(testLogGroup.id())
.logId(testLog.id())
.build())
.jobStorageMountConfigurationDetailsLists(JobJobStorageMountConfigurationDetailsListArgs.builder()
.destinationDirectoryName(jobJobStorageMountConfigurationDetailsListDestinationDirectoryName)
.storageType(jobJobStorageMountConfigurationDetailsListStorageType)
.bucket(jobJobStorageMountConfigurationDetailsListBucket)
.destinationPath(jobJobStorageMountConfigurationDetailsListDestinationPath)
.exportId(testExport.id())
.mountTargetId(testMountTarget.id())
.namespace(jobJobStorageMountConfigurationDetailsListNamespace)
.prefix(jobJobStorageMountConfigurationDetailsListPrefix)
.build())
.build());
}
}
resources:
testJob:
type: oci:DataScience:Job
name: test_job
properties:
compartmentId: ${compartmentId}
jobConfigurationDetails:
jobType: ${jobJobConfigurationDetailsJobType}
commandLineArguments: ${jobJobConfigurationDetailsCommandLineArguments}
environmentVariables: ${jobJobConfigurationDetailsEnvironmentVariables}
maximumRuntimeInMinutes: ${jobJobConfigurationDetailsMaximumRuntimeInMinutes}
jobInfrastructureConfigurationDetails:
blockStorageSizeInGbs: ${jobJobInfrastructureConfigurationDetailsBlockStorageSizeInGbs}
jobInfrastructureType: ${jobJobInfrastructureConfigurationDetailsJobInfrastructureType}
shapeName: ${testShape.name}
jobShapeConfigDetails:
memoryInGbs: ${jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsMemoryInGbs}
ocpus: ${jobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsOcpus}
subnetId: ${testSubnet.id}
projectId: ${testProject.id}
definedTags:
Operations.CostCenter: '42'
description: ${jobDescription}
displayName: ${jobDisplayName}
freeformTags:
Department: Finance
jobEnvironmentConfigurationDetails:
image: ${jobJobEnvironmentConfigurationDetailsImage}
jobEnvironmentType: ${jobJobEnvironmentConfigurationDetailsJobEnvironmentType}
cmds: ${jobJobEnvironmentConfigurationDetailsCmd}
entrypoints: ${jobJobEnvironmentConfigurationDetailsEntrypoint}
imageDigest: ${jobJobEnvironmentConfigurationDetailsImageDigest}
imageSignatureId: ${testImageSignature.id}
jobLogConfigurationDetails:
enableAutoLogCreation: ${jobJobLogConfigurationDetailsEnableAutoLogCreation}
enableLogging: ${jobJobLogConfigurationDetailsEnableLogging}
logGroupId: ${testLogGroup.id}
logId: ${testLog.id}
jobStorageMountConfigurationDetailsLists:
- destinationDirectoryName: ${jobJobStorageMountConfigurationDetailsListDestinationDirectoryName}
storageType: ${jobJobStorageMountConfigurationDetailsListStorageType}
bucket: ${jobJobStorageMountConfigurationDetailsListBucket}
destinationPath: ${jobJobStorageMountConfigurationDetailsListDestinationPath}
exportId: ${testExport.id}
mountTargetId: ${testMountTarget.id}
namespace: ${jobJobStorageMountConfigurationDetailsListNamespace}
prefix: ${jobJobStorageMountConfigurationDetailsListPrefix}
Create Job Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);
@overload
def Job(resource_name: str,
args: JobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Job(resource_name: str,
opts: Optional[ResourceOptions] = None,
job_configuration_details: Optional[_datascience.JobJobConfigurationDetailsArgs] = None,
project_id: Optional[str] = None,
compartment_id: Optional[str] = None,
job_infrastructure_configuration_details: Optional[_datascience.JobJobInfrastructureConfigurationDetailsArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
job_artifact: Optional[str] = None,
delete_related_job_runs: Optional[bool] = None,
job_environment_configuration_details: Optional[_datascience.JobJobEnvironmentConfigurationDetailsArgs] = None,
artifact_content_disposition: Optional[str] = None,
job_log_configuration_details: Optional[_datascience.JobJobLogConfigurationDetailsArgs] = None,
job_storage_mount_configuration_details_lists: Optional[Sequence[_datascience.JobJobStorageMountConfigurationDetailsListArgs]] = None,
artifact_content_length: Optional[str] = None)
func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)
public Job(string name, JobArgs args, CustomResourceOptions? opts = null)
type: oci:DataScience:Job
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var jobResource = new Oci.DataScience.Job("jobResource", new()
{
JobConfigurationDetails = new Oci.DataScience.Inputs.JobJobConfigurationDetailsArgs
{
JobType = "string",
CommandLineArguments = "string",
EnvironmentVariables =
{
{ "string", "string" },
},
MaximumRuntimeInMinutes = "string",
},
ProjectId = "string",
CompartmentId = "string",
JobInfrastructureConfigurationDetails = new Oci.DataScience.Inputs.JobJobInfrastructureConfigurationDetailsArgs
{
BlockStorageSizeInGbs = 0,
JobInfrastructureType = "string",
ShapeName = "string",
JobShapeConfigDetails = new Oci.DataScience.Inputs.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs
{
MemoryInGbs = 0,
Ocpus = 0,
},
SubnetId = "string",
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
JobArtifact = "string",
DeleteRelatedJobRuns = false,
JobEnvironmentConfigurationDetails = new Oci.DataScience.Inputs.JobJobEnvironmentConfigurationDetailsArgs
{
Image = "string",
JobEnvironmentType = "string",
Cmds = new[]
{
"string",
},
Entrypoints = new[]
{
"string",
},
ImageDigest = "string",
ImageSignatureId = "string",
},
ArtifactContentDisposition = "string",
JobLogConfigurationDetails = new Oci.DataScience.Inputs.JobJobLogConfigurationDetailsArgs
{
EnableAutoLogCreation = false,
EnableLogging = false,
LogGroupId = "string",
LogId = "string",
},
JobStorageMountConfigurationDetailsLists = new[]
{
new Oci.DataScience.Inputs.JobJobStorageMountConfigurationDetailsListArgs
{
DestinationDirectoryName = "string",
StorageType = "string",
Bucket = "string",
DestinationPath = "string",
ExportId = "string",
MountTargetId = "string",
Namespace = "string",
Prefix = "string",
},
},
ArtifactContentLength = "string",
});
example, err := DataScience.NewJob(ctx, "jobResource", &DataScience.JobArgs{
JobConfigurationDetails: &datascience.JobJobConfigurationDetailsArgs{
JobType: pulumi.String("string"),
CommandLineArguments: pulumi.String("string"),
EnvironmentVariables: pulumi.StringMap{
"string": pulumi.String("string"),
},
MaximumRuntimeInMinutes: pulumi.String("string"),
},
ProjectId: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
JobInfrastructureConfigurationDetails: &datascience.JobJobInfrastructureConfigurationDetailsArgs{
BlockStorageSizeInGbs: pulumi.Int(0),
JobInfrastructureType: pulumi.String("string"),
ShapeName: pulumi.String("string"),
JobShapeConfigDetails: &datascience.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs{
MemoryInGbs: pulumi.Float64(0),
Ocpus: pulumi.Float64(0),
},
SubnetId: pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
JobArtifact: pulumi.String("string"),
DeleteRelatedJobRuns: pulumi.Bool(false),
JobEnvironmentConfigurationDetails: &datascience.JobJobEnvironmentConfigurationDetailsArgs{
Image: pulumi.String("string"),
JobEnvironmentType: pulumi.String("string"),
Cmds: pulumi.StringArray{
pulumi.String("string"),
},
Entrypoints: pulumi.StringArray{
pulumi.String("string"),
},
ImageDigest: pulumi.String("string"),
ImageSignatureId: pulumi.String("string"),
},
ArtifactContentDisposition: pulumi.String("string"),
JobLogConfigurationDetails: &datascience.JobJobLogConfigurationDetailsArgs{
EnableAutoLogCreation: pulumi.Bool(false),
EnableLogging: pulumi.Bool(false),
LogGroupId: pulumi.String("string"),
LogId: pulumi.String("string"),
},
JobStorageMountConfigurationDetailsLists: datascience.JobJobStorageMountConfigurationDetailsListArray{
&datascience.JobJobStorageMountConfigurationDetailsListArgs{
DestinationDirectoryName: pulumi.String("string"),
StorageType: pulumi.String("string"),
Bucket: pulumi.String("string"),
DestinationPath: pulumi.String("string"),
ExportId: pulumi.String("string"),
MountTargetId: pulumi.String("string"),
Namespace: pulumi.String("string"),
Prefix: pulumi.String("string"),
},
},
ArtifactContentLength: pulumi.String("string"),
})
var jobResource = new Job("jobResource", JobArgs.builder()
.jobConfigurationDetails(JobJobConfigurationDetailsArgs.builder()
.jobType("string")
.commandLineArguments("string")
.environmentVariables(Map.of("string", "string"))
.maximumRuntimeInMinutes("string")
.build())
.projectId("string")
.compartmentId("string")
.jobInfrastructureConfigurationDetails(JobJobInfrastructureConfigurationDetailsArgs.builder()
.blockStorageSizeInGbs(0)
.jobInfrastructureType("string")
.shapeName("string")
.jobShapeConfigDetails(JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs.builder()
.memoryInGbs(0)
.ocpus(0)
.build())
.subnetId("string")
.build())
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.jobArtifact("string")
.deleteRelatedJobRuns(false)
.jobEnvironmentConfigurationDetails(JobJobEnvironmentConfigurationDetailsArgs.builder()
.image("string")
.jobEnvironmentType("string")
.cmds("string")
.entrypoints("string")
.imageDigest("string")
.imageSignatureId("string")
.build())
.artifactContentDisposition("string")
.jobLogConfigurationDetails(JobJobLogConfigurationDetailsArgs.builder()
.enableAutoLogCreation(false)
.enableLogging(false)
.logGroupId("string")
.logId("string")
.build())
.jobStorageMountConfigurationDetailsLists(JobJobStorageMountConfigurationDetailsListArgs.builder()
.destinationDirectoryName("string")
.storageType("string")
.bucket("string")
.destinationPath("string")
.exportId("string")
.mountTargetId("string")
.namespace("string")
.prefix("string")
.build())
.artifactContentLength("string")
.build());
job_resource = oci.data_science.Job("jobResource",
job_configuration_details={
"job_type": "string",
"command_line_arguments": "string",
"environment_variables": {
"string": "string",
},
"maximum_runtime_in_minutes": "string",
},
project_id="string",
compartment_id="string",
job_infrastructure_configuration_details={
"block_storage_size_in_gbs": 0,
"job_infrastructure_type": "string",
"shape_name": "string",
"job_shape_config_details": {
"memory_in_gbs": 0,
"ocpus": 0,
},
"subnet_id": "string",
},
defined_tags={
"string": "string",
},
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
job_artifact="string",
delete_related_job_runs=False,
job_environment_configuration_details={
"image": "string",
"job_environment_type": "string",
"cmds": ["string"],
"entrypoints": ["string"],
"image_digest": "string",
"image_signature_id": "string",
},
artifact_content_disposition="string",
job_log_configuration_details={
"enable_auto_log_creation": False,
"enable_logging": False,
"log_group_id": "string",
"log_id": "string",
},
job_storage_mount_configuration_details_lists=[{
"destination_directory_name": "string",
"storage_type": "string",
"bucket": "string",
"destination_path": "string",
"export_id": "string",
"mount_target_id": "string",
"namespace": "string",
"prefix": "string",
}],
artifact_content_length="string")
const jobResource = new oci.datascience.Job("jobResource", {
jobConfigurationDetails: {
jobType: "string",
commandLineArguments: "string",
environmentVariables: {
string: "string",
},
maximumRuntimeInMinutes: "string",
},
projectId: "string",
compartmentId: "string",
jobInfrastructureConfigurationDetails: {
blockStorageSizeInGbs: 0,
jobInfrastructureType: "string",
shapeName: "string",
jobShapeConfigDetails: {
memoryInGbs: 0,
ocpus: 0,
},
subnetId: "string",
},
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
jobArtifact: "string",
deleteRelatedJobRuns: false,
jobEnvironmentConfigurationDetails: {
image: "string",
jobEnvironmentType: "string",
cmds: ["string"],
entrypoints: ["string"],
imageDigest: "string",
imageSignatureId: "string",
},
artifactContentDisposition: "string",
jobLogConfigurationDetails: {
enableAutoLogCreation: false,
enableLogging: false,
logGroupId: "string",
logId: "string",
},
jobStorageMountConfigurationDetailsLists: [{
destinationDirectoryName: "string",
storageType: "string",
bucket: "string",
destinationPath: "string",
exportId: "string",
mountTargetId: "string",
namespace: "string",
prefix: "string",
}],
artifactContentLength: "string",
});
type: oci:DataScience:Job
properties:
artifactContentDisposition: string
artifactContentLength: string
compartmentId: string
definedTags:
string: string
deleteRelatedJobRuns: false
description: string
displayName: string
freeformTags:
string: string
jobArtifact: string
jobConfigurationDetails:
commandLineArguments: string
environmentVariables:
string: string
jobType: string
maximumRuntimeInMinutes: string
jobEnvironmentConfigurationDetails:
cmds:
- string
entrypoints:
- string
image: string
imageDigest: string
imageSignatureId: string
jobEnvironmentType: string
jobInfrastructureConfigurationDetails:
blockStorageSizeInGbs: 0
jobInfrastructureType: string
jobShapeConfigDetails:
memoryInGbs: 0
ocpus: 0
shapeName: string
subnetId: string
jobLogConfigurationDetails:
enableAutoLogCreation: false
enableLogging: false
logGroupId: string
logId: string
jobStorageMountConfigurationDetailsLists:
- bucket: string
destinationDirectoryName: string
destinationPath: string
exportId: string
mountTargetId: string
namespace: string
prefix: string
storageType: string
projectId: string
Job Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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, string>
- (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, string>
- (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
Environment JobConfiguration Details Job Environment Configuration Details - Environment configuration to capture job runtime dependencies.
- 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]string
- (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]string
- (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
Environment JobConfiguration Details Job Environment Configuration Details Args - Environment configuration to capture job runtime dependencies.
- 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,String>
- (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,String>
- (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
Environment JobConfiguration Details Job Environment Configuration Details - Environment configuration to capture job runtime dependencies.
- 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]: string}
- (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]: string}
- (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
Environment JobConfiguration Details Job Environment Configuration Details - Environment configuration to capture job runtime dependencies.
- 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_ datascience.details Job Job Configuration Details Args - The job configuration details
- job_
infrastructure_ datascience.configuration_ details Job 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, str]
- (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, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example:
{"Department": "Finance"}
- job_
artifact str - The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded.
- job_
environment_ datascience.configuration_ details Job Job Environment Configuration Details Args - Environment configuration to capture job runtime dependencies.
- job_
log_ datascience.configuration_ details Job Job Log Configuration Details Args - Logging configuration for resource.
- job_
storage_ Sequence[datascience.mount_ configuration_ details_ lists Job 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<String>
- (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>
- (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
Environment Property MapConfiguration Details - Environment configuration to capture job runtime dependencies.
- 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, str]] = 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, str]] = None,
job_artifact: Optional[str] = None,
job_configuration_details: Optional[_datascience.JobJobConfigurationDetailsArgs] = None,
job_environment_configuration_details: Optional[_datascience.JobJobEnvironmentConfigurationDetailsArgs] = None,
job_infrastructure_configuration_details: Optional[_datascience.JobJobInfrastructureConfigurationDetailsArgs] = None,
job_log_configuration_details: Optional[_datascience.JobJobLogConfigurationDetailsArgs] = None,
job_storage_mount_configuration_details_lists: Optional[Sequence[_datascience.JobJobStorageMountConfigurationDetailsListArgs]] = None,
lifecycle_details: Optional[str] = None,
project_id: Optional[str] = None,
state: Optional[str] = None,
time_created: Optional[str] = None) -> Job
func GetJob(ctx *Context, name string, id IDInput, state *JobState, opts ...ResourceOption) (*Job, error)
public static Job Get(string name, Input<string> id, JobState? state, CustomResourceOptions? opts = null)
public static Job get(String name, Output<String> id, JobState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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, string>
- (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, string>
- (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
Environment JobConfiguration Details Job Environment Configuration Details - Environment configuration to capture job runtime dependencies.
- 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]string
- (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]string
- (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
Environment JobConfiguration Details Job Environment Configuration Details Args - Environment configuration to capture job runtime dependencies.
- 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,String>
- (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,String>
- (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
Environment JobConfiguration Details Job Environment Configuration Details - Environment configuration to capture job runtime dependencies.
- 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]: string}
- (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]: string}
- (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
Environment JobConfiguration Details Job Environment Configuration Details - Environment configuration to capture job runtime dependencies.
- 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, str]
- (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, str]
- (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_ datascience.details Job Job Configuration Details Args - The job configuration details
- job_
environment_ datascience.configuration_ details Job Job Environment Configuration Details Args - Environment configuration to capture job runtime dependencies.
- job_
infrastructure_ datascience.configuration_ details Job Job Infrastructure Configuration Details Args - (Updatable) The job infrastructure configuration details (shape, block storage, etc.)
- job_
log_ datascience.configuration_ details Job Job Log Configuration Details Args - Logging configuration for resource.
- job_
storage_ Sequence[datascience.mount_ configuration_ details_ lists Job 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<String>
- (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>
- (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
Environment Property MapConfiguration Details - Environment configuration to capture job runtime dependencies.
- 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, string> - 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]string - 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,String> - 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]: string} - 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, str] - 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<String> - 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.
JobJobEnvironmentConfigurationDetails, JobJobEnvironmentConfigurationDetailsArgs
- Image string
- The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format:
<region>.ocir.io/<registry>/<image>:<tag>
<region>.ocir.io/<registry>/<image>:<tag>@digest
- Job
Environment stringType - The environment configuration type used for job runtime.
- Cmds List<string>
- The container image run CMD as a list of strings. Use
CMD
as arguments to theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. - Entrypoints List<string>
- The container image run ENTRYPOINT as a list of strings. Accept the
CMD
as extra arguments. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - Image
Digest string - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- Image
Signature stringId - OCID of the container image signature
- Image string
- The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format:
<region>.ocir.io/<registry>/<image>:<tag>
<region>.ocir.io/<registry>/<image>:<tag>@digest
- Job
Environment stringType - The environment configuration type used for job runtime.
- Cmds []string
- The container image run CMD as a list of strings. Use
CMD
as arguments to theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. - Entrypoints []string
- The container image run ENTRYPOINT as a list of strings. Accept the
CMD
as extra arguments. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - Image
Digest string - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- Image
Signature stringId - OCID of the container image signature
- image String
- The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format:
<region>.ocir.io/<registry>/<image>:<tag>
<region>.ocir.io/<registry>/<image>:<tag>@digest
- job
Environment StringType - The environment configuration type used for job runtime.
- cmds List<String>
- The container image run CMD as a list of strings. Use
CMD
as arguments to theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. - entrypoints List<String>
- The container image run ENTRYPOINT as a list of strings. Accept the
CMD
as extra arguments. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - image
Digest String - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- image
Signature StringId - OCID of the container image signature
- image string
- The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format:
<region>.ocir.io/<registry>/<image>:<tag>
<region>.ocir.io/<registry>/<image>:<tag>@digest
- job
Environment stringType - The environment configuration type used for job runtime.
- cmds string[]
- The container image run CMD as a list of strings. Use
CMD
as arguments to theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. - entrypoints string[]
- The container image run ENTRYPOINT as a list of strings. Accept the
CMD
as extra arguments. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - image
Digest string - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- image
Signature stringId - OCID of the container image signature
- image str
- The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format:
<region>.ocir.io/<registry>/<image>:<tag>
<region>.ocir.io/<registry>/<image>:<tag>@digest
- job_
environment_ strtype - The environment configuration type used for job runtime.
- cmds Sequence[str]
- The container image run CMD as a list of strings. Use
CMD
as arguments to theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. - entrypoints Sequence[str]
- The container image run ENTRYPOINT as a list of strings. Accept the
CMD
as extra arguments. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - image_
digest str - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- image_
signature_ strid - OCID of the container image signature
- image String
- The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format:
<region>.ocir.io/<registry>/<image>:<tag>
<region>.ocir.io/<registry>/<image>:<tag>@digest
- job
Environment StringType - The environment configuration type used for job runtime.
- cmds List<String>
- The container image run CMD as a list of strings. Use
CMD
as arguments to theENTRYPOINT
or the only command to run in the absence of anENTRYPOINT
. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. - entrypoints List<String>
- The container image run ENTRYPOINT as a list of strings. Accept the
CMD
as extra arguments. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here. - image
Digest String - The digest of the container image. For example,
sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- image
Signature StringId - OCID of the container image signature
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_ datascience.config_ details Job 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"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.