Class: Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::MongoDbThrottlingSettings
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::MongoDbThrottlingSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_throttling_settings.rb
Overview
Specifies resource limits for the migration
Instance Attribute Summary collapse
-
#max_parallelism ⇒ Integer
copies) that will be processed in parallel.
-
#min_free_cpu ⇒ Integer
to avoid using, from 0 to 100.
-
#min_free_memory_mb ⇒ Integer
try to avoid using.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MongoDbThrottlingSettings class as Ruby Hash.
Instance Attribute Details
#max_parallelism ⇒ Integer
copies) that will be processed in parallel
25 26 27 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_throttling_settings.rb', line 25 def max_parallelism @max_parallelism end |
#min_free_cpu ⇒ Integer
to avoid using, from 0 to 100
17 18 19 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_throttling_settings.rb', line 17 def min_free_cpu @min_free_cpu end |
#min_free_memory_mb ⇒ Integer
try to avoid using
21 22 23 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_throttling_settings.rb', line 21 def min_free_memory_mb @min_free_memory_mb end |
Class Method Details
.mapper ⇒ Object
Mapper for MongoDbThrottlingSettings class as Ruby Hash. This will be used for serialization/deserialization.
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 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_throttling_settings.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MongoDbThrottlingSettings', type: { name: 'Composite', class_name: 'MongoDbThrottlingSettings', model_properties: { min_free_cpu: { client_side_validation: true, required: false, serialized_name: 'minFreeCpu', type: { name: 'Number' } }, min_free_memory_mb: { client_side_validation: true, required: false, serialized_name: 'minFreeMemoryMb', type: { name: 'Number' } }, max_parallelism: { client_side_validation: true, required: false, serialized_name: 'maxParallelism', type: { name: 'Number' } } } } } end |