diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/__init__.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/__init__.py index 8dc7a37618a7..4fc2f864f65b 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/__init__.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/__init__.py @@ -14,7 +14,6 @@ from .resource_py3 import Resource from .odata_error_py3 import ODataError from .reportable_exception_py3 import ReportableException - from .task_output_py3 import TaskOutput from .validate_migration_input_sql_server_sql_mi_task_output_py3 import ValidateMigrationInputSqlServerSqlMITaskOutput from .blob_share_py3 import BlobShare from .file_share_py3 import FileShare @@ -103,7 +102,6 @@ from .resource import Resource from .odata_error import ODataError from .reportable_exception import ReportableException - from .task_output import TaskOutput from .validate_migration_input_sql_server_sql_mi_task_output import ValidateMigrationInputSqlServerSqlMITaskOutput from .blob_share import BlobShare from .file_share import FileShare @@ -225,7 +223,6 @@ 'Resource', 'ODataError', 'ReportableException', - 'TaskOutput', 'ValidateMigrationInputSqlServerSqlMITaskOutput', 'BlobShare', 'FileShare', diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output.py index 25389de86c6c..ec85bed39b45 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class ConnectToSourceSqlServerTaskOutput(TaskOutput): +class ConnectToSourceSqlServerTaskOutput(Model): """Output for the task that validates connection to SQL Server and also validates source server requirements. @@ -47,5 +47,5 @@ class ConnectToSourceSqlServerTaskOutput(TaskOutput): def __init__(self, **kwargs): super(ConnectToSourceSqlServerTaskOutput, self).__init__(**kwargs) + self.id = None self.result_type = None - self.result_type = 'ConnectToSourceSqlServerTaskOutput' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_py3.py index a1cb334d7cb6..d9d2c0ddb91e 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_py3.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class ConnectToSourceSqlServerTaskOutput(TaskOutput): +class ConnectToSourceSqlServerTaskOutput(Model): """Output for the task that validates connection to SQL Server and also validates source server requirements. @@ -46,6 +46,6 @@ class ConnectToSourceSqlServerTaskOutput(TaskOutput): } def __init__(self, **kwargs) -> None: - super(ConnectToSourceSqlServerTaskOutput, self).__init__(, **kwargs) + super(ConnectToSourceSqlServerTaskOutput, self).__init__(**kwargs) + self.id = None self.result_type = None - self.result_type = 'ConnectToSourceSqlServerTaskOutput' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_output.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_output.py index c725fe7df1cb..1162add8b2fe 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_output.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_output.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class ConnectToTargetSqlDbTaskOutput(TaskOutput): +class ConnectToTargetSqlDbTaskOutput(Model): """Output for the task that validates connection to SQL DB and target server requirements. @@ -46,6 +46,7 @@ class ConnectToTargetSqlDbTaskOutput(TaskOutput): def __init__(self, **kwargs): super(ConnectToTargetSqlDbTaskOutput, self).__init__(**kwargs) + self.id = None self.databases = None self.target_server_version = None self.target_server_brand_version = None diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_output_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_output_py3.py index 5d115ed583ec..df0b53aeaaad 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_output_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_output_py3.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class ConnectToTargetSqlDbTaskOutput(TaskOutput): +class ConnectToTargetSqlDbTaskOutput(Model): """Output for the task that validates connection to SQL DB and target server requirements. @@ -45,7 +45,8 @@ class ConnectToTargetSqlDbTaskOutput(TaskOutput): } def __init__(self, **kwargs) -> None: - super(ConnectToTargetSqlDbTaskOutput, self).__init__(, **kwargs) + super(ConnectToTargetSqlDbTaskOutput, self).__init__(**kwargs) + self.id = None self.databases = None self.target_server_version = None self.target_server_brand_version = None diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_output.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_output.py index e91e49e2cc7e..1d52736000b7 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_output.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_output.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class ConnectToTargetSqlMITaskOutput(TaskOutput): +class ConnectToTargetSqlMITaskOutput(Model): """Output for the task that validates connection to Azure SQL Database Managed Instance. @@ -46,6 +46,7 @@ class ConnectToTargetSqlMITaskOutput(TaskOutput): def __init__(self, **kwargs): super(ConnectToTargetSqlMITaskOutput, self).__init__(**kwargs) + self.id = None self.target_server_version = None self.target_server_brand_version = None self.validation_errors = None diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_output_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_output_py3.py index 4a8c6139161c..bf9632dac703 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_output_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_output_py3.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class ConnectToTargetSqlMITaskOutput(TaskOutput): +class ConnectToTargetSqlMITaskOutput(Model): """Output for the task that validates connection to Azure SQL Database Managed Instance. @@ -45,7 +45,8 @@ class ConnectToTargetSqlMITaskOutput(TaskOutput): } def __init__(self, **kwargs) -> None: - super(ConnectToTargetSqlMITaskOutput, self).__init__(, **kwargs) + super(ConnectToTargetSqlMITaskOutput, self).__init__(**kwargs) + self.id = None self.target_server_version = None self.target_server_brand_version = None self.validation_errors = None diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_output.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_output.py index 944802c83a01..219af23605af 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_output.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_output.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class GetUserTablesSqlTaskOutput(TaskOutput): +class GetUserTablesSqlTaskOutput(Model): """Output of the task that collects user tables for the given list of databases. @@ -43,5 +43,6 @@ class GetUserTablesSqlTaskOutput(TaskOutput): def __init__(self, **kwargs): super(GetUserTablesSqlTaskOutput, self).__init__(**kwargs) + self.id = None self.databases_to_tables = None self.validation_errors = None diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_output_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_output_py3.py index d19098bbf468..ab86762acc74 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_output_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_output_py3.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class GetUserTablesSqlTaskOutput(TaskOutput): +class GetUserTablesSqlTaskOutput(Model): """Output of the task that collects user tables for the given list of databases. @@ -42,6 +42,7 @@ class GetUserTablesSqlTaskOutput(TaskOutput): } def __init__(self, **kwargs) -> None: - super(GetUserTablesSqlTaskOutput, self).__init__(, **kwargs) + super(GetUserTablesSqlTaskOutput, self).__init__(**kwargs) + self.id = None self.databases_to_tables = None self.validation_errors = None diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output.py index 373af9e68f99..65c1a8f407a0 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class MigrateSqlServerSqlDbTaskOutput(TaskOutput): +class MigrateSqlServerSqlDbTaskOutput(Model): """Output for the task that migrates on-prem SQL Server databases to Azure SQL Database. @@ -49,5 +49,5 @@ class MigrateSqlServerSqlDbTaskOutput(TaskOutput): def __init__(self, **kwargs): super(MigrateSqlServerSqlDbTaskOutput, self).__init__(**kwargs) + self.id = None self.result_type = None - self.result_type = 'MigrateSqlServerSqlDbTaskOutput' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_py3.py index 757127060970..251d45a8e84d 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_py3.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class MigrateSqlServerSqlDbTaskOutput(TaskOutput): +class MigrateSqlServerSqlDbTaskOutput(Model): """Output for the task that migrates on-prem SQL Server databases to Azure SQL Database. @@ -48,6 +48,6 @@ class MigrateSqlServerSqlDbTaskOutput(TaskOutput): } def __init__(self, **kwargs) -> None: - super(MigrateSqlServerSqlDbTaskOutput, self).__init__(, **kwargs) + super(MigrateSqlServerSqlDbTaskOutput, self).__init__(**kwargs) + self.id = None self.result_type = None - self.result_type = 'MigrateSqlServerSqlDbTaskOutput' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output.py index 9b327c848bfd..35f92c4ef903 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class MigrateSqlServerSqlMITaskOutput(TaskOutput): +class MigrateSqlServerSqlMITaskOutput(Model): """Output for task that migrates SQL Server databases to Azure SQL Database Managed Instance. @@ -48,5 +48,5 @@ class MigrateSqlServerSqlMITaskOutput(TaskOutput): def __init__(self, **kwargs): super(MigrateSqlServerSqlMITaskOutput, self).__init__(**kwargs) + self.id = None self.result_type = None - self.result_type = 'MigrateSqlServerSqlMITaskOutput' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_py3.py index 1f9358251935..a2883f1affb1 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_py3.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class MigrateSqlServerSqlMITaskOutput(TaskOutput): +class MigrateSqlServerSqlMITaskOutput(Model): """Output for task that migrates SQL Server databases to Azure SQL Database Managed Instance. @@ -47,6 +47,6 @@ class MigrateSqlServerSqlMITaskOutput(TaskOutput): } def __init__(self, **kwargs) -> None: - super(MigrateSqlServerSqlMITaskOutput, self).__init__(, **kwargs) + super(MigrateSqlServerSqlMITaskOutput, self).__init__(**kwargs) + self.id = None self.result_type = None - self.result_type = 'MigrateSqlServerSqlMITaskOutput' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/task_output.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/task_output.py deleted file mode 100644 index ef4d41c970fc..000000000000 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/task_output.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class TaskOutput(Model): - """Base class for all DMS task outputs. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Result identifier - :vartype id: str - """ - - _validation = { - 'id': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(TaskOutput, self).__init__(**kwargs) - self.id = None diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/task_output_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/task_output_py3.py deleted file mode 100644 index 48950c877f51..000000000000 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/task_output_py3.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class TaskOutput(Model): - """Base class for all DMS task outputs. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Result identifier - :vartype id: str - """ - - _validation = { - 'id': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__(self, **kwargs) -> None: - super(TaskOutput, self).__init__(**kwargs) - self.id = None diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_output.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_output.py index 682248d8ada0..e465fa15dfe3 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_output.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_output.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class ValidateMigrationInputSqlServerSqlMITaskOutput(TaskOutput): +class ValidateMigrationInputSqlServerSqlMITaskOutput(Model): """Output for task that validates migration input for SQL to Azure SQL Managed Instance migrations. @@ -60,6 +60,7 @@ class ValidateMigrationInputSqlServerSqlMITaskOutput(TaskOutput): def __init__(self, **kwargs): super(ValidateMigrationInputSqlServerSqlMITaskOutput, self).__init__(**kwargs) + self.id = None self.name = None self.restore_database_name_errors = None self.backup_folder_errors = None diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_output_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_output_py3.py index de30e6fb32d6..599079bb4258 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_output_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_output_py3.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .task_output import TaskOutput +from msrest.serialization import Model -class ValidateMigrationInputSqlServerSqlMITaskOutput(TaskOutput): +class ValidateMigrationInputSqlServerSqlMITaskOutput(Model): """Output for task that validates migration input for SQL to Azure SQL Managed Instance migrations. @@ -59,7 +59,8 @@ class ValidateMigrationInputSqlServerSqlMITaskOutput(TaskOutput): } def __init__(self, **kwargs) -> None: - super(ValidateMigrationInputSqlServerSqlMITaskOutput, self).__init__(, **kwargs) + super(ValidateMigrationInputSqlServerSqlMITaskOutput, self).__init__(**kwargs) + self.id = None self.name = None self.restore_database_name_errors = None self.backup_folder_errors = None