class Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse
The response to a baseline query.
Attributes
@return [String] The aggregation type of the metric.
@return [Array<Baseline>] the baseline values for each sensitivity.
@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 [Array<BaselineMetadataValue>] the baseline metadata values.
@return [LocalizableString] the name and the display name of the metric, i.e. it is localizable string.
@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 [Array<DateTime>] the array of timestamps of the baselines.
@return [String] the resource type of the baseline resource.
Private Class Methods
Mapper for BaselineResponse
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-11-01-preview/generated/azure_mgmt_monitor/models/baseline_response.rb, line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BaselineResponse', type: { name: 'Composite', class_name: 'BaselineResponse', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'Composite', class_name: 'LocalizableString' } }, timespan: { client_side_validation: true, required: false, serialized_name: 'properties.timespan', type: { name: 'String' } }, interval: { client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { name: 'TimeSpan' } }, aggregation: { client_side_validation: true, required: false, serialized_name: 'properties.aggregation', type: { name: 'String' } }, timestamps: { client_side_validation: true, required: false, serialized_name: 'properties.timestamps', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DateTimeElementType', type: { name: 'DateTime' } } } }, baseline: { client_side_validation: true, required: false, serialized_name: 'properties.baseline', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'BaselineElementType', type: { name: 'Composite', class_name: 'Baseline' } } } }, metadata: { client_side_validation: true, required: false, serialized_name: 'properties.metadata', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'BaselineMetadataValueElementType', type: { name: 'Composite', class_name: 'BaselineMetadataValue' } } } } } } } end