RepairTaskUpdateHealthPolicyDescription Class

Describes a request to update the health policy of a repair task. This type supports the Service Fabric platform; it is not meant to be used directly from your code.

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

Inheritance
RepairTaskUpdateHealthPolicyDescription

Constructor

RepairTaskUpdateHealthPolicyDescription(*, task_id: str, version: Optional[str] = None, perform_preparing_health_check: Optional[bool] = None, perform_restoring_health_check: Optional[bool] = None, **kwargs)

Parameters

task_id
str
Required

Required. The ID of the repair task to be updated.

version
str
Required

The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current value of the repair task. If zero, then no version check is performed.

perform_preparing_health_check
bool
Required

A boolean indicating if health check is to be performed in the Preparing stage of the repair task. If not specified the existing value should not be altered. Otherwise, specify the desired new value.

perform_restoring_health_check
bool
Required

A boolean indicating if health check is to be performed in the Restoring stage of the repair task. If not specified the existing value should not be altered. Otherwise, specify the desired new value.