Sha256: 35489b3657ba81cb52b3160fac61aecc7b983fa537dd4654c6b8e1b639029c40

Contents?: true

Size: 1.54 KB

Versions: 11

Compression:

Stored size: 1.54 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::Cosmosdb::Mgmt::V2015_04_08
  module Models
    #
    # The availability of the metric.
    #
    class MetricAvailability

      include MsRestAzure

      # @return [String] The time grain to be used to summarize the metric
      # values.
      attr_accessor :time_grain

      # @return [String] The retention for the metric values.
      attr_accessor :retention


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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.24.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.23.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.22.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.21.2 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.21.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.21.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.20.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.19.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.18.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.17.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb