Class: Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::NonSqlDataMigrationTableResult
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::NonSqlDataMigrationTableResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb
Overview
Object used to report the data migration results of a table
Instance Attribute Summary collapse
-
#elapsed_time_in_miliseconds ⇒ Float
Time taken to migrate the data.
-
#errors ⇒ Array<DataMigrationError>
migration.
-
#result_code ⇒ DataMigrationResultCode
Possible values include: ‘Initial’, ‘Completed’, ‘ObjectNotExistsInSource’, ‘ObjectNotExistsInTarget’, ‘TargetObjectIsInaccessible’, ‘FatalError’.
-
#source_name ⇒ String
Name of the source table.
-
#source_row_count ⇒ Integer
Number of rows in the source table.
-
#target_name ⇒ String
Name of the target table.
-
#target_row_count ⇒ Integer
Number of rows in the target table.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NonSqlDataMigrationTableResult class as Ruby Hash.
Instance Attribute Details
#elapsed_time_in_miliseconds ⇒ Float
34 35 36 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb', line 34 def elapsed_time_in_miliseconds @elapsed_time_in_miliseconds end |
#errors ⇒ Array<DataMigrationError>
migration
38 39 40 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb', line 38 def errors @errors end |
#result_code ⇒ DataMigrationResultCode
Possible values include: ‘Initial’, ‘Completed’, ‘ObjectNotExistsInSource’, ‘ObjectNotExistsInTarget’, ‘TargetObjectIsInaccessible’, ‘FatalError’
19 20 21 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb', line 19 def result_code @result_code end |
#source_name ⇒ String
22 23 24 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb', line 22 def source_name @source_name end |
#source_row_count ⇒ Integer
28 29 30 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb', line 28 def source_row_count @source_row_count end |
#target_name ⇒ String
25 26 27 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb', line 25 def target_name @target_name end |
#target_row_count ⇒ Integer
31 32 33 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb', line 31 def target_row_count @target_row_count end |
Class Method Details
.mapper ⇒ Object
Mapper for NonSqlDataMigrationTableResult class as Ruby Hash. This will be used for serialization/deserialization.
45 46 47 48 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 122 123 124 125 126 127 128 129 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb', line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NonSqlDataMigrationTableResult', type: { name: 'Composite', class_name: 'NonSqlDataMigrationTableResult', model_properties: { result_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'resultCode', type: { name: 'String' } }, source_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sourceName', type: { name: 'String' } }, target_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetName', type: { name: 'String' } }, source_row_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sourceRowCount', type: { name: 'Number' } }, target_row_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetRowCount', type: { name: 'Number' } }, elapsed_time_in_miliseconds: { client_side_validation: true, required: false, read_only: true, serialized_name: 'elapsedTimeInMiliseconds', type: { name: 'Double' } }, errors: { client_side_validation: true, required: false, read_only: true, serialized_name: 'errors', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DataMigrationErrorElementType', type: { name: 'Composite', class_name: 'DataMigrationError' } } } } } } } end |