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,134 @@
|
|
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 task that migrates SQL Server databases to Azure SQL
|
10
|
+
# Database Managed Instance
|
11
|
+
#
|
12
|
+
class MigrateSqlServerSqlMITaskProperties < ProjectTaskProperties
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@taskType = "Migrate.SqlServer.AzureSqlDbMI"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :taskType
|
22
|
+
|
23
|
+
# @return [MigrateSqlServerSqlMITaskInput] Task input
|
24
|
+
attr_accessor :input
|
25
|
+
|
26
|
+
# @return [Array<MigrateSqlServerSqlMITaskOutput>] Task output. This is
|
27
|
+
# ignored if submitted.
|
28
|
+
attr_accessor :output
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for MigrateSqlServerSqlMITaskProperties 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.AzureSqlDbMI',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'MigrateSqlServerSqlMITaskProperties',
|
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
|
+
commands: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'commands',
|
76
|
+
type: {
|
77
|
+
name: 'Sequence',
|
78
|
+
element: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'CommandPropertiesElementType',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
polymorphic_discriminator: 'commandType',
|
85
|
+
uber_parent: 'CommandProperties',
|
86
|
+
class_name: 'CommandProperties'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
},
|
91
|
+
taskType: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: true,
|
94
|
+
serialized_name: 'taskType',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
input: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'input',
|
103
|
+
type: {
|
104
|
+
name: 'Composite',
|
105
|
+
class_name: 'MigrateSqlServerSqlMITaskInput'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
output: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
read_only: true,
|
112
|
+
serialized_name: 'output',
|
113
|
+
type: {
|
114
|
+
name: 'Sequence',
|
115
|
+
element: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'MigrateSqlServerSqlMITaskOutputElementType',
|
119
|
+
type: {
|
120
|
+
name: 'Composite',
|
121
|
+
polymorphic_discriminator: 'resultType',
|
122
|
+
uber_parent: 'MigrateSqlServerSqlMITaskOutput',
|
123
|
+
class_name: 'MigrateSqlServerSqlMITaskOutput'
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
@@ -18,8 +18,8 @@ module Azure::DataMigration::Mgmt::V2018_04_19
|
|
18
18
|
# @return [String] Name of the database at destination
|
19
19
|
attr_accessor :restore_database_name
|
20
20
|
|
21
|
-
# @return [
|
22
|
-
attr_accessor :
|
21
|
+
# @return [String] The backup and restore folder
|
22
|
+
attr_accessor :backup_and_restore_folder
|
23
23
|
|
24
24
|
# @return [Array<DatabaseFileInput>] The list of database files
|
25
25
|
attr_accessor :database_files
|
@@ -54,13 +54,12 @@ module Azure::DataMigration::Mgmt::V2018_04_19
|
|
54
54
|
name: 'String'
|
55
55
|
}
|
56
56
|
},
|
57
|
-
|
57
|
+
backup_and_restore_folder: {
|
58
58
|
client_side_validation: true,
|
59
59
|
required: false,
|
60
|
-
serialized_name: '
|
60
|
+
serialized_name: 'backupAndRestoreFolder',
|
61
61
|
type: {
|
62
|
-
name: '
|
63
|
-
class_name: 'FileShare'
|
62
|
+
name: 'String'
|
64
63
|
}
|
65
64
|
},
|
66
65
|
database_files: {
|
@@ -0,0 +1,57 @@
|
|
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 command that completes sync migration for a database.
|
10
|
+
#
|
11
|
+
class MigrateSyncCompleteCommandInput
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of database
|
16
|
+
attr_accessor :database_name
|
17
|
+
|
18
|
+
# @return [DateTime] Time stamp to complete
|
19
|
+
attr_accessor :commit_time_stamp
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for MigrateSyncCompleteCommandInput class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'MigrateSyncCompleteCommandInput',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'MigrateSyncCompleteCommandInput',
|
34
|
+
model_properties: {
|
35
|
+
database_name: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: true,
|
38
|
+
serialized_name: 'databaseName',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
commit_time_stamp: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'commitTimeStamp',
|
47
|
+
type: {
|
48
|
+
name: 'DateTime'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,69 @@
|
|
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 command that completes sync migration for a database.
|
10
|
+
#
|
11
|
+
class MigrateSyncCompleteCommandOutput
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Result identifier
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [Array<ReportableException>] List of errors that happened
|
19
|
+
# during the command execution
|
20
|
+
attr_accessor :errors
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for MigrateSyncCompleteCommandOutput class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'MigrateSyncCompleteCommandOutput',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'MigrateSyncCompleteCommandOutput',
|
35
|
+
model_properties: {
|
36
|
+
id: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
read_only: true,
|
40
|
+
serialized_name: 'id',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
errors: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'errors',
|
50
|
+
type: {
|
51
|
+
name: 'Sequence',
|
52
|
+
element: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'ReportableExceptionElementType',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'ReportableException'
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,103 @@
|
|
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 sync migration for a database.
|
10
|
+
#
|
11
|
+
class MigrateSyncCompleteCommandProperties < CommandProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@commandType = "Migrate.Sync.Complete.Database"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :commandType
|
21
|
+
|
22
|
+
# @return [MigrateSyncCompleteCommandInput] Command input
|
23
|
+
attr_accessor :input
|
24
|
+
|
25
|
+
# @return [MigrateSyncCompleteCommandOutput] Command output. This is
|
26
|
+
# ignored if submitted.
|
27
|
+
attr_accessor :output
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for MigrateSyncCompleteCommandProperties class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'Migrate.Sync.Complete.Database',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'MigrateSyncCompleteCommandProperties',
|
42
|
+
model_properties: {
|
43
|
+
errors: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
read_only: true,
|
47
|
+
serialized_name: 'errors',
|
48
|
+
type: {
|
49
|
+
name: 'Sequence',
|
50
|
+
element: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'ODataErrorElementType',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'ODataError'
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
state: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
read_only: true,
|
65
|
+
serialized_name: 'state',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
commandType: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: true,
|
73
|
+
serialized_name: 'commandType',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
input: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'input',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'MigrateSyncCompleteCommandInput'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
output: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
read_only: true,
|
91
|
+
serialized_name: 'output',
|
92
|
+
type: {
|
93
|
+
name: 'Composite',
|
94
|
+
class_name: 'MigrateSyncCompleteCommandOutput'
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb
CHANGED
@@ -13,7 +13,7 @@ module Azure::DataMigration::Mgmt::V2018_04_19
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
# @return [Boolean] Whether object is eligible for migration or not.
|
16
|
-
attr_accessor :
|
16
|
+
attr_accessor :is_eligible_for_migration
|
17
17
|
|
18
18
|
# @return [Array<String>] Information about eligibility failure for the
|
19
19
|
# server object.
|
@@ -33,11 +33,11 @@ module Azure::DataMigration::Mgmt::V2018_04_19
|
|
33
33
|
name: 'Composite',
|
34
34
|
class_name: 'MigrationEligibilityInfo',
|
35
35
|
model_properties: {
|
36
|
-
|
36
|
+
is_eligible_for_migration: {
|
37
37
|
client_side_validation: true,
|
38
38
|
required: false,
|
39
39
|
read_only: true,
|
40
|
-
serialized_name: '
|
40
|
+
serialized_name: 'isEligibleForMigration',
|
41
41
|
type: {
|
42
42
|
name: 'Boolean'
|
43
43
|
}
|
@@ -0,0 +1,88 @@
|
|
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
|
+
# Information for connecting to MySQL server
|
10
|
+
#
|
11
|
+
class MySqlConnectionInfo < ConnectionInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@type = "MySqlConnectionInfo"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
# @return [String] Name of the server
|
23
|
+
attr_accessor :server_name
|
24
|
+
|
25
|
+
# @return [Integer] Port for Server
|
26
|
+
attr_accessor :port
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for MySqlConnectionInfo class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'MySqlConnectionInfo',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'MySqlConnectionInfo',
|
41
|
+
model_properties: {
|
42
|
+
user_name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'userName',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
password: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'password',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
type: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: true,
|
61
|
+
serialized_name: 'type',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
server_name: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: true,
|
69
|
+
serialized_name: 'serverName',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
port: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: true,
|
77
|
+
serialized_name: 'port',
|
78
|
+
type: {
|
79
|
+
name: 'Number'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|