Class: Azure::ServiceFabric::V6_5_0_36::Models::LoadMetricInformation
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::LoadMetricInformation
- 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
-
#action ⇒ String
metric.
-
#activity_threshold ⇒ String
the system Cluster Manifest.
-
#balancing_threshold ⇒ String
The balancing threshold for a certain metric.
-
#buffered_cluster_capacity_remaining ⇒ String
reserved space.
-
#cluster_buffered_capacity ⇒ String
reserved space.
-
#cluster_capacity ⇒ String
The total cluster capacity for a given metric.
-
#cluster_capacity_remaining ⇒ String
The remaining capacity for the metric in the cluster.
-
#cluster_load ⇒ String
Fabric this parameter will be deprecated in favor of CurrentClusterLoad.
-
#cluster_remaining_buffered_capacity ⇒ String
this metric.
-
#cluster_remaining_capacity ⇒ String
In future releases of Service Fabric this parameter will be deprecated in favor of ClusterCapacityRemaining.
-
#current_cluster_load ⇒ String
The total cluster load.
-
#deviation_after ⇒ String
resource balancer run.
-
#deviation_before ⇒ String
resource balancer run.
-
#is_balanced_after ⇒ Boolean
or not after resource balancer run.
-
#is_balanced_before ⇒ Boolean
or not before resource balancer run.
-
#is_cluster_capacity_violation ⇒ Boolean
in the cluster.
-
#max_node_load_node_id ⇒ NodeId
metric.
-
#max_node_load_value ⇒ String
future releases of Service Fabric this parameter will be deprecated in favor of MaximumNodeLoad.
-
#maximum_node_load ⇒ String
The maximum load on any node for this metric.
-
#min_node_load_node_id ⇒ NodeId
metric.
-
#min_node_load_value ⇒ String
future releases of Service Fabric this parameter will be deprecated in favor of MinimumNodeLoad.
-
#minimum_node_load ⇒ String
The minimum load on any node for this metric.
-
#name ⇒ String
provided.
-
#node_buffer_percentage ⇒ String
this metric.
-
#planned_load_removal ⇒ String
are planned to be removed in the future within the cluster.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LoadMetricInformation class as Ruby Hash.
Instance Attribute Details
#action ⇒ String
metric
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_threshold ⇒ String
the system Cluster Manifest.
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_threshold ⇒ String
Returns 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_remaining ⇒ String
reserved space.
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_capacity ⇒ String
reserved space. In future releases of Service Fabric this parameter will be deprecated in favor of BufferedClusterCapacityRemaining.
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_capacity ⇒ String
Returns 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_remaining ⇒ String
Returns 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_load ⇒ String
Fabric this parameter will be deprecated in favor of CurrentClusterLoad.
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_capacity ⇒ String
this metric.
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_capacity ⇒ String
In future releases of Service Fabric this parameter will be deprecated in favor of ClusterCapacityRemaining.
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_load ⇒ String
Returns 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_after ⇒ String
resource balancer run.
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_before ⇒ String
resource balancer run.
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_after ⇒ Boolean
or not after resource balancer run.
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_before ⇒ Boolean
or not before resource balancer run
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_violation ⇒ Boolean
in the cluster.
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_id ⇒ NodeId
metric.
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_value ⇒ String
future releases of Service Fabric this parameter will be deprecated in favor of MaximumNodeLoad.
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_load ⇒ String
Returns 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_id ⇒ NodeId
metric.
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_value ⇒ String
future releases of Service Fabric this parameter will be deprecated in favor of MinimumNodeLoad.
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_load ⇒ String
Returns 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 |
#name ⇒ String
provided.
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_percentage ⇒ String
this metric.
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_removal ⇒ String
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.
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
.mapper ⇒ Object
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 |