Sha256: 040a63fa11e30d39d64c9ee6e6264d442e75359f0d1325bfecf55e3a185477d4
Contents?: true
Size: 1.76 KB
Versions: 1
Compression:
Stored size: 1.76 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_monitor-0.13.0 | lib/generated/azure_mgmt_monitor/models/rule_metric_data_source.rb |