Class: Azure::ServiceFabric::V6_4_0_36::Models::LoadMetricReport
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::LoadMetricReport
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report.rb
Overview
Represents the load metric report which contains the time metric was reported, its name and value.
Instance Attribute Summary collapse
-
#current_value ⇒ String
The value of the load metric.
-
#last_reported_utc ⇒ DateTime
Gets the UTC time when the load was reported.
-
#name ⇒ String
The name of the load metric.
-
#value ⇒ String
Service Fabric this parameter will be deprecated in favor of CurrentValue.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LoadMetricReport class as Ruby Hash.
Instance Attribute Details
#current_value ⇒ String
Returns The value of the load metric.
28 29 30 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report.rb', line 28 def current_value @current_value end |
#last_reported_utc ⇒ DateTime
Returns Gets the UTC time when the load was reported.
17 18 19 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report.rb', line 17 def last_reported_utc @last_reported_utc end |
#name ⇒ String
Returns The name of the load metric.
20 21 22 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report.rb', line 20 def name @name end |
#value ⇒ String
Service Fabric this parameter will be deprecated in favor of CurrentValue.
25 26 27 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/load_metric_report.rb', line 25 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for LoadMetricReport class as Ruby Hash. This will be used for serialization/deserialization.
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 79 |
# File 'lib/6.4.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 |