Class: Azure::ServiceFabric::V6_5_0_36::Models::RepairTaskCancelDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::RepairTaskCancelDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_cancel_description.rb
Overview
Describes a request to cancel 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
-
#request_abort ⇒ Boolean
possible even if it has already started executing.
-
#task_id ⇒ String
The ID of the repair task.
-
#version ⇒ String
non-zero, then the request will only succeed if this value matches the actual current version of the repair task.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RepairTaskCancelDescription class as Ruby Hash.
Instance Attribute Details
#request_abort ⇒ Boolean
possible even if it has already started executing. False if the repair should be cancelled only if execution has not yet started.
30 31 32 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_cancel_description.rb', line 30 def request_abort @request_abort end |
#task_id ⇒ String
Returns The ID of the repair task.
19 20 21 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_cancel_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 version 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_cancel_description.rb', line 25 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for RepairTaskCancelDescription class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_cancel_description.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RepairTaskCancelDescription', type: { name: 'Composite', class_name: 'RepairTaskCancelDescription', 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' } }, request_abort: { client_side_validation: true, required: false, serialized_name: 'RequestAbort', type: { name: 'Boolean' } } } } } end |