Class: Azure::ServiceFabric::V6_5_0_36::Models::LoadMetricInformation

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

Overview

Represents data structure that contains load information for a certain metric in a cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#actionString

metric

Returns:

  • (String)

    The current action being taken with regard to this



41
42
43
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 41

def action
  @action
end

#activity_thresholdString

the system Cluster Manifest.

Returns:

  • (String)

    The Activity Threshold specified for this metric in



45
46
47
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 45

def activity_threshold
  @activity_threshold
end

#balancing_thresholdString

Returns The balancing threshold for a certain metric.

Returns:

  • (String)

    The balancing threshold for a certain metric.



37
38
39
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 37

def balancing_threshold
  @balancing_threshold
end

#buffered_cluster_capacity_remainingString

reserved space.

Returns:

  • (String)

    Remaining capacity in the cluster excluding the



81
82
83
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 81

def buffered_cluster_capacity_remaining
  @buffered_cluster_capacity_remaining
end

#cluster_buffered_capacityString

reserved space. In future releases of Service Fabric this parameter will be deprecated in favor of BufferedClusterCapacityRemaining.

Returns:

  • (String)

    Remaining capacity in the cluster excluding the



77
78
79
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 77

def cluster_buffered_capacity
  @cluster_buffered_capacity
end

#cluster_capacityString

Returns The total cluster capacity for a given metric.

Returns:

  • (String)

    The total cluster capacity for a given metric



48
49
50
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 48

def cluster_capacity
  @cluster_capacity
end

#cluster_capacity_remainingString

Returns The remaining capacity for the metric in the cluster.

Returns:

  • (String)

    The remaining capacity for the metric in the cluster.



64
65
66
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 64

def cluster_capacity_remaining
  @cluster_capacity_remaining
end

#cluster_loadString

Fabric this parameter will be deprecated in favor of CurrentClusterLoad.

Returns:

  • (String)

    The total cluster load. In future releases of Service



53
54
55
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 53

def cluster_load
  @cluster_load
end

#cluster_remaining_buffered_capacityString

this metric.

Returns:

  • (String)

    The remaining percentage of cluster total capacity for



85
86
87
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 85

def cluster_remaining_buffered_capacity
  @cluster_remaining_buffered_capacity
end

#cluster_remaining_capacityString

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

Returns:

  • (String)

    The remaining capacity for the metric in the cluster.



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

def cluster_remaining_capacity
  @cluster_remaining_capacity
end

#current_cluster_loadString

Returns The total cluster load.

Returns:

  • (String)

    The total cluster load.



56
57
58
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 56

def current_cluster_load
  @current_cluster_load
end

#deviation_afterString

resource balancer run.

Returns:

  • (String)

    The standard average deviation of the metrics after



34
35
36
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 34

def deviation_after
  @deviation_after
end

#deviation_beforeString

resource balancer run.

Returns:

  • (String)

    The standard average deviation of the metrics before



30
31
32
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 30

def deviation_before
  @deviation_before
end

#is_balanced_afterBoolean

or not after resource balancer run.

Returns:

  • (Boolean)

    Value that indicates whether the metrics is balanced



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

def is_balanced_after
  @is_balanced_after
end

#is_balanced_beforeBoolean

or not before resource balancer run

Returns:

  • (Boolean)

    Value that indicates whether the metrics is balanced



22
23
24
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 22

def is_balanced_before
  @is_balanced_before
end

#is_cluster_capacity_violationBoolean

in the cluster.

Returns:

  • (Boolean)

    Indicates that the metric is currently over capacity



68
69
70
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 68

def is_cluster_capacity_violation
  @is_cluster_capacity_violation
end

#max_node_load_node_idNodeId

metric.

Returns:

  • (NodeId)

    The node id of the node with the maximum load for this



109
110
111
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 109

def max_node_load_node_id
  @max_node_load_node_id
end

#max_node_load_valueString

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

Returns:

  • (String)

    The maximum load on any node for this metric. In



