class Azure::ARM::Insights::Models::ManagementEventAggregationCondition

How the data that is collected should be combined over time.

Attributes

operator[RW]

@return [ConditionOperator] the condition operator. Possible values include: ‘GreaterThan’, ‘GreaterThanOrEqual’, ‘LessThan’, ‘LessThanOrEqual’

threshold[RW]

@return [Float] The threshold value that activates the alert.

window_size[RW]

@return [Duration] the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.

Public Class Methods

mapper() click to toggle source

Mapper for ManagementEventAggregationCondition class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/generated/azure_mgmt_insights/models/management_event_aggregation_condition.rb, line 33
def self.mapper()
  {
    required: false,
    serialized_name: 'ManagementEventAggregationCondition',
    type: {
      name: 'Composite',
      class_name: 'ManagementEventAggregationCondition',
      model_properties: {
        operator: {
          required: false,
          serialized_name: 'operator',
          type: {
            name: 'Enum',
            module: 'ConditionOperator'
          }
        },
        threshold: {
          required: false,
          serialized_name: 'threshold',
          type: {
            name: 'Double'
          }
        },
        window_size: {
          required: false,
          serialized_name: 'windowSize',
          type: {
            name: 'TimeSpan'
          }
        }
      }
    }
  }
end