Class: Azure::ARM::Insights::Models::RuleDataSource
- Inherits:
-
Object
- Object
- Azure::ARM::Insights::Models::RuleDataSource
- 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
-
.mapper ⇒ Object
Mapper for RuleDataSource class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ RuleDataSource
constructor
A new instance of RuleDataSource.
Constructor Details
#initialize ⇒ RuleDataSource
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
.mapper ⇒ Object
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 |