RestartPolicy enum

type: string

Enumerates the restart policy for RunToCompletionExecutionPolicy

Possible values are:

  • OnFailure - Service will be restarted when it encounters a failure.
  • Never - Service will never be restarted. If the service encounters a failure, it will move to Failed state.