Sha256: 821cfe00ff0a0241e76fcaadd894521f2a52b58d39f50b94181dd17f5596b0b3

Contents?: true

Size: 1.49 KB

Versions: 10

Compression:

Stored size: 1.49 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::V2016_03_01
  module Models
    #
    # Name of a metric for any resource .
    #
    class ResourceMetricName

      include MsRestAzure

      # @return [String] metric name value.
      attr_accessor :value

      # @return [String] Localized metric name value.
      attr_accessor :localized_value


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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
azure_mgmt_web-0.18.0 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
azure_mgmt_web-0.17.6 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
azure_mgmt_web-0.17.5 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
azure_mgmt_web-0.17.4 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
azure_mgmt_web-0.17.3 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
azure_mgmt_web-0.17.2 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
azure_mgmt_web-0.17.1 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
azure_mgmt_web-0.17.0 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
azure_mgmt_web-0.16.0 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb