Skip to content

Commit

Permalink
Generated from dfe5f8b34f1846c8a211631ae330ecc9960ad5a8 (#2288)
Browse files Browse the repository at this point in the history
Remove TaskOutput base object.
  • Loading branch information
AutorestCI authored Mar 28, 2018
1 parent a2c6bc5 commit b49b237
Show file tree
Hide file tree
Showing 17 changed files with 49 additions and 114 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -225,7 +223,6 @@
'Resource',
'ODataError',
'ReportableException',
'TaskOutput',
'ValidateMigrationInputSqlServerSqlMITaskOutput',
'BlobShare',
'FileShare',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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'
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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'
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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'
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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'
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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'
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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'

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b49b237

Please sign in to comment.