Class: Azure::ServiceFabric::V6_4_0_36::Models::LoadMetricReportInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::LoadMetricReportInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report_info.rb
Overview
Information about load reported by replica.
Instance Attribute Summary collapse
-
#current_value ⇒ String
The double value of the load for the metric.
-
#last_reported_utc ⇒ DateTime
The UTC time when the load is reported.
-
#name ⇒ String
The name of the metric.
-
#value ⇒ Integer
releases of Service Fabric this parameter will be deprecated in favor of CurrentValue.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LoadMetricReportInfo class as Ruby Hash.
Instance Attribute Details
#current_value ⇒ String
Returns The double value of the load for the metric.
24 25 26 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report_info.rb', line 24 def current_value @current_value end |
#last_reported_utc ⇒ DateTime
Returns The UTC time when the load is reported.
27 28 29 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report_info.rb', line 27 def last_reported_utc @last_reported_utc end |
#name ⇒ String
Returns The name of the metric.
16 17 18 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report_info.rb', line 16 def name @name end |
#value ⇒ Integer
releases of Service Fabric this parameter will be deprecated in favor of CurrentValue.
21 22 23 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report_info.rb', line 21 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for LoadMetricReportInfo class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# 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 |