class Azure::Monitor::Mgmt::V2018_03_01::Models::DynamicThresholdFailingPeriods
The minimum number of violations required within the selected lookback time window required to raise an alert.
Attributes
min_failing_periods_to_alert[RW]
@return [Float] The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods.
number_of_evaluation_periods[RW]
@return [Float] The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points.
Private Class Methods
mapper()
click to toggle source
Mapper for DynamicThresholdFailingPeriods
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-03-01/generated/azure_mgmt_monitor/models/dynamic_threshold_failing_periods.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DynamicThresholdFailingPeriods', type: { name: 'Composite', class_name: 'DynamicThresholdFailingPeriods', model_properties: { number_of_evaluation_periods: { client_side_validation: true, required: true, serialized_name: 'numberOfEvaluationPeriods', type: { name: 'Double' } }, min_failing_periods_to_alert: { client_side_validation: true, required: true, serialized_name: 'minFailingPeriodsToAlert', type: { name: 'Double' } } } } } end