DefaultJobConfigurationDetails¶
-
class
oci.data_science.models.DefaultJobConfigurationDetails(**kwargs)¶ Bases:
oci.data_science.models.job_configuration_details.JobConfigurationDetailsThe default job configuration.
Attributes
JOB_TYPE_DEFAULTstr(object=’’) -> str JOB_TYPE_EMPTYstr(object=’’) -> str command_line_argumentsGets the command_line_arguments of this DefaultJobConfigurationDetails. environment_variablesGets the environment_variables of this DefaultJobConfigurationDetails. job_type[Required] Gets the job_type of this JobConfigurationDetails. maximum_runtime_in_minutesGets the maximum_runtime_in_minutes of this DefaultJobConfigurationDetails. startup_probe_detailsGets 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'¶
-
JOB_TYPE_EMPTY= 'EMPTY'¶
-
__init__(**kwargs)¶ Initializes a new DefaultJobConfigurationDetails object with values from keyword arguments. The default value of the
job_typeattribute of this class isDEFAULTand 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.
-
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”, “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
-
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
-
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
-