Class: Azure::ARM::Insights::Models::RuleDataSource

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_insights/models/rule_data_source.rb

Overview

The resource from which the rule collects its data.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRuleDataSource

Returns a new instance of RuleDataSource.



19
20
21
# File 'lib/generated/azure_mgmt_insights/models/rule_data_source.rb', line 19

def initialize
  @odata.type = "RuleDataSource"
end

Class Method Details

.mapperObject

Mapper for RuleDataSource class as Ruby Hash. This will be used for serialization/deserialization.



30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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