RunToCompletionExecutionPolicy Class

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.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.servicefabric.models._models_py3.ExecutionPolicy
RunToCompletionExecutionPolicy

Constructor

RunToCompletionExecutionPolicy(*, restart, **kwargs)

Parameters

type
str
Required

Required. Constant filled by server.

restart
str or RestartPolicy
Required

Required. Enumerates the restart policy for RunToCompletionExecutionPolicy. Possible values include: 'OnFailure', 'Never'