Class: Azure::ServiceFabric::V6_4_0_36::Models::NodeRepairTargetDescription
- Inherits:
-
RepairTargetDescriptionBase
- Object
- RepairTargetDescriptionBase
- Azure::ServiceFabric::V6_4_0_36::Models::NodeRepairTargetDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/node_repair_target_description.rb
Overview
Describes the list of nodes targeted by a repair action.
This type supports the Service Fabric platform; it is not meant to be used directly from your code.
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#node_names ⇒ Array<String>
The list of nodes targeted by a repair action.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NodeRepairTargetDescription class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ NodeRepairTargetDescription
constructor
A new instance of NodeRepairTargetDescription.
Constructor Details
#initialize ⇒ NodeRepairTargetDescription
Returns a new instance of NodeRepairTargetDescription.
19 20 21 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/node_repair_target_description.rb', line 19 def initialize @Kind = "Node" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
23 24 25 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/node_repair_target_description.rb', line 23 def Kind @Kind end |
#node_names ⇒ Array<String>
Returns The list of nodes targeted by a repair action.
26 27 28 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/node_repair_target_description.rb', line 26 def node_names @node_names end |
Class Method Details
.mapper ⇒ Object
Mapper for NodeRepairTargetDescription class as Ruby Hash. This will be used for serialization/deserialization.
33 34 35 36 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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/node_repair_target_description.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Node', type: { name: 'Composite', class_name: 'NodeRepairTargetDescription', model_properties: { Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, node_names: { client_side_validation: true, required: false, serialized_name: 'NodeNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |