Sha256: c3a1c292b95442e7b69dde8b7d0c3bb1ce5013a8cf41a21da4f5c665e75e5b9e
Contents?: true
Size: 1.94 KB
Versions: 2
Compression:
Stored size: 1.94 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_monitor-0.12.0 | lib/generated/azure_mgmt_monitor/models/rule_condition.rb |
azure_mgmt_monitor-0.11.0 | lib/generated/azure_mgmt_monitor/models/rule_condition.rb |