azure_mgmt_data_migration 0.17.1 → 0.17.2
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/operations.rb +4 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/tasks.rb +14 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
- 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/operations.rb +4 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/tasks.rb +14 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
- 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/operations.rb +4 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/tasks.rb +14 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
- 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/operations.rb +4 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/projects.rb +12 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/services.rb +30 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/tasks.rb +14 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/usages.rb +4 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration.rb +151 -86
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +5 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/files.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/azure_active_directory_app.rb +70 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_info.rb +70 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_status.rb +21 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_set_info.rb +158 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_input.rb +47 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_output.rb +86 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_properties.rb +147 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/command_properties.rb +1 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_mongo_db_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb +3 -2
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_non_sql_task_output.rb +1 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_oracle_sync_task_input.rb +48 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_oracle_sync_task_output.rb +101 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_oracle_sync_task_properties.rb +147 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_input.rb +49 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_output.rb +114 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_properties.rb +149 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_sync_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +2 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +1 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +1 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_input.rb +63 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_output.rb +115 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_properties.rb +149 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_input.rb +50 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_output.rb +125 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_output_database_schema_map_item.rb +68 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_properties.rb +152 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_input.rb +63 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_output.rb +81 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_properties.rb +148 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +2 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_migration_state.rb +24 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_oracle_task_input.rb +69 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_oracle_task_output.rb +92 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_oracle_task_properties.rb +148 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_postgre_sql_task_input.rb +69 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_postgre_sql_task_output.rb +92 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_postgre_sql_task_properties.rb +148 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/install_ocidriver_task_input.rb +46 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/install_ocidriver_task_output.rb +56 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/install_ocidriver_task_properties.rb +147 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mi_sql_connection_info.rb +78 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_input.rb +47 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_output.rb +57 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_properties.rb +104 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_mongo_db_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_database_input.rb +60 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_for_postgre_sql_sync_task_properties.rb +151 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_database_input.rb +150 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_input.rb +83 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output.rb +64 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_database_error.rb +92 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_database_level.rb +245 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_error.rb +74 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_migration_level.rb +133 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_table_level.rb +219 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_database_input.rb +60 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_input.rb +97 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output.rb +61 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_database_level.rb +220 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_error.rb +73 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_migration_level.rb +195 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_properties.rb +150 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +9 -9
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_output.rb +13 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/my_sql_target_platform_type.rb +1 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/oracle_connection_info.rb +77 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/oracle_ocidriver_info.rb +118 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/orphaned_user_info.rb +57 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_file_properties.rb +1 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +34 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/selected_certificate_input.rb +1 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/server_properties.rb +1 -1
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sql_server_sql_misync_task_input.rb +121 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/upload_ocidriver_task_input.rb +47 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/upload_ocidriver_task_output.rb +69 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/upload_ocidriver_task_properties.rb +147 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_input.rb +98 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_output.rb +83 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_properties.rb +149 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_mongo_db_task_properties.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_oracle_azure_db_for_postgre_sql_sync_task_properties.rb +149 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_oracle_azure_db_postgre_sql_sync_task_output.rb +59 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/operations.rb +4 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/service_tasks.rb +855 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/tasks.rb +19 -3
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
- data/lib/profiles/latest/modules/datamigration_profile_module.rb +534 -276
- data/lib/version.rb +1 -1
- metadata +69 -4
@@ -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_07_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Output for the task that migrates Oracle databases to Azure Database for
|
10
|
+
# PostgreSQL for online migrations
|
11
|
+
#
|
12
|
+
class MigrateOracleAzureDbPostgreSqlSyncTaskOutput
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
@@discriminatorMap = Hash.new
|
17
|
+
@@discriminatorMap["DatabaseLevelErrorOutput"] = "MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError"
|
18
|
+
@@discriminatorMap["ErrorOutput"] = "MigrateOracleAzureDbPostgreSqlSyncTaskOutputError"
|
19
|
+
@@discriminatorMap["TableLevelOutput"] = "MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel"
|
20
|
+
@@discriminatorMap["DatabaseLevelOutput"] = "MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel"
|
21
|
+
@@discriminatorMap["MigrationLevelOutput"] = "MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel"
|
22
|
+
|
23
|
+
def initialize
|
24
|
+
@resultType = "MigrateOracleAzureDbPostgreSqlSyncTaskOutput"
|
25
|
+
end
|
26
|
+
|
27
|
+
attr_accessor :resultType
|
28
|
+
|
29
|
+
# @return [String] Result identifier
|
30
|
+
attr_accessor :id
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for MigrateOracleAzureDbPostgreSqlSyncTaskOutput 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: 'MigrateOracleAzureDbPostgreSqlSyncTaskOutput',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
polymorphic_discriminator: 'resultType',
|
46
|
+
uber_parent: 'MigrateOracleAzureDbPostgreSqlSyncTaskOutput',
|
47
|
+
class_name: 'MigrateOracleAzureDbPostgreSqlSyncTaskOutput',
|
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_07_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError < MigrateOracleAzureDbPostgreSqlSyncTaskOutput
|
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 MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError
|
32
|
+
# 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: 'DatabaseLevelErrorOutput',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError',
|
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
|
@@ -0,0 +1,245 @@
|
|
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_07_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel < MigrateOracleAzureDbPostgreSqlSyncTaskOutput
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@resultType = "DatabaseLevelOutput"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :resultType
|
22
|
+
|
23
|
+
# @return [String] Name of the database
|
24
|
+
attr_accessor :database_name
|
25
|
+
|
26
|
+
# @return [DateTime] Migration start time
|
27
|
+
attr_accessor :started_on
|
28
|
+
|
29
|
+
# @return [DateTime] Migration end time
|
30
|
+
attr_accessor :ended_on
|
31
|
+
|
32
|
+
# @return [SyncDatabaseMigrationReportingState] Migration state that this
|
33
|
+
# database is in. Possible values include: 'UNDEFINED', 'CONFIGURING',
|
34
|
+
# 'INITIALIAZING', 'STARTING', 'RUNNING', 'READY_TO_COMPLETE',
|
35
|
+
# 'COMPLETING', 'COMPLETE', 'CANCELLING', 'CANCELLED', 'FAILED'
|
36
|
+
attr_accessor :migration_state
|
37
|
+
|
38
|
+
# @return [Integer] Number of incoming changes
|
39
|
+
attr_accessor :incoming_changes
|
40
|
+
|
41
|
+
# @return [Integer] Number of applied changes
|
42
|
+
attr_accessor :applied_changes
|
43
|
+
|
44
|
+
# @return [Integer] Number of cdc inserts
|
45
|
+
attr_accessor :cdc_insert_counter
|
46
|
+
|
47
|
+
# @return [Integer] Number of cdc deletes
|
48
|
+
attr_accessor :cdc_delete_counter
|
49
|
+
|
50
|
+
# @return [Integer] Number of cdc updates
|
51
|
+
attr_accessor :cdc_update_counter
|
52
|
+
|
53
|
+
# @return [Integer] Number of tables completed in full load
|
54
|
+
attr_accessor :full_load_completed_tables
|
55
|
+
|
56
|
+
# @return [Integer] Number of tables loading in full load
|
57
|
+
attr_accessor :full_load_loading_tables
|
58
|
+
|
59
|
+
# @return [Integer] Number of tables queued in full load
|
60
|
+
attr_accessor :full_load_queued_tables
|
61
|
+
|
62
|
+
# @return [Integer] Number of tables errored in full load
|
63
|
+
attr_accessor :full_load_errored_tables
|
64
|
+
|
65
|
+
# @return [Boolean] Indicates if initial load (full load) has been
|
66
|
+
# completed
|
67
|
+
attr_accessor :initialization_completed
|
68
|
+
|
69
|
+
# @return [Integer] CDC apply latency
|
70
|
+
attr_accessor :latency
|
71
|
+
|
72
|
+
|
73
|
+
#
|
74
|
+
# Mapper for MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel
|
75
|
+
# class as Ruby Hash.
|
76
|
+
# This will be used for serialization/deserialization.
|
77
|
+
#
|
78
|
+
def self.mapper()
|
79
|
+
{
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'DatabaseLevelOutput',
|
83
|
+
type: {
|
84
|
+
name: 'Composite',
|
85
|
+
class_name: 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel',
|
86
|
+
model_properties: {
|
87
|
+
id: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
read_only: true,
|
91
|
+
serialized_name: 'id',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
resultType: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: true,
|
99
|
+
serialized_name: 'resultType',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
database_name: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
read_only: true,
|
108
|
+
serialized_name: 'databaseName',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
started_on: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
read_only: true,
|
117
|
+
serialized_name: 'startedOn',
|
118
|
+
type: {
|
119
|
+
name: 'DateTime'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
ended_on: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
read_only: true,
|
126
|
+
serialized_name: 'endedOn',
|
127
|
+
type: {
|
128
|
+
name: 'DateTime'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
migration_state: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
read_only: true,
|
135
|
+
serialized_name: 'migrationState',
|
136
|
+
type: {
|
137
|
+
name: 'String'
|
138
|
+
}
|
139
|
+
},
|
140
|
+
incoming_changes: {
|
141
|
+
client_side_validation: true,
|
142
|
+
required: false,
|
143
|
+
read_only: true,
|
144
|
+
serialized_name: 'incomingChanges',
|
145
|
+
type: {
|
146
|
+
name: 'Number'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
applied_changes: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
read_only: true,
|
153
|
+
serialized_name: 'appliedChanges',
|
154
|
+
type: {
|
155
|
+
name: 'Number'
|
156
|
+
}
|
157
|
+
},
|
158
|
+
cdc_insert_counter: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: false,
|
161
|
+
read_only: true,
|
162
|
+
serialized_name: 'cdcInsertCounter',
|
163
|
+
type: {
|
164
|
+
name: 'Number'
|
165
|
+
}
|
166
|
+
},
|
167
|
+
cdc_delete_counter: {
|
168
|
+
client_side_validation: true,
|
169
|
+
required: false,
|
170
|
+
read_only: true,
|
171
|
+
serialized_name: 'cdcDeleteCounter',
|
172
|
+
type: {
|
173
|
+
name: 'Number'
|
174
|
+
}
|
175
|
+
},
|
176
|
+
cdc_update_counter: {
|
177
|
+
client_side_validation: true,
|
178
|
+
required: false,
|
179
|
+
read_only: true,
|
180
|
+
serialized_name: 'cdcUpdateCounter',
|
181
|
+
type: {
|
182
|
+
name: 'Number'
|
183
|
+
}
|
184
|
+
},
|
185
|
+
full_load_completed_tables: {
|
186
|
+
client_side_validation: true,
|
187
|
+
required: false,
|
188
|
+
read_only: true,
|
189
|
+
serialized_name: 'fullLoadCompletedTables',
|
190
|
+
type: {
|
191
|
+
name: 'Number'
|
192
|
+
}
|
193
|
+
},
|
194
|
+
full_load_loading_tables: {
|
195
|
+
client_side_validation: true,
|
196
|
+
required: false,
|
197
|
+
read_only: true,
|
198
|
+
serialized_name: 'fullLoadLoadingTables',
|
199
|
+
type: {
|
200
|
+
name: 'Number'
|
201
|
+
}
|
202
|
+
},
|
203
|
+
full_load_queued_tables: {
|
204
|
+
client_side_validation: true,
|
205
|
+
required: false,
|
206
|
+
read_only: true,
|
207
|
+
serialized_name: 'fullLoadQueuedTables',
|
208
|
+
type: {
|
209
|
+
name: 'Number'
|
210
|
+
}
|
211
|
+
},
|
212
|
+
full_load_errored_tables: {
|
213
|
+
client_side_validation: true,
|
214
|
+
required: false,
|
215
|
+
read_only: true,
|
216
|
+
serialized_name: 'fullLoadErroredTables',
|
217
|
+
type: {
|
218
|
+
name: 'Number'
|
219
|
+
}
|
220
|
+
},
|
221
|
+
initialization_completed: {
|
222
|
+
client_side_validation: true,
|
223
|
+
required: false,
|
224
|
+
read_only: true,
|
225
|
+
serialized_name: 'initializationCompleted',
|
226
|
+
type: {
|
227
|
+
name: 'Boolean'
|
228
|
+
}
|
229
|
+
},
|
230
|
+
latency: {
|
231
|
+
client_side_validation: true,
|
232
|
+
required: false,
|
233
|
+
read_only: true,
|
234
|
+
serialized_name: 'latency',
|
235
|
+
type: {
|
236
|
+
name: 'Number'
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
}
|
242
|
+
end
|
243
|
+
end
|
244
|
+
end
|
245
|
+
end
|
@@ -0,0 +1,74 @@
|
|
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_07_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class MigrateOracleAzureDbPostgreSqlSyncTaskOutputError < MigrateOracleAzureDbPostgreSqlSyncTaskOutput
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@resultType = "ErrorOutput"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :resultType
|
22
|
+
|
23
|
+
# @return [ReportableException] Migration error
|
24
|
+
attr_accessor :error
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for MigrateOracleAzureDbPostgreSqlSyncTaskOutputError class as
|
29
|
+
# 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: 'ErrorOutput',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputError',
|
40
|
+
model_properties: {
|
41
|
+
id: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'id',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
resultType: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'resultType',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
error: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'error',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'ReportableException'
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|