Class: Azure::ServiceFabric::V6_5_0_36::Models::RepairTaskUpdateHealthPolicyDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::RepairTaskUpdateHealthPolicyDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_update_health_policy_description.rb
Overview
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.
Instance Attribute Summary collapse
-
#perform_preparing_health_check ⇒ Boolean
performed in the Preparing stage of the repair task.
-
#perform_restoring_health_check ⇒ Boolean
performed in the Restoring stage of the repair task.
-
#task_id ⇒ String
The ID of the repair task to be updated.
-
#version ⇒ String
non-zero, then the request will only succeed if this value matches the actual current value of the repair task.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RepairTaskUpdateHealthPolicyDescription class as Ruby Hash.
Instance Attribute Details
#perform_preparing_health_check ⇒ Boolean
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.
31 32 33 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_update_health_policy_description.rb', line 31 def perform_preparing_health_check @perform_preparing_health_check end |
#perform_restoring_health_check ⇒ Boolean
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.
37 38 39 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_update_health_policy_description.rb', line 37 def perform_restoring_health_check @perform_restoring_health_check end |
#task_id ⇒ String
Returns The ID of the repair task to be updated.
19 20 21 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_update_health_policy_description.rb', line 19 def task_id @task_id end |
#version ⇒ String
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.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_update_health_policy_description.rb', line 25 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for RepairTaskUpdateHealthPolicyDescription class as Ruby Hash. This will be used for serialization/deserialization.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_update_health_policy_description.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RepairTaskUpdateHealthPolicyDescription', type: { name: 'Composite', class_name: 'RepairTaskUpdateHealthPolicyDescription', model_properties: { task_id: { client_side_validation: true, required: true, serialized_name: 'TaskId', type: { name: 'String' } }, version: { client_side_validation: true, required: false, serialized_name: 'Version', type: { name: 'String' } }, perform_preparing_health_check: { client_side_validation: true, required: false, serialized_name: 'PerformPreparingHealthCheck', type: { name: 'Boolean' } }, perform_restoring_health_check: { client_side_validation: true, required: false, serialized_name: 'PerformRestoringHealthCheck', type: { name: 'Boolean' } } } } } end |