Class: Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::MongoDbFinishCommandInput

Inherits:
MongoDbCommandInput
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_finish_command_input.rb

Overview

Describes the input to the ‘finish’ MongoDB migration command

Instance Attribute Summary collapse

Attributes inherited from MongoDbCommandInput

#object_name

Class Method Summary collapse

Instance Attribute Details

#immediateBoolean

stopped immediately. If false, the migrator will finish replaying queued events before finishing the replication.

Returns:

  • (Boolean)

    If true, replication for the affected objects will be



18
19
20
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_finish_command_input.rb', line 18

def immediate
  @immediate
end

Class Method Details

.mapperObject

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



25
26
27
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
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_finish_command_input.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MongoDbFinishCommandInput',
    type: {
      name: 'Composite',
      class_name: 'MongoDbFinishCommandInput',
      model_properties: {
        object_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectName',
          type: {
            name: 'String'
          }
        },
        immediate: {
          client_side_validation: true,
          required: true,
          serialized_name: 'immediate',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end