class Azure::Web::Mgmt::V2020_09_01::Models::DiagnosticMetricSample
Class representing Diagnostic Metric
Attributes
@return [Boolean] Whether the values are aggregates across all workers or not
@return [Float] Maximum of the metric sampled during the time period
@return [Float] Minimum of the metric sampled during the time period
@return [String] Role Instance. Null if this counter is not per instance This is returned and should be whichever instance name we desire to be returned i.e. CPU and Memory return RDWORKERNAME (LargeDed…_IN_0) where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis
@return [DateTime] Time at which metric is measured
@return [Float] Total value of the metric. If multiple measurements are made this will have sum of all.
Private Class Methods
Mapper for DiagnosticMetricSample
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_metric_sample.rb, line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DiagnosticMetricSample', type: { name: 'Composite', class_name: 'DiagnosticMetricSample', model_properties: { timestamp: { client_side_validation: true, required: false, serialized_name: 'timestamp', type: { name: 'DateTime' } }, role_instance: { client_side_validation: true, required: false, serialized_name: 'roleInstance', type: { name: 'String' } }, total: { client_side_validation: true, required: false, serialized_name: 'total', type: { name: 'Double' } }, maximum: { client_side_validation: true, required: false, serialized_name: 'maximum', type: { name: 'Double' } }, minimum: { client_side_validation: true, required: false, serialized_name: 'minimum', type: { name: 'Double' } }, is_aggregated: { client_side_validation: true, required: false, serialized_name: 'isAggregated', type: { name: 'Boolean' } } } } } end