Sha256: c897d1645fd606c20b18fd7671b3ea4909ce51eb41ef823fb1252ada2d7a8518

Contents?: true

Size: 1.59 KB

Versions: 11

Compression:

Stored size: 1.59 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 response to a list partition level usage request.
    #
    class PartitionUsagesResult

      include MsRestAzure

      # @return [Array<PartitionUsage>] The list of partition-level usages for
      # the database. A usage is a point in time metric
      attr_accessor :value


      #
      # Mapper for PartitionUsagesResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionUsagesResult',
          type: {
            name: 'Composite',
            class_name: 'PartitionUsagesResult',
            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: 'PartitionUsageElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'PartitionUsage'
                      }
                  }
                }
              }
            }
          }
        }
      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/partition_usages_result.rb
azure_mgmt_cosmosdb-0.24.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb
azure_mgmt_cosmosdb-0.23.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb
azure_mgmt_cosmosdb-0.22.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb
azure_mgmt_cosmosdb-0.21.2 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb
azure_mgmt_cosmosdb-0.21.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb
azure_mgmt_cosmosdb-0.21.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb
azure_mgmt_cosmosdb-0.20.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb
azure_mgmt_cosmosdb-0.19.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb
azure_mgmt_cosmosdb-0.18.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb
azure_mgmt_cosmosdb-0.17.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb