class Azure::ServiceFabric::V6_4_0_36::Models::LoadMetricReportInfo

Information about load reported by replica.

Attributes

current_value[RW]

@return [String] The double value of the load for the metric.

last_reported_utc[RW]

@return [DateTime] The UTC time when the load is reported.

name[RW]

@return [String] The name of the metric.

value[RW]

@return [Integer] The value of the load for the metric. In future releases of Service Fabric this parameter will be deprecated in favor of CurrentValue.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report_info.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LoadMetricReportInfo',
    type: {
      name: 'Composite',
      class_name: 'LoadMetricReportInfo',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Value',
          type: {
            name: 'Number'
          }
        },
        current_value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CurrentValue',
          type: {
            name: 'String'
          }
        },
        last_reported_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LastReportedUtc',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end