Sha256: ac62450676b839c2213c90a518504e9c29421391dfca30a8c306d09b6a89ae04
Contents?: true
Size: 1.94 KB
Versions: 1
Compression:
Stored size: 1.94 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 condition that results in the alert rule being activated. # class RuleCondition include MsRestAzure include MsRest::JSONable @@discriminatorMap = Hash.new @@discriminatorMap["Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"] = "ThresholdRuleCondition" @@discriminatorMap["Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition"] = "LocationThresholdRuleCondition" @@discriminatorMap["Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"] = "ManagementEventRuleCondition" def initialize @odata.type = "RuleCondition" end attr_accessor :odata.type # @return [RuleDataSource] the resource from which the rule collects its # data. For this type dataSource will always be of type # RuleMetricDataSource. attr_accessor :data_source # # Mapper for RuleCondition class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'RuleCondition', type: { name: 'Composite', polymorphic_discriminator: 'odata.type', uber_parent: 'RuleCondition', class_name: 'RuleCondition', model_properties: { data_source: { required: false, serialized_name: 'dataSource', type: { name: 'Composite', polymorphic_discriminator: 'odata.type', uber_parent: 'RuleDataSource', class_name: 'RuleDataSource' } } } } } 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_condition.rb |