class Azure::ServiceFabric::V6_5_0_36::Models::LoadMetricReport
Represents the load metric report which contains the time metric was reported, its name and value.
Attributes
current_value[RW]
@return [String] The value of the load metric.
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. 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 LoadMetricReport
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_report.rb, line 35 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' } }, current_value: { client_side_validation: true, required: false, serialized_name: 'CurrentValue', type: { name: 'String' } } } } } end