Skip to main content

repair_task_health_policies

Creates, updates, deletes, gets or lists a repair_task_health_policies resource.

Overview

Namerepair_task_health_policies
TypeResource
Idazure.service_fabric_dataplane.repair_task_health_policies

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
update_repair_task_health_policyexecendpoint, TaskIdUpdates the health policy of the given repair task. This API supports the Service Fabric platform; it is not meant to be used directly from your code.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )

Lifecycle Methods

Updates the health policy of the given repair task. This API supports the Service Fabric platform; it is not meant to be used directly from your code.

EXEC azure.service_fabric_dataplane.repair_task_health_policies.update_repair_task_health_policy 
@endpoint='{{ endpoint }}' --required
@@json=
'{
"TaskId": "{{ TaskId }}",
"Version": "{{ Version }}",
"PerformPreparingHealthCheck": {{ PerformPreparingHealthCheck }},
"PerformRestoringHealthCheck": {{ PerformRestoringHealthCheck }}
}'
;