Module Values.ServiceJobRetryStrategySource

The retry strategy for service jobs. This defines how many times to retry a failed service job and under what conditions. For more information, see Service job retry strategies in the Batch User Guide.

Sourcetype nonrec t = {
  1. attempts : Integer.t;
    (*

    The number of times to move a service job to RUNNABLE status. You can specify between 1 and 10 attempts.

    *)
  2. evaluateOnExit : ServiceJobEvaluateOnExitList.t option;
    (*

    Array of ServiceJobEvaluateOnExit objects that specify conditions under which the service job should be retried or failed.

    *)
}
Sourceval context_ : string
Sourceval make : ?evaluateOnExit:??? -> attempts:Integer.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t