Skip to content

ServiceJobEvaluateOnExit

Source code in docs_src/capo_batch/types/service_job_evaluate_on_exit.py
class ServiceJobEvaluateOnExit(TypedDict, closed=True):
    action: NotRequired[
        "capo_batch.types.service_job_retry_action.ServiceJobRetryAction"
    ]
    """<p>The action to take if the service job exits with the specified condition. Valid values are <code>RETRY</code> and <code>EXIT</code>.</p>"""
    on_status_reason: NotRequired["capo_batch.types.string.String"]
    """<p>Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters and can contain all printable characters. It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.</p>"""

action instance-attribute

action: NotRequired[ServiceJobRetryAction]

The action to take if the service job exits with the specified condition. Valid values are RETRY and EXIT.

on_status_reason instance-attribute

on_status_reason: NotRequired[String]

Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters and can contain all printable characters. It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.