Sha256: 3c0a7eb8bd642cd2d88f2edaaf00b7c84e23c4eda053ff6b4be16a9b278437f3

Contents?: true

Size: 1.58 KB

Versions: 5

Compression:

Stored size: 1.58 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_03_01
  module Models
    #
    # The response to a list partition metrics request.
    #
    class PartitionMetricListResult

      include MsRestAzure

      # @return [Array<PartitionMetric>] The list of partition-level metrics
      # for the account.
      attr_accessor :value


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

Version data entries

5 entries across 5 versions & 1 rubygems

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