Sha256: 57add1cbfeda2fde713089a4a7ff365c935ca7e23b53cea99943b1436b407909
Contents?: true
Size: 1.7 KB
Versions: 12
Compression:
Stored size: 1.7 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::Monitor::Mgmt::V2016_03_01 module Models # # The resource from which the rule collects its data. # class RuleDataSource include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"] = "RuleMetricDataSource" @@discriminatorMap["Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"] = "RuleManagementEventDataSource" def initialize @odatatype = "RuleDataSource" end attr_accessor :odatatype # @return [String] the resource identifier of the resource the rule # monitors. **NOTE**: this property cannot be updated for an existing # rule. attr_accessor :resource_uri # # Mapper for RuleDataSource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RuleDataSource', type: { name: 'Composite', polymorphic_discriminator: 'odata.type', uber_parent: 'RuleDataSource', class_name: 'RuleDataSource', model_properties: { resource_uri: { client_side_validation: true, required: false, serialized_name: 'resourceUri', type: { name: 'String' } } } } } end end end end
Version data entries
12 entries across 12 versions & 1 rubygems