Sha256: 0e1e7917bfa38eb05ca3c0631d063eb4020c2b12e8f3c5af1fcf26fb3b253998

Contents?: true

Size: 1.54 KB

Versions: 5

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::V2020_04_01
  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

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.24.0 lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.23.1 lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.22.0 lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb
azure_mgmt_cosmosdb-0.21.2 lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb