Sha256: 9d7a6d41c642f2bf18babf6cd83777aaf9212bf769cb05f2b67069e92092f576
Contents?: true
Size: 1.63 KB
Versions: 5
Compression:
Stored size: 1.63 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 # # Cosmos DB options resource object # class OptionsResource include MsRestAzure # @return [Integer] Value of the Cosmos DB resource throughput or # autoscaleSettings. Use the ThroughputSetting resource when retrieving # offer details. attr_accessor :throughput # @return [AutoscaleSettings] Specifies the Autoscale settings. attr_accessor :autoscale_settings # # 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' } }, autoscale_settings: { client_side_validation: true, required: false, serialized_name: 'autoscaleSettings', type: { name: 'Composite', class_name: 'AutoscaleSettings' } } } } } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems