class Azure::Monitor::Mgmt::V2019_03_01::Models::SingleMetricBaseline
The baseline results of a single metric.
Attributes
@return [Array<TimeSeriesBaseline>] The baseline for each time series that was queried.
@return [String] The metric baseline Id.
@return [Duration] The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made.
@return [String] The name of the metric for which the baselines were retrieved.
@return [String] The namespace of the metrics been queried.
@return [String] The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested.
@return [String] The resource type of the metric baseline resource.
Private Class Methods
Mapper for SingleMetricBaseline
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-03-01/generated/azure_mgmt_monitor/models/single_metric_baseline.rb, line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SingleMetricBaseline', type: { name: 'Composite', class_name: 'SingleMetricBaseline', model_properties: { id: { client_side_validation: true, required: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, timespan: { client_side_validation: true, required: true, serialized_name: 'properties.timespan', type: { name: 'String' } }, interval: { client_side_validation: true, required: true, serialized_name: 'properties.interval', type: { name: 'TimeSpan' } }, namespace: { client_side_validation: true, required: false, serialized_name: 'properties.namespace', type: { name: 'String' } }, baselines: { client_side_validation: true, required: true, serialized_name: 'properties.baselines', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TimeSeriesBaselineElementType', type: { name: 'Composite', class_name: 'TimeSeriesBaseline' } } } } } } } end