class Azure::ARM::Insights::Models::RuleCondition
The condition that results in the alert rule being activated.
Attributes
odata[RW]
Public Class Methods
mapper()
click to toggle source
Mapper for RuleCondition
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/generated/azure_mgmt_insights/models/rule_condition.rb, line 31 def self.mapper() { required: false, serialized_name: 'RuleCondition', type: { name: 'Composite', polymorphic_discriminator: 'odata.type', uber_parent: 'RuleCondition', class_name: 'RuleCondition', model_properties: { } } } end
new()
click to toggle source
# File lib/generated/azure_mgmt_insights/models/rule_condition.rb, line 20 def initialize @odata.type = "RuleCondition" end