Class: Azure::ServiceFabric::V6_4_0_36::Models::NodeRepairTargetDescription

Inherits:
RepairTargetDescriptionBase show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNodeRepairTargetDescription

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

#KindObject

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_namesArray<String>

Returns The list of nodes targeted by a repair action.

Returns:

  • (Array<String>)

    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

.mapperObject

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