DefaultJobConfigurationDetails

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

Bases: oci.data_science.models.job_configuration_details.JobConfigurationDetails

The default job configuration.

Attributes

JOB_TYPE_DEFAULT str(object=’’) -> str
command_line_arguments Gets the command_line_arguments of this DefaultJobConfigurationDetails.
environment_variables Gets the environment_variables of this DefaultJobConfigurationDetails.
job_type [Required] Gets the job_type of this JobConfigurationDetails.
maximum_runtime_in_minutes Gets the maximum_runtime_in_minutes of this DefaultJobConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new DefaultJobConfigurationDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
JOB_TYPE_DEFAULT = 'DEFAULT'
__init__(**kwargs)

Initializes a new DefaultJobConfigurationDetails object with values from keyword arguments. The default value of the job_type attribute of this class is DEFAULT and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • job_type (str) – The value to assign to the job_type property of this DefaultJobConfigurationDetails. Allowed values for this property are: “DEFAULT”
  • environment_variables (dict(str, str)) – The value to assign to the environment_variables property of this DefaultJobConfigurationDetails.
  • command_line_arguments (str) – The value to assign to the command_line_arguments property of this DefaultJobConfigurationDetails.
  • maximum_runtime_in_minutes (int) – The value to assign to the maximum_runtime_in_minutes property of this DefaultJobConfigurationDetails.
command_line_arguments

Gets the command_line_arguments of this DefaultJobConfigurationDetails. The arguments to pass to the job.

Returns:The command_line_arguments of this DefaultJobConfigurationDetails.
Return type:str
environment_variables

Gets the environment_variables of this DefaultJobConfigurationDetails. Environment variables to set for the job.

Returns:The environment_variables of this DefaultJobConfigurationDetails.
Return type:dict(str, str)
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

job_type

[Required] Gets the job_type of this JobConfigurationDetails. The type of job.

Allowed values for this property are: “DEFAULT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The job_type of this JobConfigurationDetails.
Return type:str
maximum_runtime_in_minutes

Gets the maximum_runtime_in_minutes of this DefaultJobConfigurationDetails. A time bound for the execution of the job. Timer starts when the job becomes active.

Returns:The maximum_runtime_in_minutes of this DefaultJobConfigurationDetails.
Return type:int