OptionalConditionCondition for restart.
OptionalDelayDelay between restart attempts.
OptionalMaxMaximum attempts to restart a given container before giving up (default value is 0, which is ignored).
OptionalWindowWindows is the time window used to evaluate the restart policy (default value is 0, which is unbounded).
Specification for the restart policy which applies to containers created as part of this service. TaskSpecRestartPolicy