Data Source: oci_datascience_job_runs
This data source provides the list of Job Runs in Oracle Cloud Infrastructure Data Science service.
List out job runs.
Example Usage
data "oci_datascience_job_runs" "test_job_runs" {
#Required
compartment_id = var.compartment_id
#Optional
created_by = var.job_run_created_by
display_name = var.job_run_display_name
id = var.job_run_id
job_id = oci_datascience_job.test_job.id
state = var.job_run_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) Filter results by the OCID of the compartment.created_by
- (Optional) Filter results by the OCID of the user who created the resource.display_name
- (Optional) Filter results by its user-friendly name.id
- (Optional) Filter results by OCID. Must be an OCID of the correct type for the resource type.job_id
- (Optional) The OCID of the job.state
- (Optional) Filter results by the specified lifecycle state. Must be a valid state for the resource type.
Attributes Reference
The following attributes are exported:
job_runs
- The list of job_runs.
JobRun Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment where you want to create the job.created_by
- The OCID of the user who created the job run.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:{"Operations.CostCenter": "42"}
display_name
- A user-friendly display name for the resource.freeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example:{"Department": "Finance"}
id
- The OCID of the job run.job_configuration_override_details
- The job configuration detailscommand_line_arguments
- The arguments to pass to the job.environment_variables
- Environment variables to set for the job.job_type
- The type of job.maximum_runtime_in_minutes
- A time bound for the execution of the job. Timer starts when the job becomes active.
job_environment_configuration_override_details
- Environment configuration to capture job runtime dependencies.cmd
- The container image run CMD as a list of strings. UseCMD
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.entrypoint
- The container image run ENTRYPOINT as a list of strings. Accept theCMD
as extra arguments. The combined size ofCMD
andENTRYPOINT
must be less than 2048 bytes. More information on howCMD
andENTRYPOINT
interact are here.image
- The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format:<region>.ocir.io/<registry>/<image>:<tag>
<region>.ocir.io/<registry>/<image>:<tag>@digest
image_digest
- The digest of the container image. For example,sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
image_signature_id
- OCID of the container image signaturejob_environment_type
- The environment configuration type used for job runtime.
job_id
- The OCID of the job run.job_infrastructure_configuration_details
- The job infrastructure configuration details (shape, block storage, etc.)block_storage_size_in_gbs
- The size of the block storage volume to attach to the instance running the jobjob_infrastructure_type
- The infrastructure type used for job run.job_shape_config_details
- Details for the job run shape configuration. Specify only when a flex shape is selected.memory_in_gbs
- The total amount of memory available to the job run instance, in gigabytes.ocpus
- The total number of OCPUs available to the job run instance.
shape_name
- The shape used to launch the job run instances.subnet_id
- The subnet to create a secondary vnic in to attach to the instance running the job
job_log_configuration_override_details
- Logging configuration for resource.enable_auto_log_creation
- If automatic on-behalf-of log object creation is enabled for job runs.enable_logging
- If customer logging is enabled for job runs.log_group_id
- The log group id for where log objects are for job runs.log_id
- The log id the job run will push logs too.
job_storage_mount_configuration_details_list
- Collection of JobStorageMountConfigurationDetails.bucket
- The object storage bucketdestination_directory_name
- The local directory name to be mounteddestination_path
- The local path of the mounted directory, excluding directory name.export_id
- OCID of the exportmount_target_id
- OCID of the mount targetnamespace
- The object storage namespaceprefix
- Prefix in the bucket to mountstorage_type
- The type of storage.
lifecycle_details
- Details of the state of the job run.log_details
- Customer logging details for job run.log_group_id
- The log group id for where log objects will be for job runs.log_id
- The log id of the log object the job run logs will be shipped to.
project_id
- The OCID of the project to associate the job with.state
- The state of the job run.time_accepted
- The date and time the job run was accepted in the timestamp format defined by RFC3339.time_finished
- The date and time the job run request was finished in the timestamp format defined by RFC3339.time_started
- The date and time the job run request was started in the timestamp format defined by RFC3339.