Class: Azure::Cosmosdb::Mgmt::V2020_04_01::Models::OptionsResource
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2020_04_01::Models::OptionsResource
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/options_resource.rb
Overview
Cosmos DB options resource object
Direct Known Subclasses
CassandraKeyspaceGetPropertiesOptions, CassandraTableGetPropertiesOptions, GremlinDatabaseGetPropertiesOptions, GremlinGraphGetPropertiesOptions, MongoDBCollectionGetPropertiesOptions, MongoDBDatabaseGetPropertiesOptions, SqlContainerGetPropertiesOptions, SqlDatabaseGetPropertiesOptions, TableGetPropertiesOptions
Instance Attribute Summary collapse
-
#autoscale_settings ⇒ AutoscaleSettings
Specifies the Autoscale settings.
-
#throughput ⇒ Integer
autoscaleSettings.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OptionsResource class as Ruby Hash.
Instance Attribute Details
#autoscale_settings ⇒ AutoscaleSettings
Returns Specifies the Autoscale settings.
21 22 23 |
# File 'lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/options_resource.rb', line 21 def autoscale_settings @autoscale_settings end |
#throughput ⇒ Integer
autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
18 19 20 |
# File 'lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/options_resource.rb', line 18 def throughput @throughput end |
Class Method Details
.mapper ⇒ Object
Mapper for OptionsResource class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/options_resource.rb', line 28 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 |