CreateJobDetails

class oci.data_science.models.CreateJobDetails(**kwargs)

Bases: object

Parameters needed to create a new job.

Methods:

__init__(**kwargs)

Initializes a new CreateJobDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateJobDetails.

defined_tags

Gets the defined_tags of this CreateJobDetails.

description

Gets the description of this CreateJobDetails.

display_name

Gets the display_name of this CreateJobDetails.

freeform_tags

Gets the freeform_tags of this CreateJobDetails.

job_configuration_details

Gets the job_configuration_details of this CreateJobDetails.

job_environment_configuration_details

Gets the job_environment_configuration_details of this CreateJobDetails.

job_infrastructure_configuration_details

Gets the job_infrastructure_configuration_details of this CreateJobDetails.

job_log_configuration_details

Gets the job_log_configuration_details of this CreateJobDetails.

job_node_configuration_details

Gets the job_node_configuration_details of this CreateJobDetails.

job_run_retention_period_in_days

Gets the job_run_retention_period_in_days of this CreateJobDetails.

job_storage_mount_configuration_details_list

Gets the job_storage_mount_configuration_details_list of this CreateJobDetails.

project_id

[Required] Gets the project_id of this CreateJobDetails.

__init__(**kwargs)

Initializes a new CreateJobDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • project_id (str) – The value to assign to the project_id property of this CreateJobDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateJobDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateJobDetails.

  • description (str) – The value to assign to the description property of this CreateJobDetails.

  • job_run_retention_period_in_days (int) – The value to assign to the job_run_retention_period_in_days property of this CreateJobDetails.

  • job_configuration_details (oci.data_science.models.JobConfigurationDetails) – The value to assign to the job_configuration_details property of this CreateJobDetails.

  • job_infrastructure_configuration_details (oci.data_science.models.JobInfrastructureConfigurationDetails) – The value to assign to the job_infrastructure_configuration_details property of this CreateJobDetails.

  • job_environment_configuration_details (oci.data_science.models.JobEnvironmentConfigurationDetails) – The value to assign to the job_environment_configuration_details property of this CreateJobDetails.

  • job_log_configuration_details (oci.data_science.models.JobLogConfigurationDetails) – The value to assign to the job_log_configuration_details property of this CreateJobDetails.

  • job_storage_mount_configuration_details_list (list[oci.data_science.models.StorageMountConfigurationDetails]) – The value to assign to the job_storage_mount_configuration_details_list property of this CreateJobDetails.

  • job_node_configuration_details (oci.data_science.models.JobNodeConfigurationDetails) – The value to assign to the job_node_configuration_details property of this CreateJobDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateJobDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateJobDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateJobDetails. The OCID of the compartment where you want to create the job.

Returns

The compartment_id of this CreateJobDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateJobDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this CreateJobDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateJobDetails. A short description of the job.

Returns

The description of this CreateJobDetails.

Return type

str

property display_name

Gets the display_name of this CreateJobDetails. A user-friendly display name for the resource.

Returns

The display_name of this CreateJobDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateJobDetails. 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”}

Returns

The freeform_tags of this CreateJobDetails.

Return type

dict(str, str)

property job_configuration_details

Gets the job_configuration_details of this CreateJobDetails.

Returns

The job_configuration_details of this CreateJobDetails.

Return type

oci.data_science.models.JobConfigurationDetails

property job_environment_configuration_details

Gets the job_environment_configuration_details of this CreateJobDetails.

Returns

The job_environment_configuration_details of this CreateJobDetails.

Return type

oci.data_science.models.JobEnvironmentConfigurationDetails

property job_infrastructure_configuration_details

Gets the job_infrastructure_configuration_details of this CreateJobDetails.

Returns

The job_infrastructure_configuration_details of this CreateJobDetails.

Return type

oci.data_science.models.JobInfrastructureConfigurationDetails

property job_log_configuration_details

Gets the job_log_configuration_details of this CreateJobDetails.

Returns

The job_log_configuration_details of this CreateJobDetails.

Return type

oci.data_science.models.JobLogConfigurationDetails

property job_node_configuration_details

Gets the job_node_configuration_details of this CreateJobDetails.

Returns

The job_node_configuration_details of this CreateJobDetails.

Return type

oci.data_science.models.JobNodeConfigurationDetails

property job_run_retention_period_in_days

Gets the job_run_retention_period_in_days of this CreateJobDetails. Retention period in days for job runs.

Returns

The job_run_retention_period_in_days of this CreateJobDetails.

Return type

int

property job_storage_mount_configuration_details_list

Gets the job_storage_mount_configuration_details_list of this CreateJobDetails. Collection of JobStorageMountConfigurationDetails.

Returns

The job_storage_mount_configuration_details_list of this CreateJobDetails.

Return type

list[oci.data_science.models.StorageMountConfigurationDetails]

property project_id

[Required] Gets the project_id of this CreateJobDetails. The OCID of the project to associate the job with.

Returns

The project_id of this CreateJobDetails.

Return type

str