class Azure::ARM::Insights::Models::RuleDataSource
The resource from which the rule collects its data.
Attributes
odata[RW]
Public Class Methods
mapper()
click to toggle source
Mapper for RuleDataSource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/generated/azure_mgmt_insights/models/rule_data_source.rb, line 30 def self.mapper() { required: false, serialized_name: 'RuleDataSource', type: { name: 'Composite', polymorphic_discriminator: 'odata.type', uber_parent: 'RuleDataSource', class_name: 'RuleDataSource', model_properties: { } } } end
new()
click to toggle source
# File lib/generated/azure_mgmt_insights/models/rule_data_source.rb, line 19 def initialize @odata.type = "RuleDataSource" end