class Azure::ServiceFabric::V6_2_0_9::Models::LoadMetricReportInfo

Information about load reported by replica.

Attributes

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..

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.2.0.9/generated/azure_service_fabric/models/load_metric_report_info.rb, line 29
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'
          }
        },
        last_reported_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LastReportedUtc',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end