Class: Azure::ServiceFabric::V7_0_0_42::Models::NodeLoadInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/7.0.0.42/generated/azure_service_fabric/models/node_load_info.rb

Overview

Information about load on a Service Fabric node. It holds a summary of all metrics and their load on a node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#node_load_metric_informationArray<NodeLoadMetricInformation>

and their load information on this node.

Returns:



22
23
24
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/node_load_info.rb', line 22

def node_load_metric_information
  @node_load_metric_information
end

#node_nameString

provided by this object.

Returns:

  • (String)

    Name of the node for which the load information is



18
19
20
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/node_load_info.rb', line 18

def node_name
  @node_name
end

Class Method Details

.mapperObject

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



29
30
31
32
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
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/node_load_info.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeLoadInfo',
    type: {
      name: 'Composite',
      class_name: 'NodeLoadInfo',
      model_properties: {
        node_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        },
        node_load_metric_information: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeLoadMetricInformation',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NodeLoadMetricInformationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'NodeLoadMetricInformation'
                }
            }
          }
        }
      }
    }
  }
end