class Azure::ServiceFabric::V7_0_0_42::Models::NodeRepairTargetDescription

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.

Attributes

Kind[RW]
node_names[RW]

@return [Array<String>] The list of nodes targeted by a repair action.

Private Class Methods

mapper() click to toggle source

Mapper for NodeRepairTargetDescription class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.0.0.42/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
new() click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/node_repair_target_description.rb, line 19
def initialize
  @Kind = "Node"
end