Class: Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::MongoDbMigrationSettings
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::MongoDbMigrationSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_settings.rb
Overview
Describes how a MongoDB data migration should be performed
Instance Attribute Summary collapse
-
#boost_rus ⇒ Integer
will be temporarily increased to (if lower) during the initial copy of a migration, from 10,000 to 1,000,000, or 0 to use the default boost (which is generally the maximum), or null to not boost the RUs.
-
#databases ⇒ Hash{String => MongoDbDatabaseSettings}
source cluster to migrate to the target.
-
#replication ⇒ MongoDbReplication
from the source to the target.
-
#source ⇒ MongoDbConnectionInfo
cluster.
-
#target ⇒ MongoDbConnectionInfo
cluster.
-
#throttling ⇒ MongoDbThrottlingSettings
usage of the migration.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MongoDbMigrationSettings class as Ruby Hash.
Instance Attribute Details
#boost_rus ⇒ Integer
will be temporarily increased to (if lower) during the initial copy of a migration, from 10,000 to 1,000,000, or 0 to use the default boost (which is generally the maximum), or null to not boost the RUs. This setting has no effect on non-CosmosDB targets.
20 21 22 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_settings.rb', line 20 def boost_rus @boost_rus end |
#databases ⇒ Hash{String => MongoDbDatabaseSettings}
source cluster to migrate to the target. The keys are the names of the databases.
25 26 27 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_settings.rb', line 25 def databases @databases end |
#replication ⇒ MongoDbReplication
from the source to the target. The default is OneTime. Possible values include: ‘Disabled’, ‘OneTime’, ‘Continuous’
30 31 32 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_settings.rb', line 30 def replication @replication end |
#source ⇒ MongoDbConnectionInfo
cluster
34 35 36 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_settings.rb', line 34 def source @source end |
#target ⇒ MongoDbConnectionInfo
cluster
38 39 40 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_settings.rb', line 38 def target @target end |
#throttling ⇒ MongoDbThrottlingSettings
usage of the migration
42 43 44 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_settings.rb', line 42 def throttling @throttling end |
Class Method Details
.mapper ⇒ Object
Mapper for MongoDbMigrationSettings class as Ruby Hash. This will be used for serialization/deserialization.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_settings.rb', line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MongoDbMigrationSettings', type: { name: 'Composite', class_name: 'MongoDbMigrationSettings', model_properties: { boost_rus: { client_side_validation: true, required: false, serialized_name: 'boostRUs', type: { name: 'Number' } }, databases: { client_side_validation: true, required: true, serialized_name: 'databases', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'MongoDbDatabaseSettingsElementType', type: { name: 'Composite', class_name: 'MongoDbDatabaseSettings' } } } }, replication: { client_side_validation: true, required: false, serialized_name: 'replication', type: { name: 'String' } }, source: { client_side_validation: true, required: true, serialized_name: 'source', type: { name: 'Composite', class_name: 'MongoDbConnectionInfo' } }, target: { client_side_validation: true, required: true, serialized_name: 'target', type: { name: 'Composite', class_name: 'MongoDbConnectionInfo' } }, throttling: { client_side_validation: true, required: false, serialized_name: 'throttling', type: { name: 'Composite', class_name: 'MongoDbThrottlingSettings' } } } } } end |