class Azure::Monitor::Mgmt::V2016_03_01::Models::RuleAction
The action that is performed when the alert rule becomes active, and when an alert condition is resolved.
Attributes
odatatype[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for RuleAction
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_action.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RuleAction', type: { name: 'Composite', polymorphic_discriminator: 'odata.type', uber_parent: 'RuleAction', class_name: 'RuleAction', model_properties: { } } } end
new()
click to toggle source
# File lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_action.rb, line 20 def initialize @odatatype = "RuleAction" end