azure_mgmt_data_migration 0.17.3 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +2 -2
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +2 -2
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/tasks.rb +3 -3
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +2 -2
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +2 -2
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/tasks.rb +3 -3
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +1 -1
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +1 -1
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +2 -2
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +3 -3
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +2 -2
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/tasks.rb +3 -3
- data/lib/2018-04-19/generated/azure_mgmt_data_migration.rb +167 -54
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/azure_active_directory_app.rb +70 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/backup_file_info.rb +70 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/backup_file_status.rb +21 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/backup_mode.rb +16 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/backup_set_info.rb +158 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/backup_type.rb +21 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/command_properties.rb +84 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/command_state.rb +19 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb +75 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_properties.rb +131 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_non_sql_task_output.rb +114 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_input.rb +49 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_output.rb +114 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_properties.rb +133 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_sync_task_properties.rb +135 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +5 -2
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +1 -1
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +2 -3
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +21 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_input.rb +62 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_output.rb +114 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_properties.rb +133 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_input.rb +63 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_output.rb +115 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_properties.rb +133 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +21 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_input.rb +63 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_output.rb +81 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_properties.rb +132 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_input.rb +49 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_output.rb +133 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +132 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_input.rb +61 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_properties.rb +133 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connection_info.rb +5 -2
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_result_code.rb +20 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb +143 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_migration_state.rb +24 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_project_details_non_sql_task_input.rb +58 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_input.rb +82 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_output.rb +85 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_properties.rb +132 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_input.rb +100 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_output.rb +146 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_properties.rb +132 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +21 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/mi_sql_connection_info.rb +78 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_input.rb +47 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_output.rb +57 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_properties.rb +104 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_database_input.rb +120 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_input.rb +82 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output.rb +64 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_database_error.rb +92 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_database_level.rb +245 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_error.rb +74 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_migration_level.rb +133 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_table_level.rb +219 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.rb +135 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_database_input.rb +120 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_input.rb +84 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb +64 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_database_error.rb +93 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_database_level.rb +246 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_error.rb +74 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_migration_level.rb +134 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_table_level.rb +220 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.rb +135 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_database_input.rb +159 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_input.rb +87 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output.rb +63 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_error.rb +92 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_level.rb +245 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_error.rb +73 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_migration_level.rb +145 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_table_level.rb +219 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_properties.rb +134 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +21 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_midatabase_input.rb +91 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_input.rb +97 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output.rb +61 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_database_level.rb +220 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_error.rb +73 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_migration_level.rb +195 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_properties.rb +134 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_input.rb +153 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output.rb +63 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_agent_job_level.rb +157 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_database_level.rb +170 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_error.rb +73 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_login_level.rb +160 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +301 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +134 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb +5 -6
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_input.rb +57 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_output.rb +69 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_properties.rb +103 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +3 -3
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/my_sql_connection_info.rb +88 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/my_sql_target_platform_type.rb +16 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table.rb +46 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb +132 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb +102 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_output.rb +145 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/orphaned_user_info.rb +57 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/postgre_sql_connection_info.rb +99 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb +44 -2
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/reportable_exception.rb +11 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/schema_migration_stage.rb +24 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/selected_certificate_input.rb +58 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +2 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/server_properties.rb +107 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +12 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_server_sql_misync_task_input.rb +121 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_source_platform.rb +15 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb +1 -1
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_database_migration_reporting_state.rb +25 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_migration_database_error_event.rb +71 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_table_migration_state.rb +20 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.rb +133 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_input.rb +98 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_output.rb +83 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_properties.rb +133 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb +140 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_output.rb +184 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +133 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_sync_migration_input_sql_server_task_input.rb +82 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_sync_migration_input_sql_server_task_output.rb +82 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/tasks.rb +3 -3
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_output.rb +4 -21
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/command_properties.rb +2 -2
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +2 -2
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/file_storage_info.rb +1 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_input.rb +13 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +3 -3
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +115 -2
@@ -0,0 +1,104 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::DataMigration::Mgmt::V2018_04_19
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties for the command that completes online migration for an Azure
|
10
|
+
# SQL Database Managed Instance.
|
11
|
+
#
|
12
|
+
class MigrateMISyncCompleteCommandProperties < CommandProperties
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@commandType = "Migrate.SqlServer.AzureDbSqlMi.Complete"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :commandType
|
22
|
+
|
23
|
+
# @return [MigrateMISyncCompleteCommandInput] Command input
|
24
|
+
attr_accessor :input
|
25
|
+
|
26
|
+
# @return [MigrateMISyncCompleteCommandOutput] Command output. This is
|
27
|
+
# ignored if submitted.
|
28
|
+
attr_accessor :output
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for MigrateMISyncCompleteCommandProperties class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'Migrate.SqlServer.AzureDbSqlMi.Complete',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'MigrateMISyncCompleteCommandProperties',
|
43
|
+
model_properties: {
|
44
|
+
errors: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'errors',
|
49
|
+
type: {
|
50
|
+
name: 'Sequence',
|
51
|
+
element: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'ODataErrorElementType',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'ODataError'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
},
|
62
|
+
state: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'state',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
commandType: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: true,
|
74
|
+
serialized_name: 'commandType',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
input: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'input',
|
83
|
+
type: {
|
84
|
+
name: 'Composite',
|
85
|
+
class_name: 'MigrateMISyncCompleteCommandInput'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
output: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'output',
|
93
|
+
type: {
|
94
|
+
name: 'Composite',
|
95
|
+
class_name: 'MigrateMISyncCompleteCommandOutput'
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
@@ -0,0 +1,120 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::DataMigration::Mgmt::V2018_04_19
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Database specific information for MySQL to Azure Database for MySQL
|
10
|
+
# migration task inputs
|
11
|
+
#
|
12
|
+
class MigrateMySqlAzureDbForMySqlSyncDatabaseInput
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Name of the database
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] Name of target database. Note: Target database will be
|
20
|
+
# truncated before starting migration.
|
21
|
+
attr_accessor :target_database_name
|
22
|
+
|
23
|
+
# @return [Hash{String => String}] Migration settings which tune the
|
24
|
+
# migration behavior
|
25
|
+
attr_accessor :migration_setting
|
26
|
+
|
27
|
+
# @return [Hash{String => String}] Source settings to tune source
|
28
|
+
# endpoint migration behavior
|
29
|
+
attr_accessor :source_setting
|
30
|
+
|
31
|
+
# @return [Hash{String => String}] Target settings to tune target
|
32
|
+
# endpoint migration behavior
|
33
|
+
attr_accessor :target_setting
|
34
|
+
|
35
|
+
|
36
|
+
#
|
37
|
+
# Mapper for MigrateMySqlAzureDbForMySqlSyncDatabaseInput class as Ruby
|
38
|
+
# Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'MigrateMySqlAzureDbForMySqlSyncDatabaseInput',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'MigrateMySqlAzureDbForMySqlSyncDatabaseInput',
|
49
|
+
model_properties: {
|
50
|
+
name: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'name',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
target_database_name: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'targetDatabaseName',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
migration_setting: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'migrationSetting',
|
70
|
+
type: {
|
71
|
+
name: 'Dictionary',
|
72
|
+
value: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'StringElementType',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
source_setting: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'sourceSetting',
|
86
|
+
type: {
|
87
|
+
name: 'Dictionary',
|
88
|
+
value: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'StringElementType',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
},
|
98
|
+
target_setting: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'targetSetting',
|
102
|
+
type: {
|
103
|
+
name: 'Dictionary',
|
104
|
+
value: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'StringElementType',
|
108
|
+
type: {
|
109
|
+
name: 'String'
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::DataMigration::Mgmt::V2018_04_19
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Input for the task that migrates MySQL databases to Azure Database for
|
10
|
+
# MySQL for online migrations
|
11
|
+
#
|
12
|
+
class MigrateMySqlAzureDbForMySqlSyncTaskInput
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [MySqlConnectionInfo] Connection information for source MySQL
|
17
|
+
attr_accessor :source_connection_info
|
18
|
+
|
19
|
+
# @return [MySqlConnectionInfo] Connection information for target Azure
|
20
|
+
# Database for MySQL
|
21
|
+
attr_accessor :target_connection_info
|
22
|
+
|
23
|
+
# @return [Array<MigrateMySqlAzureDbForMySqlSyncDatabaseInput>] Databases
|
24
|
+
# to migrate
|
25
|
+
attr_accessor :selected_databases
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for MigrateMySqlAzureDbForMySqlSyncTaskInput class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'MigrateMySqlAzureDbForMySqlSyncTaskInput',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'MigrateMySqlAzureDbForMySqlSyncTaskInput',
|
40
|
+
model_properties: {
|
41
|
+
source_connection_info: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: true,
|
44
|
+
serialized_name: 'sourceConnectionInfo',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'MySqlConnectionInfo'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
target_connection_info: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'targetConnectionInfo',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'MySqlConnectionInfo'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
selected_databases: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: true,
|
62
|
+
serialized_name: 'selectedDatabases',
|
63
|
+
type: {
|
64
|
+
name: 'Sequence',
|
65
|
+
element: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'MigrateMySqlAzureDbForMySqlSyncDatabaseInputElementType',
|
69
|
+
type: {
|
70
|
+
name: 'Composite',
|
71
|
+
class_name: 'MigrateMySqlAzureDbForMySqlSyncDatabaseInput'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::DataMigration::Mgmt::V2018_04_19
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Output for the task that migrates MySQL databases to Azure Database for
|
10
|
+
# MySQL for online migrations
|
11
|
+
#
|
12
|
+
class MigrateMySqlAzureDbForMySqlSyncTaskOutput
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
@@discriminatorMap = Hash.new
|
17
|
+
@@discriminatorMap["DatabaseLevelErrorOutput"] = "MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError"
|
18
|
+
@@discriminatorMap["ErrorOutput"] = "MigrateMySqlAzureDbForMySqlSyncTaskOutputError"
|
19
|
+
@@discriminatorMap["TableLevelOutput"] = "MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel"
|
20
|
+
@@discriminatorMap["DatabaseLevelOutput"] = "MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel"
|
21
|
+
@@discriminatorMap["MigrationLevelOutput"] = "MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel"
|
22
|
+
|
23
|
+
def initialize
|
24
|
+
@resultType = "MigrateMySqlAzureDbForMySqlSyncTaskOutput"
|
25
|
+
end
|
26
|
+
|
27
|
+
attr_accessor :resultType
|
28
|
+
|
29
|
+
# @return [String] Result identifier
|
30
|
+
attr_accessor :id
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for MigrateMySqlAzureDbForMySqlSyncTaskOutput class as Ruby
|
35
|
+
# Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'MigrateMySqlAzureDbForMySqlSyncTaskOutput',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
polymorphic_discriminator: 'resultType',
|
46
|
+
uber_parent: 'MigrateMySqlAzureDbForMySqlSyncTaskOutput',
|
47
|
+
class_name: 'MigrateMySqlAzureDbForMySqlSyncTaskOutput',
|
48
|
+
model_properties: {
|
49
|
+
id: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
read_only: true,
|
53
|
+
serialized_name: 'id',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::DataMigration::Mgmt::V2018_04_19
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError < MigrateMySqlAzureDbForMySqlSyncTaskOutput
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@resultType = "DatabaseLevelErrorOutput"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :resultType
|
22
|
+
|
23
|
+
# @return [String] Error message
|
24
|
+
attr_accessor :error_message
|
25
|
+
|
26
|
+
# @return [Array<SyncMigrationDatabaseErrorEvent>] List of error events.
|
27
|
+
attr_accessor :events
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError class
|
32
|
+
# as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'DatabaseLevelErrorOutput',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError',
|
43
|
+
model_properties: {
|
44
|
+
id: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'id',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
resultType: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: true,
|
56
|
+
serialized_name: 'resultType',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
error_message: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'errorMessage',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
events: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'events',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'SyncMigrationDatabaseErrorEventElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'SyncMigrationDatabaseErrorEvent'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|