JobExecProbeDetails¶
-
class
oci.data_science.models.JobExecProbeDetails(**kwargs)¶ Bases:
oci.data_science.models.job_probe_details.JobProbeDetailsRuns a command in the job run to check whether application is healthy or not.
Attributes
JOB_PROBE_CHECK_TYPE_EXECstr(object=’’) -> str command[Required] Gets the command of this JobExecProbeDetails. failure_thresholdGets the failure_threshold of this JobExecProbeDetails. initial_delay_in_secondsGets the initial_delay_in_seconds of this JobExecProbeDetails. job_probe_check_type[Required] Gets the job_probe_check_type of this JobProbeDetails. period_in_secondsGets the period_in_seconds of this JobExecProbeDetails. Methods
__init__(**kwargs)Initializes a new JobExecProbeDetails 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_PROBE_CHECK_TYPE_EXEC= 'EXEC'¶
-
__init__(**kwargs)¶ Initializes a new JobExecProbeDetails object with values from keyword arguments. The default value of the
job_probe_check_typeattribute of this class isEXECand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - job_probe_check_type (str) – The value to assign to the job_probe_check_type property of this JobExecProbeDetails. Allowed values for this property are: “EXEC”
- command (list[str]) – The value to assign to the command property of this JobExecProbeDetails.
- period_in_seconds (int) – The value to assign to the period_in_seconds property of this JobExecProbeDetails.
- failure_threshold (int) – The value to assign to the failure_threshold property of this JobExecProbeDetails.
- initial_delay_in_seconds (int) – The value to assign to the initial_delay_in_seconds property of this JobExecProbeDetails.
-
command¶ [Required] Gets the command of this JobExecProbeDetails. The commands to run in the target job run to perform the startup probe
Returns: The command of this JobExecProbeDetails. Return type: list[str]
-
failure_threshold¶ Gets the failure_threshold of this JobExecProbeDetails. How many times the job will try before giving up when a probe fails.
Returns: The failure_threshold of this JobExecProbeDetails. Return type: int
-
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.
-
initial_delay_in_seconds¶ Gets the initial_delay_in_seconds of this JobExecProbeDetails. Number of seconds after the job run has started before a startup probe is initiated.
Returns: The initial_delay_in_seconds of this JobExecProbeDetails. Return type: int
-
job_probe_check_type¶ [Required] Gets the job_probe_check_type of this JobProbeDetails. The probe check type to perform the startup probe and specifies the type of health check for a job.
Allowed values for this property are: “EXEC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The job_probe_check_type of this JobProbeDetails. Return type: str
-
period_in_seconds¶ Gets the period_in_seconds of this JobExecProbeDetails. Number of seconds how often the job run should perform a startup probe
Returns: The period_in_seconds of this JobExecProbeDetails. Return type: int
-