Sha256: 56507e0a98e01aeab4d441ca6733d0bfaf2b94af5710b49e100f205cd30a00aa

Contents?: true

Size: 1.4 KB

Versions: 9

Compression:

Stored size: 1.4 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::Web::Mgmt::V2018_02_01
  module Models
    #
    # Resource metric property.
    #
    class ResourceMetricProperty

      include MsRestAzure

      # @return [String] Key for resource metric property.
      attr_accessor :key

      # @return [String] Value of pair.
      attr_accessor :value


      #
      # Mapper for ResourceMetricProperty class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ResourceMetricProperty',
          type: {
            name: 'Composite',
            class_name: 'ResourceMetricProperty',
            model_properties: {
              key: {
                client_side_validation: true,
                required: false,
                serialized_name: 'key',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb
azure_mgmt_web-0.18.0 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb
azure_mgmt_web-0.17.6 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb
azure_mgmt_web-0.17.5 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb
azure_mgmt_web-0.17.4 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb
azure_mgmt_web-0.17.3 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb
azure_mgmt_web-0.17.2 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb
azure_mgmt_web-0.17.1 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb
azure_mgmt_web-0.17.0 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb