class Azure::ServiceFabric::V6_4_0_36::Models::NodeLoadMetricInformation

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

Attributes

is_capacity_violation[RW]

@return [Boolean] Indicates if there is a capacity violation for this metric on the node.

name[RW]

@return [String] Name of the metric for which this load information is provided.

node_buffered_capacity[RW]

@return [String] The value that indicates the reserved capacity for this metric on the node.

node_capacity[RW]

@return [String] Total capacity on the node for this metric.

node_load[RW]

@return [String] Current load on the node for this metric.

node_remaining_buffered_capacity[RW]

@return [String] The remaining reserved capacity for this metric on the node.

node_remaining_capacity[RW]

@return [String] The remaining capacity on the node for this metric.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.4.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb, line 46
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'
          }
        }
      }
    }
  }
end