class Azure::ServiceFabric::V6_2_0_9::Models::LoadMetricReport

Represents the load metric report which contains the time metric was reported, its name and value.

Attributes

last_reported_utc[RW]

@return [DateTime] Gets the UTC time when the load was reported.

name[RW]

@return [String] The name of the load metric.

value[RW]

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

Public Class Methods

mapper() click to toggle source

Mapper for LoadMetricReport 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.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LoadMetricReport',
    type: {
      name: 'Composite',
      class_name: 'LoadMetricReport',
      model_properties: {
        last_reported_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LastReportedUtc',
          type: {
            name: 'DateTime'
          }
        },
        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: 'String'
          }
        }
      }
    }
  }
end