Sha256: 36ec2e5b314187850e7f5fa4b054efc5b79fb9c563d9b084d5132bcf6137e157
Contents?: true
Size: 1.77 KB
Versions: 2
Compression:
Stored size: 1.77 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Monitor module Models # # A rule metric data source. The discriminator value is always # RuleMetricDataSource in this case. # class RuleMetricDataSource < RuleDataSource include MsRestAzure include MsRest::JSONable def initialize @odata.type = "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource" end attr_accessor :odata.type # @return [String] the name of the metric that defines what the rule # monitors. attr_accessor :metric_name # # Mapper for RuleMetricDataSource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource', type: { name: 'Composite', class_name: 'RuleMetricDataSource', model_properties: { resource_uri: { required: false, serialized_name: 'resourceUri', type: { name: 'String' } }, odata.type: { required: true, serialized_name: 'odata\\.type', type: { name: 'String' } }, metric_name: { required: false, serialized_name: 'metricName', type: { name: 'String' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_monitor-0.12.0 | lib/generated/azure_mgmt_monitor/models/rule_metric_data_source.rb |
azure_mgmt_monitor-0.11.0 | lib/generated/azure_mgmt_monitor/models/rule_metric_data_source.rb |