RunToCompletionExecutionPolicy
The run to completion execution policy, the service will perform its desired operation and complete successfully. If the service encounters failure, it will restarted based on restart policy specified. If the service completes its operation successfully, it will not be restarted again.
Properties
Name | Type | Required |
---|---|---|
restart |
string (enum) | Yes |
restart
Type: string (enum)
Required: Yes
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.