DefaultJobConfigurationDetails

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

Bases: JobConfigurationDetails

The default job configuration.

Attributes:

JOB_TYPE_DEFAULT

A constant which can be used with the job_type property of a JobConfigurationDetails.

JOB_TYPE_EMPTY

A constant which can be used with the job_type property of a JobConfigurationDetails.

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.

startup_probe_details

Gets the startup_probe_details 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'

A constant which can be used with the job_type property of a JobConfigurationDetails. This constant has a value of “DEFAULT”

JOB_TYPE_EMPTY = 'EMPTY'

A constant which can be used with the job_type property of a JobConfigurationDetails. This constant has a value of “EMPTY”

__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”, “EMPTY”

  • 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.

  • startup_probe_details (oci.data_science.models.JobProbeDetails) – The value to assign to the startup_probe_details property of this DefaultJobConfigurationDetails.

property 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

property 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.

property job_type

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

Allowed values for this property are: “DEFAULT”, “EMPTY”, ‘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

property 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

property startup_probe_details

Gets the startup_probe_details of this DefaultJobConfigurationDetails.

Returns

The startup_probe_details of this DefaultJobConfigurationDetails.

Return type

oci.data_science.models.JobProbeDetails