Class: Azure::ServiceFabric::V6_5_0_36::Models::NodeLoadMetricInformation
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::NodeLoadMetricInformation
- 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
-
#buffered_node_capacity_remaining ⇒ String
NodeBufferPercentage for this metric on the node.
-
#current_node_load ⇒ String
Current load on the node for this metric.
-
#is_capacity_violation ⇒ Boolean
metric on the node.
-
#name ⇒ String
provided.
-
#node_buffered_capacity ⇒ String
this metric on the node.
-
#node_capacity ⇒ String
Total capacity on the node for this metric.
-
#node_capacity_remaining ⇒ String
The remaining capacity on the node for the metric.
-
#node_load ⇒ String
releases of Service Fabric this parameter will be deprecated in favor of CurrentNodeLoad.
-
#node_remaining_buffered_capacity ⇒ String
node.
-
#node_remaining_capacity ⇒ String
future releases of Service Fabric this parameter will be deprecated in favor of NodeCapacityRemaining.
-
#planned_node_load_removal ⇒ String
are planned to be removed in the future.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NodeLoadMetricInformation class as Ruby Hash.
Instance Attribute Details
#buffered_node_capacity_remaining ⇒ String
NodeBufferPercentage for this metric on the node.
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_load ⇒ String
Returns 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_violation ⇒ Boolean
metric on the node.
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 |
#name ⇒ String
provided.
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_capacity ⇒ String
this metric on the node.
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_capacity ⇒ String
Returns 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_remaining ⇒ String
Returns 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_load ⇒ String
releases of Service Fabric this parameter will be deprecated in favor of CurrentNodeLoad.
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_capacity ⇒ String
node. In future releases of Service Fabric this parameter will be deprecated in favor of BufferedNodeCapacityRemaining.
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_capacity ⇒ String
future releases of Service Fabric this parameter will be deprecated in favor of NodeCapacityRemaining.
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_removal ⇒ String
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.
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
.mapper ⇒ Object
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 |