# 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 # # Cosmos DB options resource object # class OptionsResource include MsRestAzure # @return [Integer] Value of the Cosmos DB resource throughput. Use the # ThroughputSetting resource when retrieving offer details. attr_accessor :throughput # # Mapper for OptionsResource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OptionsResource', type: { name: 'Composite', class_name: 'OptionsResource', model_properties: { throughput: { client_side_validation: true, required: false, serialized_name: 'throughput', type: { name: 'Number' } } } } } end end end end