class Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource
The resource from which the rule collects its data.
Attributes
odatatype[RW]
resource_uri[RW]
@return [String] the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
Private Class Methods
mapper()
click to toggle source
Mapper for RuleDataSource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_data_source.rb, line 35 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
new()
click to toggle source
# File lib/2016-03-01/generated/azure_mgmt_monitor/models/rule_data_source.rb, line 19 def initialize @odatatype = "RuleDataSource" end