Class: Azure::Cosmosdb::Mgmt::V2020_03_01::Models::MongoDBDatabaseGetPropertiesOptions

Inherits:
OptionsResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_options.rb

Overview

Model object.

Instance Attribute Summary

Attributes inherited from OptionsResource

#throughput

Class Method Summary collapse

Class Method Details

.mapperObject

Mapper for MongoDBDatabaseGetPropertiesOptions class as Ruby Hash. This will be used for serialization/deserialization.



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_options.rb', line 21

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MongoDBDatabaseGetProperties_options',
    type: {
      name: 'Composite',
      class_name: 'MongoDBDatabaseGetPropertiesOptions',
      model_properties: {
        throughput: {
          client_side_validation: true,
          required: false,
          serialized_name: 'throughput',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end