102
103
104
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 102

def max_node_load_value
  @max_node_load_value
end

#maximum_node_loadString

Returns The maximum load on any node for this metric.

Returns:

  • (String)

    The maximum load on any node for this metric.



105
106
107
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 105

def maximum_node_load
  @maximum_node_load
end

#min_node_load_node_idNodeId

metric.

Returns:

  • (NodeId)

    The node id of the node with the minimum load for this



97
98
99
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 97

def min_node_load_node_id
  @min_node_load_node_id
end

#min_node_load_valueString

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

Returns:

  • (String)

    The minimum load on any node for this metric. In



90
91
92
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 90

def min_node_load_value
  @min_node_load_value
end

#minimum_node_loadString

Returns The minimum load on any node for this metric.

Returns:

  • (String)

    The minimum load on any node for this metric.



93
94
95
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 93

def minimum_node_load
  @minimum_node_load
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/load_metric_information.rb', line 18

def name
  @name
end

#node_buffer_percentageString

this metric.

Returns:

  • (String)

    The reserved percentage of total node capacity for



72
73
74
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 72

def node_buffer_percentage
  @node_buffer_percentage
end

#planned_load_removalString

are planned to be removed in the future within the cluster. 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



116
117
118
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 116

def planned_load_removal
  @planned_load_removal
end

Class Method Details

.mapperObject

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



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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb', line 123

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LoadMetricInformation',
    type: {
      name: 'Composite',
      class_name: 'LoadMetricInformation',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        is_balanced_before: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IsBalancedBefore',
          type: {
            name: 'Boolean'
          }
        },
        is_balanced_after: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IsBalancedAfter',
          type: {
            name: 'Boolean'
          }
        },
        deviation_before: {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeviationBefore',
          type: {
            name: 'String'
          }
        },
        deviation_after: {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeviationAfter',
          type: {
            name: 'String'
          }
        },
        balancing_threshold: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BalancingThreshold',
          type: {
            name: 'String'
          }
        },
        action: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Action',
          type: {
            name: 'String'
          }
        },
        activity_threshold: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ActivityThreshold',
          type: {
            name: 'String'
          }
        },
        cluster_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterCapacity',
          type: {
            name: 'String'
          }
        },
        cluster_load: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterLoad',
          type: {
            name: 'String'
          }
        },
        current_cluster_load: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CurrentClusterLoad',
          type: {
            name: 'String'
          }
        },
        cluster_remaining_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterRemainingCapacity',
          type: {
            name: 'String'
          }
        },
        cluster_capacity_remaining: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterCapacityRemaining',
          type: {
            name: 'String'
          }
        },
        is_cluster_capacity_violation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IsClusterCapacityViolation',
          type: {
            name: 'Boolean'
          }
        },
        node_buffer_percentage: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeBufferPercentage',
          type: {
            name: 'String'
          }
        },
        cluster_buffered_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterBufferedCapacity',
          type: {
            name: 'String'
          }
        },
        buffered_cluster_capacity_remaining: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BufferedClusterCapacityRemaining',
          type: {
            name: 'String'
          }
        },
        cluster_remaining_buffered_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterRemainingBufferedCapacity',
          type: {
            name: 'String'
          }
        },
        min_node_load_value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MinNodeLoadValue',
          type: {
            name: 'String'
          }
        },
        minimum_node_load: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MinimumNodeLoad',
          type: {
            name: 'String'
          }
        },
        min_node_load_node_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MinNodeLoadNodeId',
          type: {
            name: 'Composite',
            class_name: 'NodeId'
          }
        },
        max_node_load_value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MaxNodeLoadValue',
          type: {
            name: 'String'
          }
        },
        maximum_node_load: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MaximumNodeLoad',
          type: {
            name: 'String'
          }
        },
        max_node_load_node_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MaxNodeLoadNodeId',
          type: {
            name: 'Composite',
            class_name: 'NodeId'
          }
        },
        planned_load_removal: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PlannedLoadRemoval',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end