Sha256: 2b83fd817d70bab5d4d60f63e71df2b50f542d3d9f020887eca8445edc9de1f8
Contents?: true
Size: 1.25 KB
Versions: 1
Compression:
Stored size: 1.25 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Monitor module Models # # The action that is performed when the alert rule becomes active, and when # an alert condition is resolved. # class RuleAction include MsRestAzure include MsRest::JSONable @@discriminatorMap = Hash.new @@discriminatorMap["Microsoft.Azure.Management.Insights.Models.RuleEmailAction"] = "RuleEmailAction" @@discriminatorMap["Microsoft.Azure.Management.Insights.Models.RuleWebhookAction"] = "RuleWebhookAction" def initialize @odata.type = "RuleAction" end attr_accessor :odata.type # # Mapper for RuleAction class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'RuleAction', type: { name: 'Composite', polymorphic_discriminator: 'odata.type', uber_parent: 'RuleAction', class_name: 'RuleAction', model_properties: { } } } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_monitor-0.13.0 | lib/generated/azure_mgmt_monitor/models/rule_action.rb |