Class: Azure::ARM::Insights::Models::RuleCondition
- Inherits:
-
Object
- Object
- Azure::ARM::Insights::Models::RuleCondition
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_insights/models/rule_condition.rb
Overview
The condition that results in the alert rule being activated.
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RuleCondition class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ RuleCondition
constructor
A new instance of RuleCondition.
Constructor Details
#initialize ⇒ RuleCondition
Returns a new instance of RuleCondition.
20 21 22 |
# File 'lib/generated/azure_mgmt_insights/models/rule_condition.rb', line 20 def initialize @odata.type = "RuleCondition" end |
Class Method Details
.mapper ⇒ Object
Mapper for RuleCondition class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# 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 |