Class: Azure::ServiceFabric::V6_5_0_36::Models::NodeLoadMetricInformation

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

Overview

Represents data structure that contains load information for a certain metric on a node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#buffered_node_capacity_remainingString

NodeBufferPercentage for this metric on the node.

Returns:

  • (String)

    The remaining capacity which is not reserved by



54
55
56
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 54

def buffered_node_capacity_remaining
  @buffered_node_capacity_remaining
end

#current_node_loadString

Returns Current load on the node for this metric.

Returns:

  • (String)

    Current load on the node for this metric.



47
48
49
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 47

def current_node_load
  @current_node_load
end

#is_capacity_violationBoolean

metric on the node.

Returns:

  • (Boolean)

    Indicates if there is a capacity violation for this



35
36
37
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 35

def is_capacity_violation
  @is_capacity_violation
end

#nameString

provided.

Returns:

  • (String)

    Name of the metric for which this load information is



18
19
20
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 18

def name
  @name
end

#node_buffered_capacityString

this metric on the node.

Returns:

  • (String)

    The value that indicates the reserved capacity for



39
40
41
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 39

def node_buffered_capacity
  @node_buffered_capacity
end

#node_capacityString

Returns Total capacity on the node for this metric.

Returns:

  • (String)

    Total capacity on the node for this metric.



21
22
23
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 21

def node_capacity
  @node_capacity
end

#node_capacity_remainingString

Returns The remaining capacity on the node for the metric.

Returns:

  • (String)

    The remaining capacity on the node for the metric.



50
51
52
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 50

def node_capacity_remaining
  @node_capacity_remaining
end

#node_loadString

releases of Service Fabric this parameter will be deprecated in favor of CurrentNodeLoad.

Returns:

  • (String)

    Current load on the node for this metric. In future



26
27
28
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 26

def node_load
  @node_load
end

#node_remaining_buffered_capacityString

node. In future releases of Service Fabric this parameter will be deprecated in favor of BufferedNodeCapacityRemaining.

Returns:

  • (String)

    The remaining reserved capacity for this metric on the



44
45
46
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 44

def node_remaining_buffered_capacity
  @node_remaining_buffered_capacity
end

#node_remaining_capacityString

future releases of Service Fabric this parameter will be deprecated in favor of NodeCapacityRemaining.

Returns:

  • (String)

    The remaining capacity on the node for this metric. In



31
32
33
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 31

def node_remaining_capacity
  @node_remaining_capacity
end

#planned_node_load_removalString

are planned to be removed in the future. This kind of load is reported for replicas that are currently being moving to other nodes and for replicas that are currently being dropped but still use the load on the source node.

Returns:

  • (String)

    This value represents the load of the replicas that



61
62
63
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 61

def planned_node_load_removal
  @planned_node_load_removal
end

Class Method Details

.mapperObject

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



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb', line 68

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeLoadMetricInformation',
    type: {
      name: 'Composite',
      class_name: 'NodeLoadMetricInformation',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        node_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeCapacity',
          type: {
            name: 'String'
          }
        },
        node_load: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeLoad',
          type: {
            name: 'String'
          }
        },
        node_remaining_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeRemainingCapacity',
          type: {
            name: 'String'
          }
        },
        is_capacity_violation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IsCapacityViolation',
          type: {
            name: 'Boolean'
          }
        },
        node_buffered_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeBufferedCapacity',
          type: {
            name: 'String'
          }
        },
        node_remaining_buffered_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeRemainingBufferedCapacity',
          type: {
            name: 'String'
          }
        },
        current_node_load: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CurrentNodeLoad',
          type: {
            name: 'String'
          }
        },
        node_capacity_remaining: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeCapacityRemaining',
          type: {
            name: 'String'
          }
        },
        buffered_node_capacity_remaining: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BufferedNodeCapacityRemaining',
          type: {
            name: 'String'
          }
        },
        planned_node_load_removal: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PlannedNodeLoadRemoval',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end