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 [Required] Gets the job_configuration_details of this CreateJobDetails.
job_infrastructure_configuration_details [Required] Gets the job_infrastructure_configuration_details of this CreateJobDetails.
job_log_configuration_details Gets the job_log_configuration_details 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_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_log_configuration_details (oci.data_science.models.JobLogConfigurationDetails) – The value to assign to the job_log_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.
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
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))
description

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

Returns:The description of this CreateJobDetails.
Return type:str
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
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)
job_configuration_details

[Required] Gets the job_configuration_details of this CreateJobDetails.

Returns:The job_configuration_details of this CreateJobDetails.
Return type:oci.data_science.models.JobConfigurationDetails
job_infrastructure_configuration_details

[Required] 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
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
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