class Azure::ARM::Insights::Models::RuleAction
The action that is performed when the alert rule becomes active, and when an alert condition is resolved.
Attributes
odata[RW]
Public Class Methods
mapper()
click to toggle source
Mapper for RuleAction
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/generated/azure_mgmt_insights/models/rule_action.rb, line 31 def self.mapper() { 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/generated/azure_mgmt_insights/models/rule_action.rb, line 20 def initialize @odata.type = "RuleAction" end