Sha256: 6fa4de42c727ed4f6cb1273ef8d87f9783c7bd4eeb7e491f3f22516ad63460f6
Contents?: true
Size: 1.99 KB
Versions: 7
Compression:
Stored size: 1.99 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::Monitor::Mgmt::V2018_03_01 module Models # # Specifies a metric dimension. # class MetricDimension include MsRestAzure # @return [String] Name of the dimension. attr_accessor :name # @return [String] the dimension operator. attr_accessor :operator # @return [Array<String>] list of dimension values. attr_accessor :values # # Mapper for MetricDimension class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MetricDimension', type: { name: 'Composite', class_name: 'MetricDimension', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, operator: { client_side_validation: true, required: true, serialized_name: 'operator', type: { name: 'String' } }, values: { client_side_validation: true, required: true, serialized_name: 'values', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems