diff --git a/azure-mgmt-datamigration/HISTORY.rst b/azure-mgmt-datamigration/HISTORY.rst
index 6c9d66b18f61..bea7a8fb41fd 100644
--- a/azure-mgmt-datamigration/HISTORY.rst
+++ b/azure-mgmt-datamigration/HISTORY.rst
@@ -3,6 +3,11 @@
Release History
===============
+1.0.0 (2018-06-05)
+++++++++++++++++++
+
+* Initial stable release
+
0.1.0 (2018-04-20)
++++++++++++++++++
diff --git a/azure-mgmt-datamigration/README.rst b/azure-mgmt-datamigration/README.rst
index ba01cbc9fb1e..6ec3c65cdb55 100644
--- a/azure-mgmt-datamigration/README.rst
+++ b/azure-mgmt-datamigration/README.rst
@@ -37,7 +37,7 @@ Usage
=====
For code examples, see `Data Migration
-`__
+`__
on docs.microsoft.com.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/data_migration_service_client.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/data_migration_service_client.py
index 755b25efcf73..e378ec10b4be 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/data_migration_service_client.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/data_migration_service_client.py
@@ -88,7 +88,7 @@ def __init__(
super(DataMigrationServiceClient, self).__init__(self.config.credentials, self.config)
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
- self.api_version = '2018-03-31-preview'
+ self.api_version = '2018-04-19'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/__init__.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/__init__.py
index 6ae5e015ac65..b72ad77faf01 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/__init__.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/__init__.py
@@ -13,15 +13,6 @@
from .tracked_resource_py3 import TrackedResource
from .resource_py3 import Resource
from .odata_error_py3 import ODataError
- from .reportable_exception_py3 import ReportableException
- 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
- from .migrate_sql_server_sql_mi_database_input_py3 import MigrateSqlServerSqlMIDatabaseInput
- from .connection_info_py3 import ConnectionInfo
- from .sql_connection_info_py3 import SqlConnectionInfo
- from .validate_migration_input_sql_server_sql_mi_task_input_py3 import ValidateMigrationInputSqlServerSqlMITaskInput
- from .validate_migration_input_sql_server_sql_mi_task_properties_py3 import ValidateMigrationInputSqlServerSqlMITaskProperties
from .validation_error_py3 import ValidationError
from .wait_statistics_py3 import WaitStatistics
from .execution_statistics_py3 import ExecutionStatistics
@@ -33,6 +24,7 @@
from .migration_validation_database_level_result_py3 import MigrationValidationDatabaseLevelResult
from .migration_validation_database_summary_result_py3 import MigrationValidationDatabaseSummaryResult
from .migration_validation_result_py3 import MigrationValidationResult
+ from .reportable_exception_py3 import ReportableException
from .migrate_sql_server_sql_db_task_output_error_py3 import MigrateSqlServerSqlDbTaskOutputError
from .migrate_sql_server_sql_db_task_output_table_level_py3 import MigrateSqlServerSqlDbTaskOutputTableLevel
from .data_item_migration_summary_result_py3 import DataItemMigrationSummaryResult
@@ -41,20 +33,13 @@
from .database_summary_result_py3 import DatabaseSummaryResult
from .migrate_sql_server_sql_db_task_output_migration_level_py3 import MigrateSqlServerSqlDbTaskOutputMigrationLevel
from .migrate_sql_server_sql_db_task_output_py3 import MigrateSqlServerSqlDbTaskOutput
+ from .connection_info_py3 import ConnectionInfo
+ from .sql_connection_info_py3 import SqlConnectionInfo
from .sql_migration_task_input_py3 import SqlMigrationTaskInput
from .migration_validation_options_py3 import MigrationValidationOptions
from .migrate_sql_server_sql_db_database_input_py3 import MigrateSqlServerSqlDbDatabaseInput
from .migrate_sql_server_sql_db_task_input_py3 import MigrateSqlServerSqlDbTaskInput
from .migrate_sql_server_sql_db_task_properties_py3 import MigrateSqlServerSqlDbTaskProperties
- from .migrate_sql_server_sql_mi_task_output_error_py3 import MigrateSqlServerSqlMITaskOutputError
- from .migrate_sql_server_sql_mi_task_output_login_level_py3 import MigrateSqlServerSqlMITaskOutputLoginLevel
- from .migrate_sql_server_sql_mi_task_output_agent_job_level_py3 import MigrateSqlServerSqlMITaskOutputAgentJobLevel
- from .migrate_sql_server_sql_mi_task_output_database_level_py3 import MigrateSqlServerSqlMITaskOutputDatabaseLevel
- from .start_migration_scenario_server_role_result_py3 import StartMigrationScenarioServerRoleResult
- from .migrate_sql_server_sql_mi_task_output_migration_level_py3 import MigrateSqlServerSqlMITaskOutputMigrationLevel
- from .migrate_sql_server_sql_mi_task_output_py3 import MigrateSqlServerSqlMITaskOutput
- from .migrate_sql_server_sql_mi_task_input_py3 import MigrateSqlServerSqlMITaskInput
- from .migrate_sql_server_sql_mi_task_properties_py3 import MigrateSqlServerSqlMITaskProperties
from .database_table_py3 import DatabaseTable
from .get_user_tables_sql_task_output_py3 import GetUserTablesSqlTaskOutput
from .get_user_tables_sql_task_input_py3 import GetUserTablesSqlTaskInput
@@ -62,9 +47,6 @@
from .connect_to_target_sql_db_task_output_py3 import ConnectToTargetSqlDbTaskOutput
from .connect_to_target_sql_db_task_input_py3 import ConnectToTargetSqlDbTaskInput
from .connect_to_target_sql_db_task_properties_py3 import ConnectToTargetSqlDbTaskProperties
- from .connect_to_target_sql_mi_task_output_py3 import ConnectToTargetSqlMITaskOutput
- from .connect_to_target_sql_mi_task_input_py3 import ConnectToTargetSqlMITaskInput
- from .connect_to_target_sql_mi_task_properties_py3 import ConnectToTargetSqlMITaskProperties
from .migration_eligibility_info_py3 import MigrationEligibilityInfo
from .connect_to_source_sql_server_task_output_agent_job_level_py3 import ConnectToSourceSqlServerTaskOutputAgentJobLevel
from .connect_to_source_sql_server_task_output_login_level_py3 import ConnectToSourceSqlServerTaskOutputLoginLevel
@@ -101,21 +83,15 @@
from .migration_table_metadata_py3 import MigrationTableMetadata
from .data_migration_project_metadata_py3 import DataMigrationProjectMetadata
from .data_migration_error_py3 import DataMigrationError
+ from .file_share_py3 import FileShare
from .database_file_input_py3 import DatabaseFileInput
from .migrate_sql_server_sql_server_database_input_py3 import MigrateSqlServerSqlServerDatabaseInput
+ from .blob_share_py3 import BlobShare
+ from .start_migration_scenario_server_role_result_py3 import StartMigrationScenarioServerRoleResult
except (SyntaxError, ImportError):
from .tracked_resource import TrackedResource
from .resource import Resource
from .odata_error import ODataError
- from .reportable_exception import ReportableException
- from .validate_migration_input_sql_server_sql_mi_task_output import ValidateMigrationInputSqlServerSqlMITaskOutput
- from .blob_share import BlobShare
- from .file_share import FileShare
- from .migrate_sql_server_sql_mi_database_input import MigrateSqlServerSqlMIDatabaseInput
- from .connection_info import ConnectionInfo
- from .sql_connection_info import SqlConnectionInfo
- from .validate_migration_input_sql_server_sql_mi_task_input import ValidateMigrationInputSqlServerSqlMITaskInput
- from .validate_migration_input_sql_server_sql_mi_task_properties import ValidateMigrationInputSqlServerSqlMITaskProperties
from .validation_error import ValidationError
from .wait_statistics import WaitStatistics
from .execution_statistics import ExecutionStatistics
@@ -127,6 +103,7 @@
from .migration_validation_database_level_result import MigrationValidationDatabaseLevelResult
from .migration_validation_database_summary_result import MigrationValidationDatabaseSummaryResult
from .migration_validation_result import MigrationValidationResult
+ from .reportable_exception import ReportableException
from .migrate_sql_server_sql_db_task_output_error import MigrateSqlServerSqlDbTaskOutputError
from .migrate_sql_server_sql_db_task_output_table_level import MigrateSqlServerSqlDbTaskOutputTableLevel
from .data_item_migration_summary_result import DataItemMigrationSummaryResult
@@ -135,20 +112,13 @@
from .database_summary_result import DatabaseSummaryResult
from .migrate_sql_server_sql_db_task_output_migration_level import MigrateSqlServerSqlDbTaskOutputMigrationLevel
from .migrate_sql_server_sql_db_task_output import MigrateSqlServerSqlDbTaskOutput
+ from .connection_info import ConnectionInfo
+ from .sql_connection_info import SqlConnectionInfo
from .sql_migration_task_input import SqlMigrationTaskInput
from .migration_validation_options import MigrationValidationOptions
from .migrate_sql_server_sql_db_database_input import MigrateSqlServerSqlDbDatabaseInput
from .migrate_sql_server_sql_db_task_input import MigrateSqlServerSqlDbTaskInput
from .migrate_sql_server_sql_db_task_properties import MigrateSqlServerSqlDbTaskProperties
- from .migrate_sql_server_sql_mi_task_output_error import MigrateSqlServerSqlMITaskOutputError
- from .migrate_sql_server_sql_mi_task_output_login_level import MigrateSqlServerSqlMITaskOutputLoginLevel
- from .migrate_sql_server_sql_mi_task_output_agent_job_level import MigrateSqlServerSqlMITaskOutputAgentJobLevel
- from .migrate_sql_server_sql_mi_task_output_database_level import MigrateSqlServerSqlMITaskOutputDatabaseLevel
- from .start_migration_scenario_server_role_result import StartMigrationScenarioServerRoleResult
- from .migrate_sql_server_sql_mi_task_output_migration_level import MigrateSqlServerSqlMITaskOutputMigrationLevel
- from .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
- from .migrate_sql_server_sql_mi_task_input import MigrateSqlServerSqlMITaskInput
- from .migrate_sql_server_sql_mi_task_properties import MigrateSqlServerSqlMITaskProperties
from .database_table import DatabaseTable
from .get_user_tables_sql_task_output import GetUserTablesSqlTaskOutput
from .get_user_tables_sql_task_input import GetUserTablesSqlTaskInput
@@ -156,9 +126,6 @@
from .connect_to_target_sql_db_task_output import ConnectToTargetSqlDbTaskOutput
from .connect_to_target_sql_db_task_input import ConnectToTargetSqlDbTaskInput
from .connect_to_target_sql_db_task_properties import ConnectToTargetSqlDbTaskProperties
- from .connect_to_target_sql_mi_task_output import ConnectToTargetSqlMITaskOutput
- from .connect_to_target_sql_mi_task_input import ConnectToTargetSqlMITaskInput
- from .connect_to_target_sql_mi_task_properties import ConnectToTargetSqlMITaskProperties
from .migration_eligibility_info import MigrationEligibilityInfo
from .connect_to_source_sql_server_task_output_agent_job_level import ConnectToSourceSqlServerTaskOutputAgentJobLevel
from .connect_to_source_sql_server_task_output_login_level import ConnectToSourceSqlServerTaskOutputLoginLevel
@@ -195,8 +162,11 @@
from .migration_table_metadata import MigrationTableMetadata
from .data_migration_project_metadata import DataMigrationProjectMetadata
from .data_migration_error import DataMigrationError
+ from .file_share import FileShare
from .database_file_input import DatabaseFileInput
from .migrate_sql_server_sql_server_database_input import MigrateSqlServerSqlServerDatabaseInput
+ from .blob_share import BlobShare
+ from .start_migration_scenario_server_role_result import StartMigrationScenarioServerRoleResult
from .resource_sku_paged import ResourceSkuPaged
from .available_service_sku_paged import AvailableServiceSkuPaged
from .data_migration_service_paged import DataMigrationServicePaged
@@ -205,7 +175,6 @@
from .quota_paged import QuotaPaged
from .service_operation_paged import ServiceOperationPaged
from .data_migration_service_client_enums import (
- AuthenticationType,
ValidationStatus,
Severity,
UpdateActionType,
@@ -213,7 +182,7 @@
MigrationState,
DatabaseMigrationStage,
MigrationStatus,
- LoginMigrationStage,
+ AuthenticationType,
LoginType,
DatabaseState,
DatabaseCompatLevel,
@@ -230,21 +199,13 @@
ResourceSkuRestrictionsReasonCode,
ResourceSkuCapacityScaleType,
ErrorType,
+ LoginMigrationStage,
)
__all__ = [
'TrackedResource',
'Resource',
'ODataError',
- 'ReportableException',
- 'ValidateMigrationInputSqlServerSqlMITaskOutput',
- 'BlobShare',
- 'FileShare',
- 'MigrateSqlServerSqlMIDatabaseInput',
- 'ConnectionInfo',
- 'SqlConnectionInfo',
- 'ValidateMigrationInputSqlServerSqlMITaskInput',
- 'ValidateMigrationInputSqlServerSqlMITaskProperties',
'ValidationError',
'WaitStatistics',
'ExecutionStatistics',
@@ -256,6 +217,7 @@
'MigrationValidationDatabaseLevelResult',
'MigrationValidationDatabaseSummaryResult',
'MigrationValidationResult',
+ 'ReportableException',
'MigrateSqlServerSqlDbTaskOutputError',
'MigrateSqlServerSqlDbTaskOutputTableLevel',
'DataItemMigrationSummaryResult',
@@ -264,20 +226,13 @@
'DatabaseSummaryResult',
'MigrateSqlServerSqlDbTaskOutputMigrationLevel',
'MigrateSqlServerSqlDbTaskOutput',
+ 'ConnectionInfo',
+ 'SqlConnectionInfo',
'SqlMigrationTaskInput',
'MigrationValidationOptions',
'MigrateSqlServerSqlDbDatabaseInput',
'MigrateSqlServerSqlDbTaskInput',
'MigrateSqlServerSqlDbTaskProperties',
- 'MigrateSqlServerSqlMITaskOutputError',
- 'MigrateSqlServerSqlMITaskOutputLoginLevel',
- 'MigrateSqlServerSqlMITaskOutputAgentJobLevel',
- 'MigrateSqlServerSqlMITaskOutputDatabaseLevel',
- 'StartMigrationScenarioServerRoleResult',
- 'MigrateSqlServerSqlMITaskOutputMigrationLevel',
- 'MigrateSqlServerSqlMITaskOutput',
- 'MigrateSqlServerSqlMITaskInput',
- 'MigrateSqlServerSqlMITaskProperties',
'DatabaseTable',
'GetUserTablesSqlTaskOutput',
'GetUserTablesSqlTaskInput',
@@ -285,9 +240,6 @@
'ConnectToTargetSqlDbTaskOutput',
'ConnectToTargetSqlDbTaskInput',
'ConnectToTargetSqlDbTaskProperties',
- 'ConnectToTargetSqlMITaskOutput',
- 'ConnectToTargetSqlMITaskInput',
- 'ConnectToTargetSqlMITaskProperties',
'MigrationEligibilityInfo',
'ConnectToSourceSqlServerTaskOutputAgentJobLevel',
'ConnectToSourceSqlServerTaskOutputLoginLevel',
@@ -324,8 +276,11 @@
'MigrationTableMetadata',
'DataMigrationProjectMetadata',
'DataMigrationError',
+ 'FileShare',
'DatabaseFileInput',
'MigrateSqlServerSqlServerDatabaseInput',
+ 'BlobShare',
+ 'StartMigrationScenarioServerRoleResult',
'ResourceSkuPaged',
'AvailableServiceSkuPaged',
'DataMigrationServicePaged',
@@ -333,7 +288,6 @@
'ProjectPaged',
'QuotaPaged',
'ServiceOperationPaged',
- 'AuthenticationType',
'ValidationStatus',
'Severity',
'UpdateActionType',
@@ -341,7 +295,7 @@
'MigrationState',
'DatabaseMigrationStage',
'MigrationStatus',
- 'LoginMigrationStage',
+ 'AuthenticationType',
'LoginType',
'DatabaseState',
'DatabaseCompatLevel',
@@ -358,4 +312,5 @@
'ResourceSkuRestrictionsReasonCode',
'ResourceSkuCapacityScaleType',
'ErrorType',
+ 'LoginMigrationStage',
]
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_input.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_input.py
index ffea39a8f531..a7cc0d41dd7e 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_input.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_input.py
@@ -41,8 +41,8 @@ class ConnectToSourceSqlServerTaskInput(Model):
_attribute_map = {
'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'SqlConnectionInfo'},
'check_permissions_group': {'key': 'checkPermissionsGroup', 'type': 'str'},
- 'collect_logins': {'key': 'CollectLogins', 'type': 'bool'},
- 'collect_agent_jobs': {'key': 'CollectAgentJobs', 'type': 'bool'},
+ 'collect_logins': {'key': 'collectLogins', 'type': 'bool'},
+ 'collect_agent_jobs': {'key': 'collectAgentJobs', 'type': 'bool'},
}
def __init__(self, **kwargs):
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_input_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_input_py3.py
index 0546c68bfad5..db247d3cb17b 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_input_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_input_py3.py
@@ -41,8 +41,8 @@ class ConnectToSourceSqlServerTaskInput(Model):
_attribute_map = {
'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'SqlConnectionInfo'},
'check_permissions_group': {'key': 'checkPermissionsGroup', 'type': 'str'},
- 'collect_logins': {'key': 'CollectLogins', 'type': 'bool'},
- 'collect_agent_jobs': {'key': 'CollectAgentJobs', 'type': 'bool'},
+ 'collect_logins': {'key': 'collectLogins', 'type': 'bool'},
+ 'collect_agent_jobs': {'key': 'collectAgentJobs', 'type': 'bool'},
}
def __init__(self, *, source_connection_info, check_permissions_group=None, collect_logins: bool=False, collect_agent_jobs: bool=False, **kwargs) -> None:
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_agent_job_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_agent_job_level_py3.py
index 42fe15a9e52d..2380a3f6ff12 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_agent_job_level_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_agent_job_level_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .connect_to_source_sql_server_task_output import ConnectToSourceSqlServerTaskOutput
+from .connect_to_source_sql_server_task_output_py3 import ConnectToSourceSqlServerTaskOutput
class ConnectToSourceSqlServerTaskOutputAgentJobLevel(ConnectToSourceSqlServerTaskOutput):
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_database_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_database_level_py3.py
index 6ad882d8d5f3..86308636fb90 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_database_level_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_database_level_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .connect_to_source_sql_server_task_output import ConnectToSourceSqlServerTaskOutput
+from .connect_to_source_sql_server_task_output_py3 import ConnectToSourceSqlServerTaskOutput
class ConnectToSourceSqlServerTaskOutputDatabaseLevel(ConnectToSourceSqlServerTaskOutput):
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_login_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_login_level_py3.py
index 05f9bcf56dd2..a02d6b46a3df 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_login_level_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_login_level_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .connect_to_source_sql_server_task_output import ConnectToSourceSqlServerTaskOutput
+from .connect_to_source_sql_server_task_output_py3 import ConnectToSourceSqlServerTaskOutput
class ConnectToSourceSqlServerTaskOutputLoginLevel(ConnectToSourceSqlServerTaskOutput):
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_task_level.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_task_level.py
index df44d2f07919..e6d060ea8e71 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_task_level.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_task_level.py
@@ -56,8 +56,8 @@ class ConnectToSourceSqlServerTaskOutputTaskLevel(ConnectToSourceSqlServerTaskOu
'id': {'key': 'id', 'type': 'str'},
'result_type': {'key': 'resultType', 'type': 'str'},
'databases': {'key': 'databases', 'type': '{str}'},
- 'logins': {'key': 'Logins', 'type': '{str}'},
- 'agent_jobs': {'key': 'AgentJobs', 'type': '{str}'},
+ 'logins': {'key': 'logins', 'type': '{str}'},
+ 'agent_jobs': {'key': 'agentJobs', 'type': '{str}'},
'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'},
'source_server_brand_version': {'key': 'sourceServerBrandVersion', 'type': 'str'},
'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'},
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_task_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_task_level_py3.py
index 88fe91e89294..35fda096b09d 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_task_level_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_output_task_level_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .connect_to_source_sql_server_task_output import ConnectToSourceSqlServerTaskOutput
+from .connect_to_source_sql_server_task_output_py3 import ConnectToSourceSqlServerTaskOutput
class ConnectToSourceSqlServerTaskOutputTaskLevel(ConnectToSourceSqlServerTaskOutput):
@@ -56,8 +56,8 @@ class ConnectToSourceSqlServerTaskOutputTaskLevel(ConnectToSourceSqlServerTaskOu
'id': {'key': 'id', 'type': 'str'},
'result_type': {'key': 'resultType', 'type': 'str'},
'databases': {'key': 'databases', 'type': '{str}'},
- 'logins': {'key': 'Logins', 'type': '{str}'},
- 'agent_jobs': {'key': 'AgentJobs', 'type': '{str}'},
+ 'logins': {'key': 'logins', 'type': '{str}'},
+ 'agent_jobs': {'key': 'agentJobs', 'type': '{str}'},
'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'},
'source_server_brand_version': {'key': 'sourceServerBrandVersion', 'type': 'str'},
'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'},
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_properties.py
index 91a3642127a7..01f6e015c94c 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_properties.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_properties.py
@@ -21,8 +21,8 @@ class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties):
All required parameters must be populated in order to send to Azure.
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
+ :param errors: Array of errors. This is ignored if submitted.
+ :type errors: list[~azure.mgmt.datamigration.models.ODataError]
:ivar state: The state of the task. This is ignored if submitted. Possible
values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
'Failed', 'FailedInputValidation', 'Faulted'
@@ -38,7 +38,6 @@ class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties):
"""
_validation = {
- 'errors': {'readonly': True},
'state': {'readonly': True},
'task_type': {'required': True},
'output': {'readonly': True},
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_properties_py3.py
index 4698d76d96d5..aff6212ab398 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_properties_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_task_properties_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .project_task_properties import ProjectTaskProperties
+from .project_task_properties_py3 import ProjectTaskProperties
class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties):
@@ -21,8 +21,8 @@ class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties):
All required parameters must be populated in order to send to Azure.
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
+ :param errors: Array of errors. This is ignored if submitted.
+ :type errors: list[~azure.mgmt.datamigration.models.ODataError]
:ivar state: The state of the task. This is ignored if submitted. Possible
values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
'Failed', 'FailedInputValidation', 'Faulted'
@@ -38,7 +38,6 @@ class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties):
"""
_validation = {
- 'errors': {'readonly': True},
'state': {'readonly': True},
'task_type': {'required': True},
'output': {'readonly': True},
@@ -52,8 +51,8 @@ class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties):
'output': {'key': 'output', 'type': '[ConnectToSourceSqlServerTaskOutput]'},
}
- def __init__(self, *, input=None, **kwargs) -> None:
- super(ConnectToSourceSqlServerTaskProperties, self).__init__(**kwargs)
+ def __init__(self, *, errors=None, input=None, **kwargs) -> None:
+ super(ConnectToSourceSqlServerTaskProperties, self).__init__(errors=errors, **kwargs)
self.input = input
self.output = None
self.task_type = 'ConnectToSource.SqlServer'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_properties.py
index 7ba8885f046e..4f92302d5253 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_properties.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_properties.py
@@ -21,8 +21,8 @@ class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties):
All required parameters must be populated in order to send to Azure.
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
+ :param errors: Array of errors. This is ignored if submitted.
+ :type errors: list[~azure.mgmt.datamigration.models.ODataError]
:ivar state: The state of the task. This is ignored if submitted. Possible
values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
'Failed', 'FailedInputValidation', 'Faulted'
@@ -38,7 +38,6 @@ class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties):
"""
_validation = {
- 'errors': {'readonly': True},
'state': {'readonly': True},
'task_type': {'required': True},
'output': {'readonly': True},
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_properties_py3.py
index 4e7c44b85e5c..5c8b6a2eaadf 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_properties_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_db_task_properties_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .project_task_properties import ProjectTaskProperties
+from .project_task_properties_py3 import ProjectTaskProperties
class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties):
@@ -21,8 +21,8 @@ class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties):
All required parameters must be populated in order to send to Azure.
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
+ :param errors: Array of errors. This is ignored if submitted.
+ :type errors: list[~azure.mgmt.datamigration.models.ODataError]
:ivar state: The state of the task. This is ignored if submitted. Possible
values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
'Failed', 'FailedInputValidation', 'Faulted'
@@ -38,7 +38,6 @@ class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties):
"""
_validation = {
- 'errors': {'readonly': True},
'state': {'readonly': True},
'task_type': {'required': True},
'output': {'readonly': True},
@@ -52,8 +51,8 @@ class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties):
'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'},
}
- def __init__(self, *, input=None, **kwargs) -> None:
- super(ConnectToTargetSqlDbTaskProperties, self).__init__(**kwargs)
+ def __init__(self, *, errors=None, input=None, **kwargs) -> None:
+ super(ConnectToTargetSqlDbTaskProperties, self).__init__(errors=errors, **kwargs)
self.input = input
self.output = None
self.task_type = 'ConnectToTarget.SqlDb'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_input.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_input.py
deleted file mode 100644
index 5c4a175938d9..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_input.py
+++ /dev/null
@@ -1,37 +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 ConnectToTargetSqlMITaskInput(Model):
- """Input for the task that validates connection to Azure SQL Database Managed
- Instance.
-
- All required parameters must be populated in order to send to Azure.
-
- :param target_connection_info: Required. Connection information for target
- SQL Server
- :type target_connection_info:
- ~azure.mgmt.datamigration.models.SqlConnectionInfo
- """
-
- _validation = {
- 'target_connection_info': {'required': True},
- }
-
- _attribute_map = {
- 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'},
- }
-
- def __init__(self, **kwargs):
- super(ConnectToTargetSqlMITaskInput, self).__init__(**kwargs)
- self.target_connection_info = kwargs.get('target_connection_info', None)
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_input_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_input_py3.py
deleted file mode 100644
index 873c751e9c5c..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_input_py3.py
+++ /dev/null
@@ -1,37 +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 ConnectToTargetSqlMITaskInput(Model):
- """Input for the task that validates connection to Azure SQL Database Managed
- Instance.
-
- All required parameters must be populated in order to send to Azure.
-
- :param target_connection_info: Required. Connection information for target
- SQL Server
- :type target_connection_info:
- ~azure.mgmt.datamigration.models.SqlConnectionInfo
- """
-
- _validation = {
- 'target_connection_info': {'required': True},
- }
-
- _attribute_map = {
- 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'},
- }
-
- def __init__(self, *, target_connection_info, **kwargs) -> None:
- super(ConnectToTargetSqlMITaskInput, self).__init__(**kwargs)
- self.target_connection_info = target_connection_info
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
deleted file mode 100644
index 8476f1a067db..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_output.py
+++ /dev/null
@@ -1,62 +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 ConnectToTargetSqlMITaskOutput(Model):
- """Output for the task that validates connection to Azure SQL Database Managed
- Instance.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- :ivar id: Result identifier
- :vartype id: str
- :ivar target_server_version: Target server version
- :vartype target_server_version: str
- :ivar target_server_brand_version: Target server brand version
- :vartype target_server_brand_version: str
- :ivar logins: List of logins on the target server.
- :vartype logins: list[str]
- :ivar agent_jobs: List of agent jobs on the target server.
- :vartype agent_jobs: list[str]
- :ivar validation_errors: Validation errors
- :vartype validation_errors:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'target_server_version': {'readonly': True},
- 'target_server_brand_version': {'readonly': True},
- 'logins': {'readonly': True},
- 'agent_jobs': {'readonly': True},
- 'validation_errors': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'target_server_version': {'key': 'targetServerVersion', 'type': 'str'},
- 'target_server_brand_version': {'key': 'targetServerBrandVersion', 'type': 'str'},
- 'logins': {'key': 'Logins', 'type': '[str]'},
- 'agent_jobs': {'key': 'AgentJobs', 'type': '[str]'},
- 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs):
- super(ConnectToTargetSqlMITaskOutput, self).__init__(**kwargs)
- self.id = None
- self.target_server_version = None
- self.target_server_brand_version = None
- self.logins = None
- self.agent_jobs = 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
deleted file mode 100644
index 3befd75e28da..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_output_py3.py
+++ /dev/null
@@ -1,62 +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 ConnectToTargetSqlMITaskOutput(Model):
- """Output for the task that validates connection to Azure SQL Database Managed
- Instance.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- :ivar id: Result identifier
- :vartype id: str
- :ivar target_server_version: Target server version
- :vartype target_server_version: str
- :ivar target_server_brand_version: Target server brand version
- :vartype target_server_brand_version: str
- :ivar logins: List of logins on the target server.
- :vartype logins: list[str]
- :ivar agent_jobs: List of agent jobs on the target server.
- :vartype agent_jobs: list[str]
- :ivar validation_errors: Validation errors
- :vartype validation_errors:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'target_server_version': {'readonly': True},
- 'target_server_brand_version': {'readonly': True},
- 'logins': {'readonly': True},
- 'agent_jobs': {'readonly': True},
- 'validation_errors': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'target_server_version': {'key': 'targetServerVersion', 'type': 'str'},
- 'target_server_brand_version': {'key': 'targetServerBrandVersion', 'type': 'str'},
- 'logins': {'key': 'Logins', 'type': '[str]'},
- 'agent_jobs': {'key': 'AgentJobs', 'type': '[str]'},
- 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs) -> None:
- super(ConnectToTargetSqlMITaskOutput, self).__init__(**kwargs)
- self.id = None
- self.target_server_version = None
- self.target_server_brand_version = None
- self.logins = None
- self.agent_jobs = None
- self.validation_errors = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_properties.py
deleted file mode 100644
index 0cb955b2bebc..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_properties.py
+++ /dev/null
@@ -1,59 +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 .project_task_properties import ProjectTaskProperties
-
-
-class ConnectToTargetSqlMITaskProperties(ProjectTaskProperties):
- """Properties for the task that validates connection to Azure SQL Database
- Managed Instance.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
- :ivar state: The state of the task. This is ignored if submitted. Possible
- values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
- 'Failed', 'FailedInputValidation', 'Faulted'
- :vartype state: str or ~azure.mgmt.datamigration.models.TaskState
- :param task_type: Required. Constant filled by server.
- :type task_type: str
- :param input: Task input
- :type input:
- ~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskInput
- :ivar output: Task output. This is ignored if submitted.
- :vartype output:
- list[~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskOutput]
- """
-
- _validation = {
- 'errors': {'readonly': True},
- 'state': {'readonly': True},
- 'task_type': {'required': True},
- 'output': {'readonly': True},
- }
-
- _attribute_map = {
- 'errors': {'key': 'errors', 'type': '[ODataError]'},
- 'state': {'key': 'state', 'type': 'str'},
- 'task_type': {'key': 'taskType', 'type': 'str'},
- 'input': {'key': 'input', 'type': 'ConnectToTargetSqlMITaskInput'},
- 'output': {'key': 'output', 'type': '[ConnectToTargetSqlMITaskOutput]'},
- }
-
- def __init__(self, **kwargs):
- super(ConnectToTargetSqlMITaskProperties, self).__init__(**kwargs)
- self.input = kwargs.get('input', None)
- self.output = None
- self.task_type = 'ConnectToTarget.AzureSqlDbMI'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_properties_py3.py
deleted file mode 100644
index 05130b369de6..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_properties_py3.py
+++ /dev/null
@@ -1,59 +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 .project_task_properties import ProjectTaskProperties
-
-
-class ConnectToTargetSqlMITaskProperties(ProjectTaskProperties):
- """Properties for the task that validates connection to Azure SQL Database
- Managed Instance.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
- :ivar state: The state of the task. This is ignored if submitted. Possible
- values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
- 'Failed', 'FailedInputValidation', 'Faulted'
- :vartype state: str or ~azure.mgmt.datamigration.models.TaskState
- :param task_type: Required. Constant filled by server.
- :type task_type: str
- :param input: Task input
- :type input:
- ~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskInput
- :ivar output: Task output. This is ignored if submitted.
- :vartype output:
- list[~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskOutput]
- """
-
- _validation = {
- 'errors': {'readonly': True},
- 'state': {'readonly': True},
- 'task_type': {'required': True},
- 'output': {'readonly': True},
- }
-
- _attribute_map = {
- 'errors': {'key': 'errors', 'type': '[ODataError]'},
- 'state': {'key': 'state', 'type': 'str'},
- 'task_type': {'key': 'taskType', 'type': 'str'},
- 'input': {'key': 'input', 'type': 'ConnectToTargetSqlMITaskInput'},
- 'output': {'key': 'output', 'type': '[ConnectToTargetSqlMITaskOutput]'},
- }
-
- def __init__(self, *, input=None, **kwargs) -> None:
- super(ConnectToTargetSqlMITaskProperties, self).__init__(**kwargs)
- self.input = input
- self.output = None
- self.task_type = 'ConnectToTarget.AzureSqlDbMI'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_integrity_validation_result.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_integrity_validation_result.py
index 7b82ac28cc97..2a3c8b040b67 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_integrity_validation_result.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_integrity_validation_result.py
@@ -15,14 +15,22 @@
class DataIntegrityValidationResult(Model):
"""Results for checksum based Data Integrity validation results.
- :param failed_objects: List of failed table names of source and target
- pair
- :type failed_objects: dict[str, str]
- :param validation_errors: List of errors that happened while performing
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar failed_objects: List of failed table names of source and target pair
+ :vartype failed_objects: dict[str, str]
+ :ivar validation_errors: List of errors that happened while performing
data integrity validation
- :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError
+ :vartype validation_errors:
+ ~azure.mgmt.datamigration.models.ValidationError
"""
+ _validation = {
+ 'failed_objects': {'readonly': True},
+ 'validation_errors': {'readonly': True},
+ }
+
_attribute_map = {
'failed_objects': {'key': 'failedObjects', 'type': '{str}'},
'validation_errors': {'key': 'validationErrors', 'type': 'ValidationError'},
@@ -30,5 +38,5 @@ class DataIntegrityValidationResult(Model):
def __init__(self, **kwargs):
super(DataIntegrityValidationResult, self).__init__(**kwargs)
- self.failed_objects = kwargs.get('failed_objects', None)
- self.validation_errors = kwargs.get('validation_errors', None)
+ self.failed_objects = None
+ self.validation_errors = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_integrity_validation_result_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_integrity_validation_result_py3.py
index 026a2b642eb8..2a0f4f51dd4e 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_integrity_validation_result_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_integrity_validation_result_py3.py
@@ -15,20 +15,28 @@
class DataIntegrityValidationResult(Model):
"""Results for checksum based Data Integrity validation results.
- :param failed_objects: List of failed table names of source and target
- pair
- :type failed_objects: dict[str, str]
- :param validation_errors: List of errors that happened while performing
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar failed_objects: List of failed table names of source and target pair
+ :vartype failed_objects: dict[str, str]
+ :ivar validation_errors: List of errors that happened while performing
data integrity validation
- :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError
+ :vartype validation_errors:
+ ~azure.mgmt.datamigration.models.ValidationError
"""
+ _validation = {
+ 'failed_objects': {'readonly': True},
+ 'validation_errors': {'readonly': True},
+ }
+
_attribute_map = {
'failed_objects': {'key': 'failedObjects', 'type': '{str}'},
'validation_errors': {'key': 'validationErrors', 'type': 'ValidationError'},
}
- def __init__(self, *, failed_objects=None, validation_errors=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(DataIntegrityValidationResult, self).__init__(**kwargs)
- self.failed_objects = failed_objects
- self.validation_errors = validation_errors
+ self.failed_objects = None
+ self.validation_errors = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_error.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_error.py
index 110159c5b509..7db00f94bcd5 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_error.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_error.py
@@ -20,7 +20,8 @@ class DataMigrationError(Model):
:ivar message: Error description
:vartype message: str
- :param type: Possible values include: 'Default', 'Warning', 'Error'
+ :param type: Type of error. Possible values include: 'Default', 'Warning',
+ 'Error'
:type type: str or ~azure.mgmt.datamigration.models.ErrorType
"""
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_error_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_error_py3.py
index 9cb1fa6fc5cb..c2d670e0227f 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_error_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_error_py3.py
@@ -20,7 +20,8 @@ class DataMigrationError(Model):
:ivar message: Error description
:vartype message: str
- :param type: Possible values include: 'Default', 'Warning', 'Error'
+ :param type: Type of error. Possible values include: 'Default', 'Warning',
+ 'Error'
:type type: str or ~azure.mgmt.datamigration.models.ErrorType
"""
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service.py
index 0d55893b1dc1..9524dabd3b16 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service.py
@@ -13,7 +13,7 @@
class DataMigrationService(TrackedResource):
- """A Data Migration Service resource.
+ """A Database Migration Service resource.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service_client_enums.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service_client_enums.py
index ce5c348948bf..d239d78e1fbb 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service_client_enums.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service_client_enums.py
@@ -12,15 +12,6 @@
from enum import Enum
-class AuthenticationType(str, Enum):
-
- none = "None"
- windows_authentication = "WindowsAuthentication"
- sql_authentication = "SqlAuthentication"
- active_directory_integrated = "ActiveDirectoryIntegrated"
- active_directory_password = "ActiveDirectoryPassword"
-
-
class ValidationStatus(str, Enum):
default = "Default"
@@ -91,17 +82,13 @@ class MigrationStatus(str, Enum):
completed_with_warnings = "CompletedWithWarnings"
-class LoginMigrationStage(str, Enum):
+class AuthenticationType(str, Enum):
none = "None"
- initialize = "Initialize"
- login_migration = "LoginMigration"
- establish_user_mapping = "EstablishUserMapping"
- assign_role_membership = "AssignRoleMembership"
- assign_role_ownership = "AssignRoleOwnership"
- establish_server_permissions = "EstablishServerPermissions"
- establish_object_permissions = "EstablishObjectPermissions"
- completed = "Completed"
+ windows_authentication = "WindowsAuthentication"
+ sql_authentication = "SqlAuthentication"
+ active_directory_integrated = "ActiveDirectoryIntegrated"
+ active_directory_password = "ActiveDirectoryPassword"
class LoginType(str, Enum):
@@ -183,7 +170,6 @@ class ServiceProvisioningState(str, Enum):
class ProjectTargetPlatform(str, Enum):
sqldb = "SQLDB"
- sqlmi = "SQLMI"
unknown = "Unknown"
@@ -235,3 +221,16 @@ class ErrorType(str, Enum):
default = "Default"
warning = "Warning"
error = "Error"
+
+
+class LoginMigrationStage(str, Enum):
+
+ none = "None"
+ initialize = "Initialize"
+ login_migration = "LoginMigration"
+ establish_user_mapping = "EstablishUserMapping"
+ assign_role_membership = "AssignRoleMembership"
+ assign_role_ownership = "AssignRoleOwnership"
+ establish_server_permissions = "EstablishServerPermissions"
+ establish_object_permissions = "EstablishObjectPermissions"
+ completed = "Completed"
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service_py3.py
index fa7d686efe30..126c1bc99cce 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/data_migration_service_py3.py
@@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------
-from .tracked_resource import TrackedResource
+from .tracked_resource_py3 import TrackedResource
class DataMigrationService(TrackedResource):
- """A Data Migration Service resource.
+ """A Database Migration Service resource.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database.py
index 527ea44ee80c..a098e7c6a412 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database.py
@@ -15,50 +15,73 @@
class Database(Model):
"""Information about a single database.
- :param id: Unique identifier for the database
- :type id: str
- :param name: Name of the database
- :type name: str
- :param compatibility_level: SQL Server compatibility level of database.
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar id: Unique identifier for the database
+ :vartype id: str
+ :ivar name: Name of the database
+ :vartype name: str
+ :ivar compatibility_level: SQL Server compatibility level of database.
Possible values include: 'CompatLevel80', 'CompatLevel90',
'CompatLevel100', 'CompatLevel110', 'CompatLevel120', 'CompatLevel130',
'CompatLevel140'
- :type compatibility_level: str or
+ :vartype compatibility_level: str or
~azure.mgmt.datamigration.models.DatabaseCompatLevel
- :param collation: Collation name of the database
- :type collation: str
- :param server_name: Name of the server
- :type server_name: str
- :param fqdn: Fully qualified name
- :type fqdn: str
- :param install_id: Install id of the database
- :type install_id: str
- :param server_version: Version of the server
- :type server_version: str
- :param server_edition: Edition of the server
- :type server_edition: str
- :param server_level: Product level of the server (RTM, SP, CTP).
- :type server_level: str
- :param server_default_data_path: Default path of the data files
- :type server_default_data_path: str
- :param server_default_log_path: Default path of the log files
- :type server_default_log_path: str
- :param server_default_backup_path: Default path of the backup folder
- :type server_default_backup_path: str
- :param server_core_count: Number of cores on the server
- :type server_core_count: int
- :param server_visible_online_core_count: Number of cores on the server
- that have VISIBLE ONLINE status
- :type server_visible_online_core_count: int
- :param database_state: State of the database. Possible values include:
+ :ivar collation: Collation name of the database
+ :vartype collation: str
+ :ivar server_name: Name of the server
+ :vartype server_name: str
+ :ivar fqdn: Fully qualified name
+ :vartype fqdn: str
+ :ivar install_id: Install id of the database
+ :vartype install_id: str
+ :ivar server_version: Version of the server
+ :vartype server_version: str
+ :ivar server_edition: Edition of the server
+ :vartype server_edition: str
+ :ivar server_level: Product level of the server (RTM, SP, CTP).
+ :vartype server_level: str
+ :ivar server_default_data_path: Default path of the data files
+ :vartype server_default_data_path: str
+ :ivar server_default_log_path: Default path of the log files
+ :vartype server_default_log_path: str
+ :ivar server_default_backup_path: Default path of the backup folder
+ :vartype server_default_backup_path: str
+ :ivar server_core_count: Number of cores on the server
+ :vartype server_core_count: int
+ :ivar server_visible_online_core_count: Number of cores on the server that
+ have VISIBLE ONLINE status
+ :vartype server_visible_online_core_count: int
+ :ivar database_state: State of the database. Possible values include:
'Online', 'Restoring', 'Recovering', 'RecoveryPending', 'Suspect',
'Emergency', 'Offline', 'Copying', 'OfflineSecondary'
- :type database_state: str or
+ :vartype database_state: str or
~azure.mgmt.datamigration.models.DatabaseState
- :param server_id: The unique Server Id
- :type server_id: str
+ :ivar server_id: The unique Server Id
+ :vartype server_id: str
"""
+ _validation = {
+ 'id': {'readonly': True},
+ 'name': {'readonly': True},
+ 'compatibility_level': {'readonly': True},
+ 'collation': {'readonly': True},
+ 'server_name': {'readonly': True},
+ 'fqdn': {'readonly': True},
+ 'install_id': {'readonly': True},
+ 'server_version': {'readonly': True},
+ 'server_edition': {'readonly': True},
+ 'server_level': {'readonly': True},
+ 'server_default_data_path': {'readonly': True},
+ 'server_default_log_path': {'readonly': True},
+ 'server_default_backup_path': {'readonly': True},
+ 'server_core_count': {'readonly': True},
+ 'server_visible_online_core_count': {'readonly': True},
+ 'database_state': {'readonly': True},
+ 'server_id': {'readonly': True},
+ }
+
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
@@ -81,20 +104,20 @@ class Database(Model):
def __init__(self, **kwargs):
super(Database, self).__init__(**kwargs)
- self.id = kwargs.get('id', None)
- self.name = kwargs.get('name', None)
- self.compatibility_level = kwargs.get('compatibility_level', None)
- self.collation = kwargs.get('collation', None)
- self.server_name = kwargs.get('server_name', None)
- self.fqdn = kwargs.get('fqdn', None)
- self.install_id = kwargs.get('install_id', None)
- self.server_version = kwargs.get('server_version', None)
- self.server_edition = kwargs.get('server_edition', None)
- self.server_level = kwargs.get('server_level', None)
- self.server_default_data_path = kwargs.get('server_default_data_path', None)
- self.server_default_log_path = kwargs.get('server_default_log_path', None)
- self.server_default_backup_path = kwargs.get('server_default_backup_path', None)
- self.server_core_count = kwargs.get('server_core_count', None)
- self.server_visible_online_core_count = kwargs.get('server_visible_online_core_count', None)
- self.database_state = kwargs.get('database_state', None)
- self.server_id = kwargs.get('server_id', None)
+ self.id = None
+ self.name = None
+ self.compatibility_level = None
+ self.collation = None
+ self.server_name = None
+ self.fqdn = None
+ self.install_id = None
+ self.server_version = None
+ self.server_edition = None
+ self.server_level = None
+ self.server_default_data_path = None
+ self.server_default_log_path = None
+ self.server_default_backup_path = None
+ self.server_core_count = None
+ self.server_visible_online_core_count = None
+ self.database_state = None
+ self.server_id = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database_py3.py
index 4f11b4f238c7..b8795479e407 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database_py3.py
@@ -15,50 +15,73 @@
class Database(Model):
"""Information about a single database.
- :param id: Unique identifier for the database
- :type id: str
- :param name: Name of the database
- :type name: str
- :param compatibility_level: SQL Server compatibility level of database.
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar id: Unique identifier for the database
+ :vartype id: str
+ :ivar name: Name of the database
+ :vartype name: str
+ :ivar compatibility_level: SQL Server compatibility level of database.
Possible values include: 'CompatLevel80', 'CompatLevel90',
'CompatLevel100', 'CompatLevel110', 'CompatLevel120', 'CompatLevel130',
'CompatLevel140'
- :type compatibility_level: str or
+ :vartype compatibility_level: str or
~azure.mgmt.datamigration.models.DatabaseCompatLevel
- :param collation: Collation name of the database
- :type collation: str
- :param server_name: Name of the server
- :type server_name: str
- :param fqdn: Fully qualified name
- :type fqdn: str
- :param install_id: Install id of the database
- :type install_id: str
- :param server_version: Version of the server
- :type server_version: str
- :param server_edition: Edition of the server
- :type server_edition: str
- :param server_level: Product level of the server (RTM, SP, CTP).
- :type server_level: str
- :param server_default_data_path: Default path of the data files
- :type server_default_data_path: str
- :param server_default_log_path: Default path of the log files
- :type server_default_log_path: str
- :param server_default_backup_path: Default path of the backup folder
- :type server_default_backup_path: str
- :param server_core_count: Number of cores on the server
- :type server_core_count: int
- :param server_visible_online_core_count: Number of cores on the server
- that have VISIBLE ONLINE status
- :type server_visible_online_core_count: int
- :param database_state: State of the database. Possible values include:
+ :ivar collation: Collation name of the database
+ :vartype collation: str
+ :ivar server_name: Name of the server
+ :vartype server_name: str
+ :ivar fqdn: Fully qualified name
+ :vartype fqdn: str
+ :ivar install_id: Install id of the database
+ :vartype install_id: str
+ :ivar server_version: Version of the server
+ :vartype server_version: str
+ :ivar server_edition: Edition of the server
+ :vartype server_edition: str
+ :ivar server_level: Product level of the server (RTM, SP, CTP).
+ :vartype server_level: str
+ :ivar server_default_data_path: Default path of the data files
+ :vartype server_default_data_path: str
+ :ivar server_default_log_path: Default path of the log files
+ :vartype server_default_log_path: str
+ :ivar server_default_backup_path: Default path of the backup folder
+ :vartype server_default_backup_path: str
+ :ivar server_core_count: Number of cores on the server
+ :vartype server_core_count: int
+ :ivar server_visible_online_core_count: Number of cores on the server that
+ have VISIBLE ONLINE status
+ :vartype server_visible_online_core_count: int
+ :ivar database_state: State of the database. Possible values include:
'Online', 'Restoring', 'Recovering', 'RecoveryPending', 'Suspect',
'Emergency', 'Offline', 'Copying', 'OfflineSecondary'
- :type database_state: str or
+ :vartype database_state: str or
~azure.mgmt.datamigration.models.DatabaseState
- :param server_id: The unique Server Id
- :type server_id: str
+ :ivar server_id: The unique Server Id
+ :vartype server_id: str
"""
+ _validation = {
+ 'id': {'readonly': True},
+ 'name': {'readonly': True},
+ 'compatibility_level': {'readonly': True},
+ 'collation': {'readonly': True},
+ 'server_name': {'readonly': True},
+ 'fqdn': {'readonly': True},
+ 'install_id': {'readonly': True},
+ 'server_version': {'readonly': True},
+ 'server_edition': {'readonly': True},
+ 'server_level': {'readonly': True},
+ 'server_default_data_path': {'readonly': True},
+ 'server_default_log_path': {'readonly': True},
+ 'server_default_backup_path': {'readonly': True},
+ 'server_core_count': {'readonly': True},
+ 'server_visible_online_core_count': {'readonly': True},
+ 'database_state': {'readonly': True},
+ 'server_id': {'readonly': True},
+ }
+
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
@@ -79,22 +102,22 @@ class Database(Model):
'server_id': {'key': 'serverId', 'type': 'str'},
}
- def __init__(self, *, id: str=None, name: str=None, compatibility_level=None, collation: str=None, server_name: str=None, fqdn: str=None, install_id: str=None, server_version: str=None, server_edition: str=None, server_level: str=None, server_default_data_path: str=None, server_default_log_path: str=None, server_default_backup_path: str=None, server_core_count: int=None, server_visible_online_core_count: int=None, database_state=None, server_id: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(Database, self).__init__(**kwargs)
- self.id = id
- self.name = name
- self.compatibility_level = compatibility_level
- self.collation = collation
- self.server_name = server_name
- self.fqdn = fqdn
- self.install_id = install_id
- self.server_version = server_version
- self.server_edition = server_edition
- self.server_level = server_level
- self.server_default_data_path = server_default_data_path
- self.server_default_log_path = server_default_log_path
- self.server_default_backup_path = server_default_backup_path
- self.server_core_count = server_core_count
- self.server_visible_online_core_count = server_visible_online_core_count
- self.database_state = database_state
- self.server_id = server_id
+ self.id = None
+ self.name = None
+ self.compatibility_level = None
+ self.collation = None
+ self.server_name = None
+ self.fqdn = None
+ self.install_id = None
+ self.server_version = None
+ self.server_edition = None
+ self.server_level = None
+ self.server_default_data_path = None
+ self.server_default_log_path = None
+ self.server_default_backup_path = None
+ self.server_core_count = None
+ self.server_visible_online_core_count = None
+ self.database_state = None
+ self.server_id = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database_summary_result_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database_summary_result_py3.py
index f79873cc2707..57212a73673f 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database_summary_result_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/database_summary_result_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .data_item_migration_summary_result import DataItemMigrationSummaryResult
+from .data_item_migration_summary_result_py3 import DataItemMigrationSummaryResult
class DatabaseSummaryResult(DataItemMigrationSummaryResult):
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/execution_statistics.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/execution_statistics.py
index eb2c318820a1..098919cb25a7 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/execution_statistics.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/execution_statistics.py
@@ -15,23 +15,34 @@
class ExecutionStatistics(Model):
"""Description about the errors happen while performing migration validation.
- :param execution_count: No. of query executions
- :type execution_count: long
- :param cpu_time_ms: CPU Time in millisecond(s) for the query execution
- :type cpu_time_ms: float
- :param elapsed_time_ms: Time taken in millisecond(s) for executing the
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar execution_count: No. of query executions
+ :vartype execution_count: long
+ :ivar cpu_time_ms: CPU Time in millisecond(s) for the query execution
+ :vartype cpu_time_ms: float
+ :ivar elapsed_time_ms: Time taken in millisecond(s) for executing the
query
- :type elapsed_time_ms: float
+ :vartype elapsed_time_ms: float
:param wait_stats: Dictionary of sql query execution wait types and the
respective statistics
:type wait_stats: dict[str,
~azure.mgmt.datamigration.models.WaitStatistics]
- :param has_errors: Indicates whether the query resulted in an error
- :type has_errors: bool
- :param sql_errors: List of sql Errors
- :type sql_errors: list[str]
+ :ivar has_errors: Indicates whether the query resulted in an error
+ :vartype has_errors: bool
+ :ivar sql_errors: List of sql Errors
+ :vartype sql_errors: list[str]
"""
+ _validation = {
+ 'execution_count': {'readonly': True},
+ 'cpu_time_ms': {'readonly': True},
+ 'elapsed_time_ms': {'readonly': True},
+ 'has_errors': {'readonly': True},
+ 'sql_errors': {'readonly': True},
+ }
+
_attribute_map = {
'execution_count': {'key': 'executionCount', 'type': 'long'},
'cpu_time_ms': {'key': 'cpuTimeMs', 'type': 'float'},
@@ -43,9 +54,9 @@ class ExecutionStatistics(Model):
def __init__(self, **kwargs):
super(ExecutionStatistics, self).__init__(**kwargs)
- self.execution_count = kwargs.get('execution_count', None)
- self.cpu_time_ms = kwargs.get('cpu_time_ms', None)
- self.elapsed_time_ms = kwargs.get('elapsed_time_ms', None)
+ self.execution_count = None
+ self.cpu_time_ms = None
+ self.elapsed_time_ms = None
self.wait_stats = kwargs.get('wait_stats', None)
- self.has_errors = kwargs.get('has_errors', None)
- self.sql_errors = kwargs.get('sql_errors', None)
+ self.has_errors = None
+ self.sql_errors = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/execution_statistics_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/execution_statistics_py3.py
index 7fefb7275b2a..f19075a919ff 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/execution_statistics_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/execution_statistics_py3.py
@@ -15,23 +15,34 @@
class ExecutionStatistics(Model):
"""Description about the errors happen while performing migration validation.
- :param execution_count: No. of query executions
- :type execution_count: long
- :param cpu_time_ms: CPU Time in millisecond(s) for the query execution
- :type cpu_time_ms: float
- :param elapsed_time_ms: Time taken in millisecond(s) for executing the
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar execution_count: No. of query executions
+ :vartype execution_count: long
+ :ivar cpu_time_ms: CPU Time in millisecond(s) for the query execution
+ :vartype cpu_time_ms: float
+ :ivar elapsed_time_ms: Time taken in millisecond(s) for executing the
query
- :type elapsed_time_ms: float
+ :vartype elapsed_time_ms: float
:param wait_stats: Dictionary of sql query execution wait types and the
respective statistics
:type wait_stats: dict[str,
~azure.mgmt.datamigration.models.WaitStatistics]
- :param has_errors: Indicates whether the query resulted in an error
- :type has_errors: bool
- :param sql_errors: List of sql Errors
- :type sql_errors: list[str]
+ :ivar has_errors: Indicates whether the query resulted in an error
+ :vartype has_errors: bool
+ :ivar sql_errors: List of sql Errors
+ :vartype sql_errors: list[str]
"""
+ _validation = {
+ 'execution_count': {'readonly': True},
+ 'cpu_time_ms': {'readonly': True},
+ 'elapsed_time_ms': {'readonly': True},
+ 'has_errors': {'readonly': True},
+ 'sql_errors': {'readonly': True},
+ }
+
_attribute_map = {
'execution_count': {'key': 'executionCount', 'type': 'long'},
'cpu_time_ms': {'key': 'cpuTimeMs', 'type': 'float'},
@@ -41,11 +52,11 @@ class ExecutionStatistics(Model):
'sql_errors': {'key': 'sqlErrors', 'type': '[str]'},
}
- def __init__(self, *, execution_count: int=None, cpu_time_ms: float=None, elapsed_time_ms: float=None, wait_stats=None, has_errors: bool=None, sql_errors=None, **kwargs) -> None:
+ def __init__(self, *, wait_stats=None, **kwargs) -> None:
super(ExecutionStatistics, self).__init__(**kwargs)
- self.execution_count = execution_count
- self.cpu_time_ms = cpu_time_ms
- self.elapsed_time_ms = elapsed_time_ms
+ self.execution_count = None
+ self.cpu_time_ms = None
+ self.elapsed_time_ms = None
self.wait_stats = wait_stats
- self.has_errors = has_errors
- self.sql_errors = sql_errors
+ self.has_errors = None
+ self.sql_errors = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_properties.py
index 0d8aca71745b..51f06680e246 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_properties.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_properties.py
@@ -21,8 +21,8 @@ class GetUserTablesSqlTaskProperties(ProjectTaskProperties):
All required parameters must be populated in order to send to Azure.
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
+ :param errors: Array of errors. This is ignored if submitted.
+ :type errors: list[~azure.mgmt.datamigration.models.ODataError]
:ivar state: The state of the task. This is ignored if submitted. Possible
values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
'Failed', 'FailedInputValidation', 'Faulted'
@@ -37,7 +37,6 @@ class GetUserTablesSqlTaskProperties(ProjectTaskProperties):
"""
_validation = {
- 'errors': {'readonly': True},
'state': {'readonly': True},
'task_type': {'required': True},
'output': {'readonly': True},
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_properties_py3.py
index 238079fa0ac7..af726e4b4e53 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_properties_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_task_properties_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .project_task_properties import ProjectTaskProperties
+from .project_task_properties_py3 import ProjectTaskProperties
class GetUserTablesSqlTaskProperties(ProjectTaskProperties):
@@ -21,8 +21,8 @@ class GetUserTablesSqlTaskProperties(ProjectTaskProperties):
All required parameters must be populated in order to send to Azure.
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
+ :param errors: Array of errors. This is ignored if submitted.
+ :type errors: list[~azure.mgmt.datamigration.models.ODataError]
:ivar state: The state of the task. This is ignored if submitted. Possible
values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
'Failed', 'FailedInputValidation', 'Faulted'
@@ -37,7 +37,6 @@ class GetUserTablesSqlTaskProperties(ProjectTaskProperties):
"""
_validation = {
- 'errors': {'readonly': True},
'state': {'readonly': True},
'task_type': {'required': True},
'output': {'readonly': True},
@@ -51,8 +50,8 @@ class GetUserTablesSqlTaskProperties(ProjectTaskProperties):
'output': {'key': 'output', 'type': '[GetUserTablesSqlTaskOutput]'},
}
- def __init__(self, *, input=None, **kwargs) -> None:
- super(GetUserTablesSqlTaskProperties, self).__init__(**kwargs)
+ def __init__(self, *, errors=None, input=None, **kwargs) -> None:
+ super(GetUserTablesSqlTaskProperties, self).__init__(errors=errors, **kwargs)
self.input = input
self.output = None
self.task_type = 'GetUserTables.Sql'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_input_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_input_py3.py
index 78e04b0339e9..52ddf0bc50de 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_input_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_input_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .sql_migration_task_input import SqlMigrationTaskInput
+from .sql_migration_task_input_py3 import SqlMigrationTaskInput
class MigrateSqlServerSqlDbTaskInput(SqlMigrationTaskInput):
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_database_level.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_database_level.py
index a889f9e00f7b..32badbf078b1 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_database_level.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_database_level.py
@@ -13,7 +13,7 @@
class MigrateSqlServerSqlDbTaskOutputDatabaseLevel(MigrateSqlServerSqlDbTaskOutput):
- """MigrateSqlServerSqlDbTaskOutputDatabaseLevel.
+ """Database level result for Sql Server to Azure Sql DB migration.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_database_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_database_level_py3.py
index 7cb7b2f40159..1e919575fc96 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_database_level_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_database_level_py3.py
@@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------
-from .migrate_sql_server_sql_db_task_output import MigrateSqlServerSqlDbTaskOutput
+from .migrate_sql_server_sql_db_task_output_py3 import MigrateSqlServerSqlDbTaskOutput
class MigrateSqlServerSqlDbTaskOutputDatabaseLevel(MigrateSqlServerSqlDbTaskOutput):
- """MigrateSqlServerSqlDbTaskOutputDatabaseLevel.
+ """Database level result for Sql Server to Azure Sql DB migration.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_error.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_error.py
index 01af38599841..e576cdc7e233 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_error.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_error.py
@@ -13,7 +13,7 @@
class MigrateSqlServerSqlDbTaskOutputError(MigrateSqlServerSqlDbTaskOutput):
- """MigrateSqlServerSqlDbTaskOutputError.
+ """Task errors for Sql Server to Azure Sql DB migration.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_error_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_error_py3.py
index 248b5eb7ca20..addea931935d 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_error_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_error_py3.py
@@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------
-from .migrate_sql_server_sql_db_task_output import MigrateSqlServerSqlDbTaskOutput
+from .migrate_sql_server_sql_db_task_output_py3 import MigrateSqlServerSqlDbTaskOutput
class MigrateSqlServerSqlDbTaskOutputError(MigrateSqlServerSqlDbTaskOutput):
- """MigrateSqlServerSqlDbTaskOutputError.
+ """Task errors for Sql Server to Azure Sql DB migration.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_migration_level.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_migration_level.py
index 54ec3bfee665..34f22e16d191 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_migration_level.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_migration_level.py
@@ -13,7 +13,7 @@
class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOutput):
- """MigrateSqlServerSqlDbTaskOutputMigrationLevel.
+ """Migration level result for Sql server to Azure Sql DB migration.
Variables are only populated by the server, and will be ignored when
sending a request.
@@ -45,9 +45,9 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut
:ivar database_summary: Summary of database results in the migration
:vartype database_summary: dict[str,
~azure.mgmt.datamigration.models.DatabaseSummaryResult]
- :param migration_report_result: Migration Report Result, provides unique
- url for downloading your migration report.
- :type migration_report_result:
+ :ivar migration_report: Migration Report Result, provides unique url for
+ downloading your migration report.
+ :vartype migration_report:
~azure.mgmt.datamigration.models.MigrationReportResult
:ivar source_server_version: Source server version
:vartype source_server_version: str
@@ -73,6 +73,7 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut
'message': {'readonly': True},
'databases': {'readonly': True},
'database_summary': {'readonly': True},
+ 'migration_report': {'readonly': True},
'source_server_version': {'readonly': True},
'source_server_brand_version': {'readonly': True},
'target_server_version': {'readonly': True},
@@ -91,7 +92,7 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut
'message': {'key': 'message', 'type': 'str'},
'databases': {'key': 'databases', 'type': '{str}'},
'database_summary': {'key': 'databaseSummary', 'type': '{DatabaseSummaryResult}'},
- 'migration_report_result': {'key': 'migrationReportResult', 'type': 'MigrationReportResult'},
+ 'migration_report': {'key': 'migrationReport', 'type': 'MigrationReportResult'},
'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'},
'source_server_brand_version': {'key': 'sourceServerBrandVersion', 'type': 'str'},
'target_server_version': {'key': 'targetServerVersion', 'type': 'str'},
@@ -109,7 +110,7 @@ def __init__(self, **kwargs):
self.message = None
self.databases = None
self.database_summary = None
- self.migration_report_result = kwargs.get('migration_report_result', None)
+ self.migration_report = None
self.source_server_version = None
self.source_server_brand_version = None
self.target_server_version = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_migration_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_migration_level_py3.py
index 9d37af7aa443..71976086a201 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_migration_level_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_migration_level_py3.py
@@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------
-from .migrate_sql_server_sql_db_task_output import MigrateSqlServerSqlDbTaskOutput
+from .migrate_sql_server_sql_db_task_output_py3 import MigrateSqlServerSqlDbTaskOutput
class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOutput):
- """MigrateSqlServerSqlDbTaskOutputMigrationLevel.
+ """Migration level result for Sql server to Azure Sql DB migration.
Variables are only populated by the server, and will be ignored when
sending a request.
@@ -45,9 +45,9 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut
:ivar database_summary: Summary of database results in the migration
:vartype database_summary: dict[str,
~azure.mgmt.datamigration.models.DatabaseSummaryResult]
- :param migration_report_result: Migration Report Result, provides unique
- url for downloading your migration report.
- :type migration_report_result:
+ :ivar migration_report: Migration Report Result, provides unique url for
+ downloading your migration report.
+ :vartype migration_report:
~azure.mgmt.datamigration.models.MigrationReportResult
:ivar source_server_version: Source server version
:vartype source_server_version: str
@@ -73,6 +73,7 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut
'message': {'readonly': True},
'databases': {'readonly': True},
'database_summary': {'readonly': True},
+ 'migration_report': {'readonly': True},
'source_server_version': {'readonly': True},
'source_server_brand_version': {'readonly': True},
'target_server_version': {'readonly': True},
@@ -91,7 +92,7 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut
'message': {'key': 'message', 'type': 'str'},
'databases': {'key': 'databases', 'type': '{str}'},
'database_summary': {'key': 'databaseSummary', 'type': '{DatabaseSummaryResult}'},
- 'migration_report_result': {'key': 'migrationReportResult', 'type': 'MigrationReportResult'},
+ 'migration_report': {'key': 'migrationReport', 'type': 'MigrationReportResult'},
'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'},
'source_server_brand_version': {'key': 'sourceServerBrandVersion', 'type': 'str'},
'target_server_version': {'key': 'targetServerVersion', 'type': 'str'},
@@ -99,7 +100,7 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut
'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'},
}
- def __init__(self, *, migration_report_result=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(MigrateSqlServerSqlDbTaskOutputMigrationLevel, self).__init__(**kwargs)
self.started_on = None
self.ended_on = None
@@ -109,7 +110,7 @@ def __init__(self, *, migration_report_result=None, **kwargs) -> None:
self.message = None
self.databases = None
self.database_summary = None
- self.migration_report_result = migration_report_result
+ self.migration_report = None
self.source_server_version = None
self.source_server_brand_version = None
self.target_server_version = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_table_level.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_table_level.py
index 7b56087a2627..9a149e79792b 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_table_level.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_table_level.py
@@ -13,7 +13,7 @@
class MigrateSqlServerSqlDbTaskOutputTableLevel(MigrateSqlServerSqlDbTaskOutput):
- """MigrateSqlServerSqlDbTaskOutputTableLevel.
+ """Table level result for Sql Server to Azure Sql DB migration.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_table_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_table_level_py3.py
index 4ccd9422f010..8c621fe4aa7e 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_table_level_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_output_table_level_py3.py
@@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------
-from .migrate_sql_server_sql_db_task_output import MigrateSqlServerSqlDbTaskOutput
+from .migrate_sql_server_sql_db_task_output_py3 import MigrateSqlServerSqlDbTaskOutput
class MigrateSqlServerSqlDbTaskOutputTableLevel(MigrateSqlServerSqlDbTaskOutput):
- """MigrateSqlServerSqlDbTaskOutputTableLevel.
+ """Table level result for Sql Server to Azure Sql DB migration.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_properties.py
index 2e8e4915407b..f3099f7805f2 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_properties.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_properties.py
@@ -21,8 +21,8 @@ class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties):
All required parameters must be populated in order to send to Azure.
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
+ :param errors: Array of errors. This is ignored if submitted.
+ :type errors: list[~azure.mgmt.datamigration.models.ODataError]
:ivar state: The state of the task. This is ignored if submitted. Possible
values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
'Failed', 'FailedInputValidation', 'Faulted'
@@ -38,7 +38,6 @@ class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties):
"""
_validation = {
- 'errors': {'readonly': True},
'state': {'readonly': True},
'task_type': {'required': True},
'output': {'readonly': True},
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_properties_py3.py
index e768d2e9e064..af6120676665 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_properties_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_task_properties_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .project_task_properties import ProjectTaskProperties
+from .project_task_properties_py3 import ProjectTaskProperties
class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties):
@@ -21,8 +21,8 @@ class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties):
All required parameters must be populated in order to send to Azure.
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
+ :param errors: Array of errors. This is ignored if submitted.
+ :type errors: list[~azure.mgmt.datamigration.models.ODataError]
:ivar state: The state of the task. This is ignored if submitted. Possible
values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
'Failed', 'FailedInputValidation', 'Faulted'
@@ -38,7 +38,6 @@ class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties):
"""
_validation = {
- 'errors': {'readonly': True},
'state': {'readonly': True},
'task_type': {'required': True},
'output': {'readonly': True},
@@ -52,8 +51,8 @@ class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties):
'output': {'key': 'output', 'type': '[MigrateSqlServerSqlDbTaskOutput]'},
}
- def __init__(self, *, input=None, **kwargs) -> None:
- super(MigrateSqlServerSqlDbTaskProperties, self).__init__(**kwargs)
+ def __init__(self, *, errors=None, input=None, **kwargs) -> None:
+ super(MigrateSqlServerSqlDbTaskProperties, self).__init__(errors=errors, **kwargs)
self.input = input
self.output = None
self.task_type = 'Migrate.SqlServer.SqlDb'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_database_input.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_database_input.py
deleted file mode 100644
index ed71210e47d8..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_database_input.py
+++ /dev/null
@@ -1,46 +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 MigrateSqlServerSqlMIDatabaseInput(Model):
- """Database specific information for SQL to Azure SQL DB Managed Instance
- migration task inputs.
-
- All required parameters must be populated in order to send to Azure.
-
- :param name: Required. Name of the database
- :type name: str
- :param restore_database_name: Required. Name of the database at
- destination
- :type restore_database_name: str
- :param backup_file_share: Backup file share information for backing up
- this database.
- :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare
- """
-
- _validation = {
- 'name': {'required': True},
- 'restore_database_name': {'required': True},
- }
-
- _attribute_map = {
- 'name': {'key': 'name', 'type': 'str'},
- 'restore_database_name': {'key': 'restoreDatabaseName', 'type': 'str'},
- 'backup_file_share': {'key': 'backupFileShare', 'type': 'FileShare'},
- }
-
- def __init__(self, **kwargs):
- super(MigrateSqlServerSqlMIDatabaseInput, self).__init__(**kwargs)
- self.name = kwargs.get('name', None)
- self.restore_database_name = kwargs.get('restore_database_name', None)
- self.backup_file_share = kwargs.get('backup_file_share', None)
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_database_input_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_database_input_py3.py
deleted file mode 100644
index 6be7084bb292..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_database_input_py3.py
+++ /dev/null
@@ -1,46 +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 MigrateSqlServerSqlMIDatabaseInput(Model):
- """Database specific information for SQL to Azure SQL DB Managed Instance
- migration task inputs.
-
- All required parameters must be populated in order to send to Azure.
-
- :param name: Required. Name of the database
- :type name: str
- :param restore_database_name: Required. Name of the database at
- destination
- :type restore_database_name: str
- :param backup_file_share: Backup file share information for backing up
- this database.
- :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare
- """
-
- _validation = {
- 'name': {'required': True},
- 'restore_database_name': {'required': True},
- }
-
- _attribute_map = {
- 'name': {'key': 'name', 'type': 'str'},
- 'restore_database_name': {'key': 'restoreDatabaseName', 'type': 'str'},
- 'backup_file_share': {'key': 'backupFileShare', 'type': 'FileShare'},
- }
-
- def __init__(self, *, name: str, restore_database_name: str, backup_file_share=None, **kwargs) -> None:
- super(MigrateSqlServerSqlMIDatabaseInput, self).__init__(**kwargs)
- self.name = name
- self.restore_database_name = restore_database_name
- self.backup_file_share = backup_file_share
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_input.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_input.py
deleted file mode 100644
index f611e6927792..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_input.py
+++ /dev/null
@@ -1,67 +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 .sql_migration_task_input import SqlMigrationTaskInput
-
-
-class MigrateSqlServerSqlMITaskInput(SqlMigrationTaskInput):
- """Input for task that migrates SQL Server databases to Azure SQL Database
- Managed Instance.
-
- All required parameters must be populated in order to send to Azure.
-
- :param source_connection_info: Required. Information for connecting to
- source
- :type source_connection_info:
- ~azure.mgmt.datamigration.models.SqlConnectionInfo
- :param target_connection_info: Required. Information for connecting to
- target
- :type target_connection_info:
- ~azure.mgmt.datamigration.models.SqlConnectionInfo
- :param selected_databases: Required. Databases to migrate
- :type selected_databases:
- list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput]
- :param selected_logins: Logins to migrate.
- :type selected_logins: list[str]
- :param selected_agent_jobs: Agent Jobs to migrate.
- :type selected_agent_jobs: list[str]
- :param backup_file_share: Backup file share information for all selected
- databases.
- :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare
- :param backup_blob_share: Required. SAS URI of Azure Storage Account
- Container to be used for storing backup files.
- :type backup_blob_share: ~azure.mgmt.datamigration.models.BlobShare
- """
-
- _validation = {
- 'source_connection_info': {'required': True},
- 'target_connection_info': {'required': True},
- 'selected_databases': {'required': True},
- 'backup_blob_share': {'required': True},
- }
-
- _attribute_map = {
- 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'SqlConnectionInfo'},
- 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'},
- 'selected_databases': {'key': 'selectedDatabases', 'type': '[MigrateSqlServerSqlMIDatabaseInput]'},
- 'selected_logins': {'key': 'selectedLogins', 'type': '[str]'},
- 'selected_agent_jobs': {'key': 'selectedAgentJobs', 'type': '[str]'},
- 'backup_file_share': {'key': 'backupFileShare', 'type': 'FileShare'},
- 'backup_blob_share': {'key': 'backupBlobShare', 'type': 'BlobShare'},
- }
-
- def __init__(self, **kwargs):
- super(MigrateSqlServerSqlMITaskInput, self).__init__(**kwargs)
- self.selected_databases = kwargs.get('selected_databases', None)
- self.selected_logins = kwargs.get('selected_logins', None)
- self.selected_agent_jobs = kwargs.get('selected_agent_jobs', None)
- self.backup_file_share = kwargs.get('backup_file_share', None)
- self.backup_blob_share = kwargs.get('backup_blob_share', None)
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_input_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_input_py3.py
deleted file mode 100644
index ca3b87318261..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_input_py3.py
+++ /dev/null
@@ -1,67 +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 .sql_migration_task_input import SqlMigrationTaskInput
-
-
-class MigrateSqlServerSqlMITaskInput(SqlMigrationTaskInput):
- """Input for task that migrates SQL Server databases to Azure SQL Database
- Managed Instance.
-
- All required parameters must be populated in order to send to Azure.
-
- :param source_connection_info: Required. Information for connecting to
- source
- :type source_connection_info:
- ~azure.mgmt.datamigration.models.SqlConnectionInfo
- :param target_connection_info: Required. Information for connecting to
- target
- :type target_connection_info:
- ~azure.mgmt.datamigration.models.SqlConnectionInfo
- :param selected_databases: Required. Databases to migrate
- :type selected_databases:
- list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput]
- :param selected_logins: Logins to migrate.
- :type selected_logins: list[str]
- :param selected_agent_jobs: Agent Jobs to migrate.
- :type selected_agent_jobs: list[str]
- :param backup_file_share: Backup file share information for all selected
- databases.
- :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare
- :param backup_blob_share: Required. SAS URI of Azure Storage Account
- Container to be used for storing backup files.
- :type backup_blob_share: ~azure.mgmt.datamigration.models.BlobShare
- """
-
- _validation = {
- 'source_connection_info': {'required': True},
- 'target_connection_info': {'required': True},
- 'selected_databases': {'required': True},
- 'backup_blob_share': {'required': True},
- }
-
- _attribute_map = {
- 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'SqlConnectionInfo'},
- 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'},
- 'selected_databases': {'key': 'selectedDatabases', 'type': '[MigrateSqlServerSqlMIDatabaseInput]'},
- 'selected_logins': {'key': 'selectedLogins', 'type': '[str]'},
- 'selected_agent_jobs': {'key': 'selectedAgentJobs', 'type': '[str]'},
- 'backup_file_share': {'key': 'backupFileShare', 'type': 'FileShare'},
- 'backup_blob_share': {'key': 'backupBlobShare', 'type': 'BlobShare'},
- }
-
- def __init__(self, *, source_connection_info, target_connection_info, selected_databases, backup_blob_share, selected_logins=None, selected_agent_jobs=None, backup_file_share=None, **kwargs) -> None:
- super(MigrateSqlServerSqlMITaskInput, self).__init__(source_connection_info=source_connection_info, target_connection_info=target_connection_info, **kwargs)
- self.selected_databases = selected_databases
- self.selected_logins = selected_logins
- self.selected_agent_jobs = selected_agent_jobs
- self.backup_file_share = backup_file_share
- self.backup_blob_share = backup_blob_share
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
deleted file mode 100644
index 2c52e1015bb9..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output.py
+++ /dev/null
@@ -1,54 +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 MigrateSqlServerSqlMITaskOutput(Model):
- """Output for task that migrates SQL Server databases to Azure SQL Database
- Managed Instance.
-
- You probably want to use the sub-classes and not this class directly. Known
- sub-classes are: MigrateSqlServerSqlMITaskOutputError,
- MigrateSqlServerSqlMITaskOutputLoginLevel,
- MigrateSqlServerSqlMITaskOutputAgentJobLevel,
- MigrateSqlServerSqlMITaskOutputDatabaseLevel,
- MigrateSqlServerSqlMITaskOutputMigrationLevel
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- }
-
- _subtype_map = {
- 'result_type': {'ErrorOutput': 'MigrateSqlServerSqlMITaskOutputError', 'LoginLevelOutput': 'MigrateSqlServerSqlMITaskOutputLoginLevel', 'AgentJobLevelOutput': 'MigrateSqlServerSqlMITaskOutputAgentJobLevel', 'DatabaseLevelOutput': 'MigrateSqlServerSqlMITaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlMITaskOutputMigrationLevel'}
- }
-
- def __init__(self, **kwargs):
- super(MigrateSqlServerSqlMITaskOutput, self).__init__(**kwargs)
- self.id = None
- self.result_type = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_agent_job_level.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_agent_job_level.py
deleted file mode 100644
index 84f35f544462..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_agent_job_level.py
+++ /dev/null
@@ -1,78 +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 .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
-
-
-class MigrateSqlServerSqlMITaskOutputAgentJobLevel(MigrateSqlServerSqlMITaskOutput):
- """MigrateSqlServerSqlMITaskOutputAgentJobLevel.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- :ivar name: AgentJob name.
- :vartype name: str
- :ivar is_enabled: The state of the original AgentJob.
- :vartype is_enabled: bool
- :ivar state: Current state of migration. Possible values include: 'None',
- 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped'
- :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState
- :ivar started_on: Migration start time
- :vartype started_on: datetime
- :ivar ended_on: Migration end time
- :vartype ended_on: datetime
- :ivar message: Migration progress message
- :vartype message: str
- :ivar exceptions_and_warnings: Migration errors and warnings per job
- :vartype exceptions_and_warnings:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- 'name': {'readonly': True},
- 'is_enabled': {'readonly': True},
- 'state': {'readonly': True},
- 'started_on': {'readonly': True},
- 'ended_on': {'readonly': True},
- 'message': {'readonly': True},
- 'exceptions_and_warnings': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- 'name': {'key': 'name', 'type': 'str'},
- 'is_enabled': {'key': 'isEnabled', 'type': 'bool'},
- 'state': {'key': 'state', 'type': 'str'},
- 'started_on': {'key': 'startedOn', 'type': 'iso-8601'},
- 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'},
- 'message': {'key': 'message', 'type': 'str'},
- 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs):
- super(MigrateSqlServerSqlMITaskOutputAgentJobLevel, self).__init__(**kwargs)
- self.name = None
- self.is_enabled = None
- self.state = None
- self.started_on = None
- self.ended_on = None
- self.message = None
- self.exceptions_and_warnings = None
- self.result_type = 'AgentJobLevelOutput'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_agent_job_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_agent_job_level_py3.py
deleted file mode 100644
index c268fca05742..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_agent_job_level_py3.py
+++ /dev/null
@@ -1,78 +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 .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
-
-
-class MigrateSqlServerSqlMITaskOutputAgentJobLevel(MigrateSqlServerSqlMITaskOutput):
- """MigrateSqlServerSqlMITaskOutputAgentJobLevel.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- :ivar name: AgentJob name.
- :vartype name: str
- :ivar is_enabled: The state of the original AgentJob.
- :vartype is_enabled: bool
- :ivar state: Current state of migration. Possible values include: 'None',
- 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped'
- :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState
- :ivar started_on: Migration start time
- :vartype started_on: datetime
- :ivar ended_on: Migration end time
- :vartype ended_on: datetime
- :ivar message: Migration progress message
- :vartype message: str
- :ivar exceptions_and_warnings: Migration errors and warnings per job
- :vartype exceptions_and_warnings:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- 'name': {'readonly': True},
- 'is_enabled': {'readonly': True},
- 'state': {'readonly': True},
- 'started_on': {'readonly': True},
- 'ended_on': {'readonly': True},
- 'message': {'readonly': True},
- 'exceptions_and_warnings': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- 'name': {'key': 'name', 'type': 'str'},
- 'is_enabled': {'key': 'isEnabled', 'type': 'bool'},
- 'state': {'key': 'state', 'type': 'str'},
- 'started_on': {'key': 'startedOn', 'type': 'iso-8601'},
- 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'},
- 'message': {'key': 'message', 'type': 'str'},
- 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs) -> None:
- super(MigrateSqlServerSqlMITaskOutputAgentJobLevel, self).__init__(**kwargs)
- self.name = None
- self.is_enabled = None
- self.state = None
- self.started_on = None
- self.ended_on = None
- self.message = None
- self.exceptions_and_warnings = None
- self.result_type = 'AgentJobLevelOutput'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_database_level.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_database_level.py
deleted file mode 100644
index fb0b68e98fdb..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_database_level.py
+++ /dev/null
@@ -1,85 +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 .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
-
-
-class MigrateSqlServerSqlMITaskOutputDatabaseLevel(MigrateSqlServerSqlMITaskOutput):
- """MigrateSqlServerSqlMITaskOutputDatabaseLevel.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- :ivar database_name: Name of the database
- :vartype database_name: str
- :ivar size_mb: Size of the database in megabytes
- :vartype size_mb: float
- :ivar state: Current state of migration. Possible values include: 'None',
- 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped'
- :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState
- :ivar stage: Current stage of migration. Possible values include: 'None',
- 'Initialize', 'Backup', 'FileCopy', 'Restore', 'Completed'
- :vartype stage: str or
- ~azure.mgmt.datamigration.models.DatabaseMigrationStage
- :ivar started_on: Migration start time
- :vartype started_on: datetime
- :ivar ended_on: Migration end time
- :vartype ended_on: datetime
- :ivar message: Migration progress message
- :vartype message: str
- :ivar exceptions_and_warnings: Migration exceptions and warnings
- :vartype exceptions_and_warnings:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- 'database_name': {'readonly': True},
- 'size_mb': {'readonly': True},
- 'state': {'readonly': True},
- 'stage': {'readonly': True},
- 'started_on': {'readonly': True},
- 'ended_on': {'readonly': True},
- 'message': {'readonly': True},
- 'exceptions_and_warnings': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- 'database_name': {'key': 'databaseName', 'type': 'str'},
- 'size_mb': {'key': 'sizeMB', 'type': 'float'},
- 'state': {'key': 'state', 'type': 'str'},
- 'stage': {'key': 'stage', 'type': 'str'},
- 'started_on': {'key': 'startedOn', 'type': 'iso-8601'},
- 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'},
- 'message': {'key': 'message', 'type': 'str'},
- 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs):
- super(MigrateSqlServerSqlMITaskOutputDatabaseLevel, self).__init__(**kwargs)
- self.database_name = None
- self.size_mb = None
- self.state = None
- self.stage = None
- self.started_on = None
- self.ended_on = None
- self.message = None
- self.exceptions_and_warnings = None
- self.result_type = 'DatabaseLevelOutput'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_database_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_database_level_py3.py
deleted file mode 100644
index 1af72d51a74b..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_database_level_py3.py
+++ /dev/null
@@ -1,85 +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 .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
-
-
-class MigrateSqlServerSqlMITaskOutputDatabaseLevel(MigrateSqlServerSqlMITaskOutput):
- """MigrateSqlServerSqlMITaskOutputDatabaseLevel.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- :ivar database_name: Name of the database
- :vartype database_name: str
- :ivar size_mb: Size of the database in megabytes
- :vartype size_mb: float
- :ivar state: Current state of migration. Possible values include: 'None',
- 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped'
- :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState
- :ivar stage: Current stage of migration. Possible values include: 'None',
- 'Initialize', 'Backup', 'FileCopy', 'Restore', 'Completed'
- :vartype stage: str or
- ~azure.mgmt.datamigration.models.DatabaseMigrationStage
- :ivar started_on: Migration start time
- :vartype started_on: datetime
- :ivar ended_on: Migration end time
- :vartype ended_on: datetime
- :ivar message: Migration progress message
- :vartype message: str
- :ivar exceptions_and_warnings: Migration exceptions and warnings
- :vartype exceptions_and_warnings:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- 'database_name': {'readonly': True},
- 'size_mb': {'readonly': True},
- 'state': {'readonly': True},
- 'stage': {'readonly': True},
- 'started_on': {'readonly': True},
- 'ended_on': {'readonly': True},
- 'message': {'readonly': True},
- 'exceptions_and_warnings': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- 'database_name': {'key': 'databaseName', 'type': 'str'},
- 'size_mb': {'key': 'sizeMB', 'type': 'float'},
- 'state': {'key': 'state', 'type': 'str'},
- 'stage': {'key': 'stage', 'type': 'str'},
- 'started_on': {'key': 'startedOn', 'type': 'iso-8601'},
- 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'},
- 'message': {'key': 'message', 'type': 'str'},
- 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs) -> None:
- super(MigrateSqlServerSqlMITaskOutputDatabaseLevel, self).__init__(**kwargs)
- self.database_name = None
- self.size_mb = None
- self.state = None
- self.stage = None
- self.started_on = None
- self.ended_on = None
- self.message = None
- self.exceptions_and_warnings = None
- self.result_type = 'DatabaseLevelOutput'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_error.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_error.py
deleted file mode 100644
index a6d243ab35f9..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_error.py
+++ /dev/null
@@ -1,46 +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 .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
-
-
-class MigrateSqlServerSqlMITaskOutputError(MigrateSqlServerSqlMITaskOutput):
- """MigrateSqlServerSqlMITaskOutputError.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- :ivar error: Migration error
- :vartype error: ~azure.mgmt.datamigration.models.ReportableException
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- 'error': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- 'error': {'key': 'error', 'type': 'ReportableException'},
- }
-
- def __init__(self, **kwargs):
- super(MigrateSqlServerSqlMITaskOutputError, self).__init__(**kwargs)
- self.error = None
- self.result_type = 'ErrorOutput'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_error_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_error_py3.py
deleted file mode 100644
index 0f918134327d..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_error_py3.py
+++ /dev/null
@@ -1,46 +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 .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
-
-
-class MigrateSqlServerSqlMITaskOutputError(MigrateSqlServerSqlMITaskOutput):
- """MigrateSqlServerSqlMITaskOutputError.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- :ivar error: Migration error
- :vartype error: ~azure.mgmt.datamigration.models.ReportableException
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- 'error': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- 'error': {'key': 'error', 'type': 'ReportableException'},
- }
-
- def __init__(self, **kwargs) -> None:
- super(MigrateSqlServerSqlMITaskOutputError, self).__init__(**kwargs)
- self.error = None
- self.result_type = 'ErrorOutput'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_login_level.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_login_level.py
deleted file mode 100644
index 77639ac9f70c..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_login_level.py
+++ /dev/null
@@ -1,83 +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 .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
-
-
-class MigrateSqlServerSqlMITaskOutputLoginLevel(MigrateSqlServerSqlMITaskOutput):
- """MigrateSqlServerSqlMITaskOutputLoginLevel.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- :ivar login_name: Login name.
- :vartype login_name: str
- :ivar state: Current state of login. Possible values include: 'None',
- 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped'
- :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState
- :ivar stage: Current stage of login. Possible values include: 'None',
- 'Initialize', 'LoginMigration', 'EstablishUserMapping',
- 'AssignRoleMembership', 'AssignRoleOwnership',
- 'EstablishServerPermissions', 'EstablishObjectPermissions', 'Completed'
- :vartype stage: str or
- ~azure.mgmt.datamigration.models.LoginMigrationStage
- :ivar started_on: Login migration start time
- :vartype started_on: datetime
- :ivar ended_on: Login migration end time
- :vartype ended_on: datetime
- :ivar message: Login migration progress message
- :vartype message: str
- :ivar exceptions_and_warnings: Login migration errors and warnings per
- login
- :vartype exceptions_and_warnings:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- 'login_name': {'readonly': True},
- 'state': {'readonly': True},
- 'stage': {'readonly': True},
- 'started_on': {'readonly': True},
- 'ended_on': {'readonly': True},
- 'message': {'readonly': True},
- 'exceptions_and_warnings': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- 'login_name': {'key': 'loginName', 'type': 'str'},
- 'state': {'key': 'state', 'type': 'str'},
- 'stage': {'key': 'stage', 'type': 'LoginMigrationStage'},
- 'started_on': {'key': 'startedOn', 'type': 'iso-8601'},
- 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'},
- 'message': {'key': 'message', 'type': 'str'},
- 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs):
- super(MigrateSqlServerSqlMITaskOutputLoginLevel, self).__init__(**kwargs)
- self.login_name = None
- self.state = None
- self.stage = None
- self.started_on = None
- self.ended_on = None
- self.message = None
- self.exceptions_and_warnings = None
- self.result_type = 'LoginLevelOutput'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_login_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_login_level_py3.py
deleted file mode 100644
index 5cf8ae498511..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_login_level_py3.py
+++ /dev/null
@@ -1,83 +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 .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
-
-
-class MigrateSqlServerSqlMITaskOutputLoginLevel(MigrateSqlServerSqlMITaskOutput):
- """MigrateSqlServerSqlMITaskOutputLoginLevel.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- :ivar login_name: Login name.
- :vartype login_name: str
- :ivar state: Current state of login. Possible values include: 'None',
- 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped'
- :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState
- :ivar stage: Current stage of login. Possible values include: 'None',
- 'Initialize', 'LoginMigration', 'EstablishUserMapping',
- 'AssignRoleMembership', 'AssignRoleOwnership',
- 'EstablishServerPermissions', 'EstablishObjectPermissions', 'Completed'
- :vartype stage: str or
- ~azure.mgmt.datamigration.models.LoginMigrationStage
- :ivar started_on: Login migration start time
- :vartype started_on: datetime
- :ivar ended_on: Login migration end time
- :vartype ended_on: datetime
- :ivar message: Login migration progress message
- :vartype message: str
- :ivar exceptions_and_warnings: Login migration errors and warnings per
- login
- :vartype exceptions_and_warnings:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- 'login_name': {'readonly': True},
- 'state': {'readonly': True},
- 'stage': {'readonly': True},
- 'started_on': {'readonly': True},
- 'ended_on': {'readonly': True},
- 'message': {'readonly': True},
- 'exceptions_and_warnings': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- 'login_name': {'key': 'loginName', 'type': 'str'},
- 'state': {'key': 'state', 'type': 'str'},
- 'stage': {'key': 'stage', 'type': 'LoginMigrationStage'},
- 'started_on': {'key': 'startedOn', 'type': 'iso-8601'},
- 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'},
- 'message': {'key': 'message', 'type': 'str'},
- 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs) -> None:
- super(MigrateSqlServerSqlMITaskOutputLoginLevel, self).__init__(**kwargs)
- self.login_name = None
- self.state = None
- self.stage = None
- self.started_on = None
- self.ended_on = None
- self.message = None
- self.exceptions_and_warnings = None
- self.result_type = 'LoginLevelOutput'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_migration_level.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_migration_level.py
deleted file mode 100644
index 299889910900..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_migration_level.py
+++ /dev/null
@@ -1,123 +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 .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
-
-
-class MigrateSqlServerSqlMITaskOutputMigrationLevel(MigrateSqlServerSqlMITaskOutput):
- """MigrateSqlServerSqlMITaskOutputMigrationLevel.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- :ivar started_on: Migration start time
- :vartype started_on: datetime
- :ivar ended_on: Migration end time
- :vartype ended_on: datetime
- :ivar status: Current status of migration. Possible values include:
- 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins',
- 'Configured', 'Running', 'Error', 'Stopped', 'Completed',
- 'CompletedWithWarnings'
- :vartype status: str or ~azure.mgmt.datamigration.models.MigrationStatus
- :ivar state: Current state of migration. Possible values include: 'None',
- 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped'
- :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState
- :ivar agent_jobs: Selected agent jobs as a map from name to id
- :vartype agent_jobs: dict[str, str]
- :ivar logins: Selected logins as a map from name to id
- :vartype logins: dict[str, str]
- :ivar message: Migration progress message
- :vartype message: str
- :ivar server_role_results: Map of server role migration results.
- :vartype server_role_results: dict[str,
- ~azure.mgmt.datamigration.models.StartMigrationScenarioServerRoleResult]
- :ivar orphaned_users: Map of users to database name of orphaned users.
- :vartype orphaned_users: dict[str, str]
- :ivar databases: Selected databases as a map from database name to
- database id
- :vartype databases: dict[str, str]
- :ivar source_server_version: Source server version
- :vartype source_server_version: str
- :ivar source_server_brand_version: Source server brand version
- :vartype source_server_brand_version: str
- :ivar target_server_version: Target server version
- :vartype target_server_version: str
- :ivar target_server_brand_version: Target server brand version
- :vartype target_server_brand_version: str
- :ivar exceptions_and_warnings: Migration exceptions and warnings.
- :vartype exceptions_and_warnings:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- 'started_on': {'readonly': True},
- 'ended_on': {'readonly': True},
- 'status': {'readonly': True},
- 'state': {'readonly': True},
- 'agent_jobs': {'readonly': True},
- 'logins': {'readonly': True},
- 'message': {'readonly': True},
- 'server_role_results': {'readonly': True},
- 'orphaned_users': {'readonly': True},
- 'databases': {'readonly': True},
- 'source_server_version': {'readonly': True},
- 'source_server_brand_version': {'readonly': True},
- 'target_server_version': {'readonly': True},
- 'target_server_brand_version': {'readonly': True},
- 'exceptions_and_warnings': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- 'started_on': {'key': 'startedOn', 'type': 'iso-8601'},
- 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'},
- 'status': {'key': 'status', 'type': 'str'},
- 'state': {'key': 'state', 'type': 'str'},
- 'agent_jobs': {'key': 'agentJobs', 'type': '{str}'},
- 'logins': {'key': 'logins', 'type': '{str}'},
- 'message': {'key': 'message', 'type': 'str'},
- 'server_role_results': {'key': 'serverRoleResults', 'type': '{StartMigrationScenarioServerRoleResult}'},
- 'orphaned_users': {'key': 'orphanedUsers', 'type': '{str}'},
- 'databases': {'key': 'databases', 'type': '{str}'},
- 'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'},
- 'source_server_brand_version': {'key': 'sourceServerBrandVersion', 'type': 'str'},
- 'target_server_version': {'key': 'targetServerVersion', 'type': 'str'},
- 'target_server_brand_version': {'key': 'targetServerBrandVersion', 'type': 'str'},
- 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs):
- super(MigrateSqlServerSqlMITaskOutputMigrationLevel, self).__init__(**kwargs)
- self.started_on = None
- self.ended_on = None
- self.status = None
- self.state = None
- self.agent_jobs = None
- self.logins = None
- self.message = None
- self.server_role_results = None
- self.orphaned_users = None
- self.databases = None
- self.source_server_version = None
- self.source_server_brand_version = None
- self.target_server_version = None
- self.target_server_brand_version = None
- self.exceptions_and_warnings = None
- self.result_type = 'MigrationLevelOutput'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_migration_level_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_migration_level_py3.py
deleted file mode 100644
index 4b794f21fa2e..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_migration_level_py3.py
+++ /dev/null
@@ -1,123 +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 .migrate_sql_server_sql_mi_task_output import MigrateSqlServerSqlMITaskOutput
-
-
-class MigrateSqlServerSqlMITaskOutputMigrationLevel(MigrateSqlServerSqlMITaskOutput):
- """MigrateSqlServerSqlMITaskOutputMigrationLevel.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- :ivar started_on: Migration start time
- :vartype started_on: datetime
- :ivar ended_on: Migration end time
- :vartype ended_on: datetime
- :ivar status: Current status of migration. Possible values include:
- 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins',
- 'Configured', 'Running', 'Error', 'Stopped', 'Completed',
- 'CompletedWithWarnings'
- :vartype status: str or ~azure.mgmt.datamigration.models.MigrationStatus
- :ivar state: Current state of migration. Possible values include: 'None',
- 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped'
- :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState
- :ivar agent_jobs: Selected agent jobs as a map from name to id
- :vartype agent_jobs: dict[str, str]
- :ivar logins: Selected logins as a map from name to id
- :vartype logins: dict[str, str]
- :ivar message: Migration progress message
- :vartype message: str
- :ivar server_role_results: Map of server role migration results.
- :vartype server_role_results: dict[str,
- ~azure.mgmt.datamigration.models.StartMigrationScenarioServerRoleResult]
- :ivar orphaned_users: Map of users to database name of orphaned users.
- :vartype orphaned_users: dict[str, str]
- :ivar databases: Selected databases as a map from database name to
- database id
- :vartype databases: dict[str, str]
- :ivar source_server_version: Source server version
- :vartype source_server_version: str
- :ivar source_server_brand_version: Source server brand version
- :vartype source_server_brand_version: str
- :ivar target_server_version: Target server version
- :vartype target_server_version: str
- :ivar target_server_brand_version: Target server brand version
- :vartype target_server_brand_version: str
- :ivar exceptions_and_warnings: Migration exceptions and warnings.
- :vartype exceptions_and_warnings:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- 'started_on': {'readonly': True},
- 'ended_on': {'readonly': True},
- 'status': {'readonly': True},
- 'state': {'readonly': True},
- 'agent_jobs': {'readonly': True},
- 'logins': {'readonly': True},
- 'message': {'readonly': True},
- 'server_role_results': {'readonly': True},
- 'orphaned_users': {'readonly': True},
- 'databases': {'readonly': True},
- 'source_server_version': {'readonly': True},
- 'source_server_brand_version': {'readonly': True},
- 'target_server_version': {'readonly': True},
- 'target_server_brand_version': {'readonly': True},
- 'exceptions_and_warnings': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- 'started_on': {'key': 'startedOn', 'type': 'iso-8601'},
- 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'},
- 'status': {'key': 'status', 'type': 'str'},
- 'state': {'key': 'state', 'type': 'str'},
- 'agent_jobs': {'key': 'agentJobs', 'type': '{str}'},
- 'logins': {'key': 'logins', 'type': '{str}'},
- 'message': {'key': 'message', 'type': 'str'},
- 'server_role_results': {'key': 'serverRoleResults', 'type': '{StartMigrationScenarioServerRoleResult}'},
- 'orphaned_users': {'key': 'orphanedUsers', 'type': '{str}'},
- 'databases': {'key': 'databases', 'type': '{str}'},
- 'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'},
- 'source_server_brand_version': {'key': 'sourceServerBrandVersion', 'type': 'str'},
- 'target_server_version': {'key': 'targetServerVersion', 'type': 'str'},
- 'target_server_brand_version': {'key': 'targetServerBrandVersion', 'type': 'str'},
- 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs) -> None:
- super(MigrateSqlServerSqlMITaskOutputMigrationLevel, self).__init__(**kwargs)
- self.started_on = None
- self.ended_on = None
- self.status = None
- self.state = None
- self.agent_jobs = None
- self.logins = None
- self.message = None
- self.server_role_results = None
- self.orphaned_users = None
- self.databases = None
- self.source_server_version = None
- self.source_server_brand_version = None
- self.target_server_version = None
- self.target_server_brand_version = None
- self.exceptions_and_warnings = None
- self.result_type = 'MigrationLevelOutput'
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
deleted file mode 100644
index d56b33cdb678..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_output_py3.py
+++ /dev/null
@@ -1,54 +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 MigrateSqlServerSqlMITaskOutput(Model):
- """Output for task that migrates SQL Server databases to Azure SQL Database
- Managed Instance.
-
- You probably want to use the sub-classes and not this class directly. Known
- sub-classes are: MigrateSqlServerSqlMITaskOutputError,
- MigrateSqlServerSqlMITaskOutputLoginLevel,
- MigrateSqlServerSqlMITaskOutputAgentJobLevel,
- MigrateSqlServerSqlMITaskOutputDatabaseLevel,
- MigrateSqlServerSqlMITaskOutputMigrationLevel
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Result identifier
- :vartype id: str
- :param result_type: Required. Constant filled by server.
- :type result_type: str
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'result_type': {'required': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'result_type': {'key': 'resultType', 'type': 'str'},
- }
-
- _subtype_map = {
- 'result_type': {'ErrorOutput': 'MigrateSqlServerSqlMITaskOutputError', 'LoginLevelOutput': 'MigrateSqlServerSqlMITaskOutputLoginLevel', 'AgentJobLevelOutput': 'MigrateSqlServerSqlMITaskOutputAgentJobLevel', 'DatabaseLevelOutput': 'MigrateSqlServerSqlMITaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlMITaskOutputMigrationLevel'}
- }
-
- def __init__(self, **kwargs) -> None:
- super(MigrateSqlServerSqlMITaskOutput, self).__init__(**kwargs)
- self.id = None
- self.result_type = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_properties.py
deleted file mode 100644
index c08a63fd4935..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_properties.py
+++ /dev/null
@@ -1,59 +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 .project_task_properties import ProjectTaskProperties
-
-
-class MigrateSqlServerSqlMITaskProperties(ProjectTaskProperties):
- """Properties for task that migrates SQL Server databases to Azure SQL
- Database Managed Instance.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
- :ivar state: The state of the task. This is ignored if submitted. Possible
- values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
- 'Failed', 'FailedInputValidation', 'Faulted'
- :vartype state: str or ~azure.mgmt.datamigration.models.TaskState
- :param task_type: Required. Constant filled by server.
- :type task_type: str
- :param input: Task input
- :type input:
- ~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskInput
- :ivar output: Task output. This is ignored if submitted.
- :vartype output:
- list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskOutput]
- """
-
- _validation = {
- 'errors': {'readonly': True},
- 'state': {'readonly': True},
- 'task_type': {'required': True},
- 'output': {'readonly': True},
- }
-
- _attribute_map = {
- 'errors': {'key': 'errors', 'type': '[ODataError]'},
- 'state': {'key': 'state', 'type': 'str'},
- 'task_type': {'key': 'taskType', 'type': 'str'},
- 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlMITaskInput'},
- 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlMITaskOutput]'},
- }
-
- def __init__(self, **kwargs):
- super(MigrateSqlServerSqlMITaskProperties, self).__init__(**kwargs)
- self.input = kwargs.get('input', None)
- self.output = None
- self.task_type = 'Migrate.SqlServer.AzureSqlDbMI'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_properties_py3.py
deleted file mode 100644
index 0c31ffb43a3f..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_properties_py3.py
+++ /dev/null
@@ -1,59 +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 .project_task_properties import ProjectTaskProperties
-
-
-class MigrateSqlServerSqlMITaskProperties(ProjectTaskProperties):
- """Properties for task that migrates SQL Server databases to Azure SQL
- Database Managed Instance.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
- :ivar state: The state of the task. This is ignored if submitted. Possible
- values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
- 'Failed', 'FailedInputValidation', 'Faulted'
- :vartype state: str or ~azure.mgmt.datamigration.models.TaskState
- :param task_type: Required. Constant filled by server.
- :type task_type: str
- :param input: Task input
- :type input:
- ~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskInput
- :ivar output: Task output. This is ignored if submitted.
- :vartype output:
- list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskOutput]
- """
-
- _validation = {
- 'errors': {'readonly': True},
- 'state': {'readonly': True},
- 'task_type': {'required': True},
- 'output': {'readonly': True},
- }
-
- _attribute_map = {
- 'errors': {'key': 'errors', 'type': '[ODataError]'},
- 'state': {'key': 'state', 'type': 'str'},
- 'task_type': {'key': 'taskType', 'type': 'str'},
- 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlMITaskInput'},
- 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlMITaskOutput]'},
- }
-
- def __init__(self, *, input=None, **kwargs) -> None:
- super(MigrateSqlServerSqlMITaskProperties, self).__init__(**kwargs)
- self.input = input
- self.output = None
- self.task_type = 'Migrate.SqlServer.AzureSqlDbMI'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migration_report_result.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migration_report_result.py
index 7b059511f6b5..79e3f9d60bfa 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migration_report_result.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migration_report_result.py
@@ -16,12 +16,20 @@ class MigrationReportResult(Model):
"""Migration validation report result, contains the url for downloading the
generated report.
- :param id: Migration validation result identifier
- :type id: str
- :param report_url: The url of the report.
- :type report_url: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar id: Migration validation result identifier
+ :vartype id: str
+ :ivar report_url: The url of the report.
+ :vartype report_url: str
"""
+ _validation = {
+ 'id': {'readonly': True},
+ 'report_url': {'readonly': True},
+ }
+
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'report_url': {'key': 'reportUrl', 'type': 'str'},
@@ -29,5 +37,5 @@ class MigrationReportResult(Model):
def __init__(self, **kwargs):
super(MigrationReportResult, self).__init__(**kwargs)
- self.id = kwargs.get('id', None)
- self.report_url = kwargs.get('report_url', None)
+ self.id = None
+ self.report_url = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migration_report_result_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migration_report_result_py3.py
index 27eaefba14b7..f97c133366f8 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migration_report_result_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migration_report_result_py3.py
@@ -16,18 +16,26 @@ class MigrationReportResult(Model):
"""Migration validation report result, contains the url for downloading the
generated report.
- :param id: Migration validation result identifier
- :type id: str
- :param report_url: The url of the report.
- :type report_url: str
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar id: Migration validation result identifier
+ :vartype id: str
+ :ivar report_url: The url of the report.
+ :vartype report_url: str
"""
+ _validation = {
+ 'id': {'readonly': True},
+ 'report_url': {'readonly': True},
+ }
+
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'report_url': {'key': 'reportUrl', 'type': 'str'},
}
- def __init__(self, *, id: str=None, report_url: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(MigrationReportResult, self).__init__(**kwargs)
- self.id = id
- self.report_url = report_url
+ self.id = None
+ self.report_url = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/name_availability_response.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/name_availability_response.py
index 221f7b81e05c..e37e9b0ea619 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/name_availability_response.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/name_availability_response.py
@@ -15,18 +15,27 @@
class NameAvailabilityResponse(Model):
"""Indicates whether a proposed resource name is available.
- :param name_available: If true, the name is valid and available. If false,
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar name_available: If true, the name is valid and available. If false,
'reason' describes why not.
- :type name_available: bool
- :param reason: The reason why the name is not available, if nameAvailable
+ :vartype name_available: bool
+ :ivar reason: The reason why the name is not available, if nameAvailable
is false. Possible values include: 'AlreadyExists', 'Invalid'
- :type reason: str or
+ :vartype reason: str or
~azure.mgmt.datamigration.models.NameCheckFailureReason
- :param message: The localized reason why the name is not available, if
+ :ivar message: The localized reason why the name is not available, if
nameAvailable is false
- :type message: str
+ :vartype message: str
"""
+ _validation = {
+ 'name_available': {'readonly': True},
+ 'reason': {'readonly': True},
+ 'message': {'readonly': True},
+ }
+
_attribute_map = {
'name_available': {'key': 'nameAvailable', 'type': 'bool'},
'reason': {'key': 'reason', 'type': 'str'},
@@ -35,6 +44,6 @@ class NameAvailabilityResponse(Model):
def __init__(self, **kwargs):
super(NameAvailabilityResponse, self).__init__(**kwargs)
- self.name_available = kwargs.get('name_available', None)
- self.reason = kwargs.get('reason', None)
- self.message = kwargs.get('message', None)
+ self.name_available = None
+ self.reason = None
+ self.message = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/name_availability_response_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/name_availability_response_py3.py
index 2ab59490aa55..7a3e3429ef1f 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/name_availability_response_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/name_availability_response_py3.py
@@ -15,26 +15,35 @@
class NameAvailabilityResponse(Model):
"""Indicates whether a proposed resource name is available.
- :param name_available: If true, the name is valid and available. If false,
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar name_available: If true, the name is valid and available. If false,
'reason' describes why not.
- :type name_available: bool
- :param reason: The reason why the name is not available, if nameAvailable
+ :vartype name_available: bool
+ :ivar reason: The reason why the name is not available, if nameAvailable
is false. Possible values include: 'AlreadyExists', 'Invalid'
- :type reason: str or
+ :vartype reason: str or
~azure.mgmt.datamigration.models.NameCheckFailureReason
- :param message: The localized reason why the name is not available, if
+ :ivar message: The localized reason why the name is not available, if
nameAvailable is false
- :type message: str
+ :vartype message: str
"""
+ _validation = {
+ 'name_available': {'readonly': True},
+ 'reason': {'readonly': True},
+ 'message': {'readonly': True},
+ }
+
_attribute_map = {
'name_available': {'key': 'nameAvailable', 'type': 'bool'},
'reason': {'key': 'reason', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
}
- def __init__(self, *, name_available: bool=None, reason=None, message: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(NameAvailabilityResponse, self).__init__(**kwargs)
- self.name_available = name_available
- self.reason = reason
- self.message = message
+ self.name_available = None
+ self.reason = None
+ self.message = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/odata_error.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/odata_error.py
index 2a35761e0ea5..6a56c520f2bb 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/odata_error.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/odata_error.py
@@ -15,15 +15,24 @@
class ODataError(Model):
"""Error information in OData format.
- :param code: The machine-readable description of the error, such as
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar code: The machine-readable description of the error, such as
'InvalidRequest' or 'InternalServerError'
- :type code: str
- :param message: The human-readable description of the error
- :type message: str
- :param details: Inner errors that caused this error
- :type details: list[~azure.mgmt.datamigration.models.ODataError]
+ :vartype code: str
+ :ivar message: The human-readable description of the error
+ :vartype message: str
+ :ivar details: Inner errors that caused this error
+ :vartype details: list[~azure.mgmt.datamigration.models.ODataError]
"""
+ _validation = {
+ 'code': {'readonly': True},
+ 'message': {'readonly': True},
+ 'details': {'readonly': True},
+ }
+
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
@@ -32,6 +41,6 @@ class ODataError(Model):
def __init__(self, **kwargs):
super(ODataError, self).__init__(**kwargs)
- self.code = kwargs.get('code', None)
- self.message = kwargs.get('message', None)
- self.details = kwargs.get('details', None)
+ self.code = None
+ self.message = None
+ self.details = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/odata_error_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/odata_error_py3.py
index c5cdfe626026..fa6ab9d577cf 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/odata_error_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/odata_error_py3.py
@@ -15,23 +15,32 @@
class ODataError(Model):
"""Error information in OData format.
- :param code: The machine-readable description of the error, such as
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar code: The machine-readable description of the error, such as
'InvalidRequest' or 'InternalServerError'
- :type code: str
- :param message: The human-readable description of the error
- :type message: str
- :param details: Inner errors that caused this error
- :type details: list[~azure.mgmt.datamigration.models.ODataError]
+ :vartype code: str
+ :ivar message: The human-readable description of the error
+ :vartype message: str
+ :ivar details: Inner errors that caused this error
+ :vartype details: list[~azure.mgmt.datamigration.models.ODataError]
"""
+ _validation = {
+ 'code': {'readonly': True},
+ 'message': {'readonly': True},
+ 'details': {'readonly': True},
+ }
+
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'details': {'key': 'details', 'type': '[ODataError]'},
}
- def __init__(self, *, code: str=None, message: str=None, details=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(ODataError, self).__init__(**kwargs)
- self.code = code
- self.message = message
- self.details = details
+ self.code = None
+ self.message = None
+ self.details = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project.py
index dfff1eafee0b..ad75f31100eb 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project.py
@@ -35,7 +35,7 @@ class Project(TrackedResource):
:type source_platform: str or
~azure.mgmt.datamigration.models.ProjectSourcePlatform
:param target_platform: Required. Target platform for the project.
- Possible values include: 'SQLDB', 'SQLMI', 'Unknown'
+ Possible values include: 'SQLDB', 'Unknown'
:type target_platform: str or
~azure.mgmt.datamigration.models.ProjectTargetPlatform
:ivar creation_time: UTC Date and time when project was created
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_py3.py
index 179f1bdbeb74..4c9ab4674b1d 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .tracked_resource import TrackedResource
+from .tracked_resource_py3 import TrackedResource
class Project(TrackedResource):
@@ -35,7 +35,7 @@ class Project(TrackedResource):
:type source_platform: str or
~azure.mgmt.datamigration.models.ProjectSourcePlatform
:param target_platform: Required. Target platform for the project.
- Possible values include: 'SQLDB', 'SQLMI', 'Unknown'
+ Possible values include: 'SQLDB', 'Unknown'
:type target_platform: str or
~azure.mgmt.datamigration.models.ProjectTargetPlatform
:ivar creation_time: UTC Date and time when project was created
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_properties.py
index 8a8183572221..fc353d371570 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_properties.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_properties.py
@@ -17,18 +17,17 @@ class ProjectTaskProperties(Model):
by current client, this object is returned.
You probably want to use the sub-classes and not this class directly. Known
- sub-classes are: ValidateMigrationInputSqlServerSqlMITaskProperties,
- MigrateSqlServerSqlDbTaskProperties, MigrateSqlServerSqlMITaskProperties,
+ sub-classes are: MigrateSqlServerSqlDbTaskProperties,
GetUserTablesSqlTaskProperties, ConnectToTargetSqlDbTaskProperties,
- ConnectToTargetSqlMITaskProperties, ConnectToSourceSqlServerTaskProperties
+ ConnectToSourceSqlServerTaskProperties
Variables are only populated by the server, and will be ignored when
sending a request.
All required parameters must be populated in order to send to Azure.
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
+ :param errors: Array of errors. This is ignored if submitted.
+ :type errors: list[~azure.mgmt.datamigration.models.ODataError]
:ivar state: The state of the task. This is ignored if submitted. Possible
values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
'Failed', 'FailedInputValidation', 'Faulted'
@@ -38,7 +37,6 @@ class ProjectTaskProperties(Model):
"""
_validation = {
- 'errors': {'readonly': True},
'state': {'readonly': True},
'task_type': {'required': True},
}
@@ -50,11 +48,11 @@ class ProjectTaskProperties(Model):
}
_subtype_map = {
- 'task_type': {'ValidateMigrationInput.SqlServer.AzureSqlDbMI': 'ValidateMigrationInputSqlServerSqlMITaskProperties', 'Migrate.SqlServer.SqlDb': 'MigrateSqlServerSqlDbTaskProperties', 'Migrate.SqlServer.AzureSqlDbMI': 'MigrateSqlServerSqlMITaskProperties', 'GetUserTables.Sql': 'GetUserTablesSqlTaskProperties', 'ConnectToTarget.SqlDb': 'ConnectToTargetSqlDbTaskProperties', 'ConnectToTarget.AzureSqlDbMI': 'ConnectToTargetSqlMITaskProperties', 'ConnectToSource.SqlServer': 'ConnectToSourceSqlServerTaskProperties'}
+ 'task_type': {'Migrate.SqlServer.SqlDb': 'MigrateSqlServerSqlDbTaskProperties', 'GetUserTables.Sql': 'GetUserTablesSqlTaskProperties', 'ConnectToTarget.SqlDb': 'ConnectToTargetSqlDbTaskProperties', 'ConnectToSource.SqlServer': 'ConnectToSourceSqlServerTaskProperties'}
}
def __init__(self, **kwargs):
super(ProjectTaskProperties, self).__init__(**kwargs)
- self.errors = None
+ self.errors = kwargs.get('errors', None)
self.state = None
self.task_type = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_properties_py3.py
index cbd010514ded..e9d89aa108ca 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_properties_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_properties_py3.py
@@ -17,18 +17,17 @@ class ProjectTaskProperties(Model):
by current client, this object is returned.
You probably want to use the sub-classes and not this class directly. Known
- sub-classes are: ValidateMigrationInputSqlServerSqlMITaskProperties,
- MigrateSqlServerSqlDbTaskProperties, MigrateSqlServerSqlMITaskProperties,
+ sub-classes are: MigrateSqlServerSqlDbTaskProperties,
GetUserTablesSqlTaskProperties, ConnectToTargetSqlDbTaskProperties,
- ConnectToTargetSqlMITaskProperties, ConnectToSourceSqlServerTaskProperties
+ ConnectToSourceSqlServerTaskProperties
Variables are only populated by the server, and will be ignored when
sending a request.
All required parameters must be populated in order to send to Azure.
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
+ :param errors: Array of errors. This is ignored if submitted.
+ :type errors: list[~azure.mgmt.datamigration.models.ODataError]
:ivar state: The state of the task. This is ignored if submitted. Possible
values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
'Failed', 'FailedInputValidation', 'Faulted'
@@ -38,7 +37,6 @@ class ProjectTaskProperties(Model):
"""
_validation = {
- 'errors': {'readonly': True},
'state': {'readonly': True},
'task_type': {'required': True},
}
@@ -50,11 +48,11 @@ class ProjectTaskProperties(Model):
}
_subtype_map = {
- 'task_type': {'ValidateMigrationInput.SqlServer.AzureSqlDbMI': 'ValidateMigrationInputSqlServerSqlMITaskProperties', 'Migrate.SqlServer.SqlDb': 'MigrateSqlServerSqlDbTaskProperties', 'Migrate.SqlServer.AzureSqlDbMI': 'MigrateSqlServerSqlMITaskProperties', 'GetUserTables.Sql': 'GetUserTablesSqlTaskProperties', 'ConnectToTarget.SqlDb': 'ConnectToTargetSqlDbTaskProperties', 'ConnectToTarget.AzureSqlDbMI': 'ConnectToTargetSqlMITaskProperties', 'ConnectToSource.SqlServer': 'ConnectToSourceSqlServerTaskProperties'}
+ 'task_type': {'Migrate.SqlServer.SqlDb': 'MigrateSqlServerSqlDbTaskProperties', 'GetUserTables.Sql': 'GetUserTablesSqlTaskProperties', 'ConnectToTarget.SqlDb': 'ConnectToTargetSqlDbTaskProperties', 'ConnectToSource.SqlServer': 'ConnectToSourceSqlServerTaskProperties'}
}
- def __init__(self, **kwargs) -> None:
+ def __init__(self, *, errors=None, **kwargs) -> None:
super(ProjectTaskProperties, self).__init__(**kwargs)
- self.errors = None
+ self.errors = errors
self.state = None
self.task_type = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_py3.py
index 6ed36acb2840..798e0c9aed2c 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/project_task_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .resource import Resource
+from .resource_py3 import Resource
class ProjectTask(Resource):
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_analysis_validation_result.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_analysis_validation_result.py
index 07b83e757fdc..d424fa61efbc 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_analysis_validation_result.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_analysis_validation_result.py
@@ -15,13 +15,23 @@
class QueryAnalysisValidationResult(Model):
"""Results for query analysis comparison between the source and target.
- :param query_results: List of queries executed and it's execution results
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar query_results: List of queries executed and it's execution results
in source and target
- :type query_results: ~azure.mgmt.datamigration.models.QueryExecutionResult
- :param validation_errors: Errors that are part of the execution
- :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError
+ :vartype query_results:
+ ~azure.mgmt.datamigration.models.QueryExecutionResult
+ :ivar validation_errors: Errors that are part of the execution
+ :vartype validation_errors:
+ ~azure.mgmt.datamigration.models.ValidationError
"""
+ _validation = {
+ 'query_results': {'readonly': True},
+ 'validation_errors': {'readonly': True},
+ }
+
_attribute_map = {
'query_results': {'key': 'queryResults', 'type': 'QueryExecutionResult'},
'validation_errors': {'key': 'validationErrors', 'type': 'ValidationError'},
@@ -29,5 +39,5 @@ class QueryAnalysisValidationResult(Model):
def __init__(self, **kwargs):
super(QueryAnalysisValidationResult, self).__init__(**kwargs)
- self.query_results = kwargs.get('query_results', None)
- self.validation_errors = kwargs.get('validation_errors', None)
+ self.query_results = None
+ self.validation_errors = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_analysis_validation_result_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_analysis_validation_result_py3.py
index ba46bf53513b..6f259ed6f776 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_analysis_validation_result_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_analysis_validation_result_py3.py
@@ -15,19 +15,29 @@
class QueryAnalysisValidationResult(Model):
"""Results for query analysis comparison between the source and target.
- :param query_results: List of queries executed and it's execution results
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar query_results: List of queries executed and it's execution results
in source and target
- :type query_results: ~azure.mgmt.datamigration.models.QueryExecutionResult
- :param validation_errors: Errors that are part of the execution
- :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError
+ :vartype query_results:
+ ~azure.mgmt.datamigration.models.QueryExecutionResult
+ :ivar validation_errors: Errors that are part of the execution
+ :vartype validation_errors:
+ ~azure.mgmt.datamigration.models.ValidationError
"""
+ _validation = {
+ 'query_results': {'readonly': True},
+ 'validation_errors': {'readonly': True},
+ }
+
_attribute_map = {
'query_results': {'key': 'queryResults', 'type': 'QueryExecutionResult'},
'validation_errors': {'key': 'validationErrors', 'type': 'ValidationError'},
}
- def __init__(self, *, query_results=None, validation_errors=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(QueryAnalysisValidationResult, self).__init__(**kwargs)
- self.query_results = query_results
- self.validation_errors = validation_errors
+ self.query_results = None
+ self.validation_errors = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_execution_result.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_execution_result.py
index eb9d1f20ded4..726c9fc2a5c8 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_execution_result.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_execution_result.py
@@ -15,16 +15,28 @@
class QueryExecutionResult(Model):
"""Describes query analysis results for execution in source and target.
- :param query_text: Query text retrieved from the source server
- :type query_text: str
- :param statements_in_batch: Total no. of statements in the batch
- :type statements_in_batch: long
- :param source_result: Query analysis result from the source
- :type source_result: ~azure.mgmt.datamigration.models.ExecutionStatistics
- :param target_result: Query analysis result from the target
- :type target_result: ~azure.mgmt.datamigration.models.ExecutionStatistics
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar query_text: Query text retrieved from the source server
+ :vartype query_text: str
+ :ivar statements_in_batch: Total no. of statements in the batch
+ :vartype statements_in_batch: long
+ :ivar source_result: Query analysis result from the source
+ :vartype source_result:
+ ~azure.mgmt.datamigration.models.ExecutionStatistics
+ :ivar target_result: Query analysis result from the target
+ :vartype target_result:
+ ~azure.mgmt.datamigration.models.ExecutionStatistics
"""
+ _validation = {
+ 'query_text': {'readonly': True},
+ 'statements_in_batch': {'readonly': True},
+ 'source_result': {'readonly': True},
+ 'target_result': {'readonly': True},
+ }
+
_attribute_map = {
'query_text': {'key': 'queryText', 'type': 'str'},
'statements_in_batch': {'key': 'statementsInBatch', 'type': 'long'},
@@ -34,7 +46,7 @@ class QueryExecutionResult(Model):
def __init__(self, **kwargs):
super(QueryExecutionResult, self).__init__(**kwargs)
- self.query_text = kwargs.get('query_text', None)
- self.statements_in_batch = kwargs.get('statements_in_batch', None)
- self.source_result = kwargs.get('source_result', None)
- self.target_result = kwargs.get('target_result', None)
+ self.query_text = None
+ self.statements_in_batch = None
+ self.source_result = None
+ self.target_result = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_execution_result_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_execution_result_py3.py
index 129ddb35d62a..3e9bf67bf54c 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_execution_result_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/query_execution_result_py3.py
@@ -15,16 +15,28 @@
class QueryExecutionResult(Model):
"""Describes query analysis results for execution in source and target.
- :param query_text: Query text retrieved from the source server
- :type query_text: str
- :param statements_in_batch: Total no. of statements in the batch
- :type statements_in_batch: long
- :param source_result: Query analysis result from the source
- :type source_result: ~azure.mgmt.datamigration.models.ExecutionStatistics
- :param target_result: Query analysis result from the target
- :type target_result: ~azure.mgmt.datamigration.models.ExecutionStatistics
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar query_text: Query text retrieved from the source server
+ :vartype query_text: str
+ :ivar statements_in_batch: Total no. of statements in the batch
+ :vartype statements_in_batch: long
+ :ivar source_result: Query analysis result from the source
+ :vartype source_result:
+ ~azure.mgmt.datamigration.models.ExecutionStatistics
+ :ivar target_result: Query analysis result from the target
+ :vartype target_result:
+ ~azure.mgmt.datamigration.models.ExecutionStatistics
"""
+ _validation = {
+ 'query_text': {'readonly': True},
+ 'statements_in_batch': {'readonly': True},
+ 'source_result': {'readonly': True},
+ 'target_result': {'readonly': True},
+ }
+
_attribute_map = {
'query_text': {'key': 'queryText', 'type': 'str'},
'statements_in_batch': {'key': 'statementsInBatch', 'type': 'long'},
@@ -32,9 +44,9 @@ class QueryExecutionResult(Model):
'target_result': {'key': 'targetResult', 'type': 'ExecutionStatistics'},
}
- def __init__(self, *, query_text: str=None, statements_in_batch: int=None, source_result=None, target_result=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(QueryExecutionResult, self).__init__(**kwargs)
- self.query_text = query_text
- self.statements_in_batch = statements_in_batch
- self.source_result = source_result
- self.target_result = target_result
+ self.query_text = None
+ self.statements_in_batch = None
+ self.source_result = None
+ self.target_result = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/reportable_exception.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/reportable_exception.py
index c4e5af2d63d0..f5d3b861de4c 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/reportable_exception.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/reportable_exception.py
@@ -15,19 +15,30 @@
class ReportableException(Model):
"""Exception object for all custom exceptions.
- :param message: Error message
- :type message: str
- :param file_path: The path to the file where exception occurred
- :type file_path: str
- :param line_number: The line number where exception occurred
- :type line_number: str
- :param h_result: Coded numerical value that is assigned to a specific
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar message: Error message
+ :vartype message: str
+ :ivar file_path: The path to the file where exception occurred
+ :vartype file_path: str
+ :ivar line_number: The line number where exception occurred
+ :vartype line_number: str
+ :ivar h_result: Coded numerical value that is assigned to a specific
exception
- :type h_result: int
- :param stack_trace: Stack trace
- :type stack_trace: str
+ :vartype h_result: int
+ :ivar stack_trace: Stack trace
+ :vartype stack_trace: str
"""
+ _validation = {
+ 'message': {'readonly': True},
+ 'file_path': {'readonly': True},
+ 'line_number': {'readonly': True},
+ 'h_result': {'readonly': True},
+ 'stack_trace': {'readonly': True},
+ }
+
_attribute_map = {
'message': {'key': 'message', 'type': 'str'},
'file_path': {'key': 'filePath', 'type': 'str'},
@@ -38,8 +49,8 @@ class ReportableException(Model):
def __init__(self, **kwargs):
super(ReportableException, self).__init__(**kwargs)
- self.message = kwargs.get('message', None)
- self.file_path = kwargs.get('file_path', None)
- self.line_number = kwargs.get('line_number', None)
- self.h_result = kwargs.get('h_result', None)
- self.stack_trace = kwargs.get('stack_trace', None)
+ self.message = None
+ self.file_path = None
+ self.line_number = None
+ self.h_result = None
+ self.stack_trace = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/reportable_exception_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/reportable_exception_py3.py
index 10d533c29b70..f42f505c63c4 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/reportable_exception_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/reportable_exception_py3.py
@@ -15,19 +15,30 @@
class ReportableException(Model):
"""Exception object for all custom exceptions.
- :param message: Error message
- :type message: str
- :param file_path: The path to the file where exception occurred
- :type file_path: str
- :param line_number: The line number where exception occurred
- :type line_number: str
- :param h_result: Coded numerical value that is assigned to a specific
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar message: Error message
+ :vartype message: str
+ :ivar file_path: The path to the file where exception occurred
+ :vartype file_path: str
+ :ivar line_number: The line number where exception occurred
+ :vartype line_number: str
+ :ivar h_result: Coded numerical value that is assigned to a specific
exception
- :type h_result: int
- :param stack_trace: Stack trace
- :type stack_trace: str
+ :vartype h_result: int
+ :ivar stack_trace: Stack trace
+ :vartype stack_trace: str
"""
+ _validation = {
+ 'message': {'readonly': True},
+ 'file_path': {'readonly': True},
+ 'line_number': {'readonly': True},
+ 'h_result': {'readonly': True},
+ 'stack_trace': {'readonly': True},
+ }
+
_attribute_map = {
'message': {'key': 'message', 'type': 'str'},
'file_path': {'key': 'filePath', 'type': 'str'},
@@ -36,10 +47,10 @@ class ReportableException(Model):
'stack_trace': {'key': 'stackTrace', 'type': 'str'},
}
- def __init__(self, *, message: str=None, file_path: str=None, line_number: str=None, h_result: int=None, stack_trace: str=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(ReportableException, self).__init__(**kwargs)
- self.message = message
- self.file_path = file_path
- self.line_number = line_number
- self.h_result = h_result
- self.stack_trace = stack_trace
+ self.message = None
+ self.file_path = None
+ self.line_number = None
+ self.h_result = None
+ self.stack_trace = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result.py
index 9cd9e4caf96e..fc3073048378 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result.py
@@ -15,19 +15,28 @@
class SchemaComparisonValidationResult(Model):
"""Results for schema comparison between the source and target.
- :param schema_differences: List of schema differences between the source
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar schema_differences: List of schema differences between the source
and target databases
- :type schema_differences:
+ :vartype schema_differences:
~azure.mgmt.datamigration.models.SchemaComparisonValidationResultType
- :param validation_errors: List of errors that happened while performing
+ :ivar validation_errors: List of errors that happened while performing
schema compare validation
- :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError
+ :vartype validation_errors:
+ ~azure.mgmt.datamigration.models.ValidationError
:param source_database_object_count: Count of source database objects
:type source_database_object_count: dict[str, long]
:param target_database_object_count: Count of target database objects
:type target_database_object_count: dict[str, long]
"""
+ _validation = {
+ 'schema_differences': {'readonly': True},
+ 'validation_errors': {'readonly': True},
+ }
+
_attribute_map = {
'schema_differences': {'key': 'schemaDifferences', 'type': 'SchemaComparisonValidationResultType'},
'validation_errors': {'key': 'validationErrors', 'type': 'ValidationError'},
@@ -37,7 +46,7 @@ class SchemaComparisonValidationResult(Model):
def __init__(self, **kwargs):
super(SchemaComparisonValidationResult, self).__init__(**kwargs)
- self.schema_differences = kwargs.get('schema_differences', None)
- self.validation_errors = kwargs.get('validation_errors', None)
+ self.schema_differences = None
+ self.validation_errors = None
self.source_database_object_count = kwargs.get('source_database_object_count', None)
self.target_database_object_count = kwargs.get('target_database_object_count', None)
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_py3.py
index 80d4e9462b13..1107b6b36d3f 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_py3.py
@@ -15,19 +15,28 @@
class SchemaComparisonValidationResult(Model):
"""Results for schema comparison between the source and target.
- :param schema_differences: List of schema differences between the source
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar schema_differences: List of schema differences between the source
and target databases
- :type schema_differences:
+ :vartype schema_differences:
~azure.mgmt.datamigration.models.SchemaComparisonValidationResultType
- :param validation_errors: List of errors that happened while performing
+ :ivar validation_errors: List of errors that happened while performing
schema compare validation
- :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError
+ :vartype validation_errors:
+ ~azure.mgmt.datamigration.models.ValidationError
:param source_database_object_count: Count of source database objects
:type source_database_object_count: dict[str, long]
:param target_database_object_count: Count of target database objects
:type target_database_object_count: dict[str, long]
"""
+ _validation = {
+ 'schema_differences': {'readonly': True},
+ 'validation_errors': {'readonly': True},
+ }
+
_attribute_map = {
'schema_differences': {'key': 'schemaDifferences', 'type': 'SchemaComparisonValidationResultType'},
'validation_errors': {'key': 'validationErrors', 'type': 'ValidationError'},
@@ -35,9 +44,9 @@ class SchemaComparisonValidationResult(Model):
'target_database_object_count': {'key': 'targetDatabaseObjectCount', 'type': '{long}'},
}
- def __init__(self, *, schema_differences=None, validation_errors=None, source_database_object_count=None, target_database_object_count=None, **kwargs) -> None:
+ def __init__(self, *, source_database_object_count=None, target_database_object_count=None, **kwargs) -> None:
super(SchemaComparisonValidationResult, self).__init__(**kwargs)
- self.schema_differences = schema_differences
- self.validation_errors = validation_errors
+ self.schema_differences = None
+ self.validation_errors = None
self.source_database_object_count = source_database_object_count
self.target_database_object_count = target_database_object_count
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_type.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_type.py
index 2a53cac4d764..a8aa8c5abb7e 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_type.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_type.py
@@ -15,18 +15,27 @@
class SchemaComparisonValidationResultType(Model):
"""Description about the errors happen while performing migration validation.
- :param object_name: Name of the object that has the difference
- :type object_name: str
- :param object_type: Type of the object that has the difference. e.g
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar object_name: Name of the object that has the difference
+ :vartype object_name: str
+ :ivar object_type: Type of the object that has the difference. e.g
(Table/View/StoredProcedure). Possible values include: 'StoredProcedures',
'Table', 'User', 'View', 'Function'
- :type object_type: str or ~azure.mgmt.datamigration.models.ObjectType
- :param update_action: Update action type with respect to target. Possible
+ :vartype object_type: str or ~azure.mgmt.datamigration.models.ObjectType
+ :ivar update_action: Update action type with respect to target. Possible
values include: 'DeletedOnTarget', 'ChangedOnTarget', 'AddedOnTarget'
- :type update_action: str or
+ :vartype update_action: str or
~azure.mgmt.datamigration.models.UpdateActionType
"""
+ _validation = {
+ 'object_name': {'readonly': True},
+ 'object_type': {'readonly': True},
+ 'update_action': {'readonly': True},
+ }
+
_attribute_map = {
'object_name': {'key': 'objectName', 'type': 'str'},
'object_type': {'key': 'objectType', 'type': 'str'},
@@ -35,6 +44,6 @@ class SchemaComparisonValidationResultType(Model):
def __init__(self, **kwargs):
super(SchemaComparisonValidationResultType, self).__init__(**kwargs)
- self.object_name = kwargs.get('object_name', None)
- self.object_type = kwargs.get('object_type', None)
- self.update_action = kwargs.get('update_action', None)
+ self.object_name = None
+ self.object_type = None
+ self.update_action = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_type_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_type_py3.py
index e469340af8aa..3967a083850a 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_type_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/schema_comparison_validation_result_type_py3.py
@@ -15,26 +15,35 @@
class SchemaComparisonValidationResultType(Model):
"""Description about the errors happen while performing migration validation.
- :param object_name: Name of the object that has the difference
- :type object_name: str
- :param object_type: Type of the object that has the difference. e.g
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar object_name: Name of the object that has the difference
+ :vartype object_name: str
+ :ivar object_type: Type of the object that has the difference. e.g
(Table/View/StoredProcedure). Possible values include: 'StoredProcedures',
'Table', 'User', 'View', 'Function'
- :type object_type: str or ~azure.mgmt.datamigration.models.ObjectType
- :param update_action: Update action type with respect to target. Possible
+ :vartype object_type: str or ~azure.mgmt.datamigration.models.ObjectType
+ :ivar update_action: Update action type with respect to target. Possible
values include: 'DeletedOnTarget', 'ChangedOnTarget', 'AddedOnTarget'
- :type update_action: str or
+ :vartype update_action: str or
~azure.mgmt.datamigration.models.UpdateActionType
"""
+ _validation = {
+ 'object_name': {'readonly': True},
+ 'object_type': {'readonly': True},
+ 'update_action': {'readonly': True},
+ }
+
_attribute_map = {
'object_name': {'key': 'objectName', 'type': 'str'},
'object_type': {'key': 'objectType', 'type': 'str'},
'update_action': {'key': 'updateAction', 'type': 'str'},
}
- def __init__(self, *, object_name: str=None, object_type=None, update_action=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(SchemaComparisonValidationResultType, self).__init__(**kwargs)
- self.object_name = object_name
- self.object_type = object_type
- self.update_action = update_action
+ self.object_name = None
+ self.object_type = None
+ self.update_action = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/service_operation.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/service_operation.py
index 65254c700dda..fa09e79adad1 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/service_operation.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/service_operation.py
@@ -13,7 +13,7 @@
class ServiceOperation(Model):
- """Description of an action supported by the Data Migration Service.
+ """Description of an action supported by the Database Migration Service.
:param name: The fully qualified action name, e.g.
Microsoft.DataMigration/services/read
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/service_operation_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/service_operation_py3.py
index 819b1025ca9b..27e51b4e5021 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/service_operation_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/service_operation_py3.py
@@ -13,7 +13,7 @@
class ServiceOperation(Model):
- """Description of an action supported by the Data Migration Service.
+ """Description of an action supported by the Database Migration Service.
:param name: The fully qualified action name, e.g.
Microsoft.DataMigration/services/read
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/sql_connection_info_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/sql_connection_info_py3.py
index 47a643c77ed5..1227cde800a1 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/sql_connection_info_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/sql_connection_info_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .connection_info import ConnectionInfo
+from .connection_info_py3 import ConnectionInfo
class SqlConnectionInfo(ConnectionInfo):
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/start_migration_scenario_server_role_result.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/start_migration_scenario_server_role_result.py
index f124eb80738d..a14f6e618b1e 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/start_migration_scenario_server_role_result.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/start_migration_scenario_server_role_result.py
@@ -13,7 +13,7 @@
class StartMigrationScenarioServerRoleResult(Model):
- """StartMigrationScenarioServerRoleResult.
+ """Migration results from a server role.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/start_migration_scenario_server_role_result_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/start_migration_scenario_server_role_result_py3.py
index 579e48bcda6d..e351b2d780cb 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/start_migration_scenario_server_role_result_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/start_migration_scenario_server_role_result_py3.py
@@ -13,7 +13,7 @@
class StartMigrationScenarioServerRoleResult(Model):
- """StartMigrationScenarioServerRoleResult.
+ """Migration results from a server role.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/tracked_resource_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/tracked_resource_py3.py
index 4d8ec200976a..6375e9a90eba 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/tracked_resource_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/tracked_resource_py3.py
@@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------
-from .resource import Resource
+from .resource_py3 import Resource
class TrackedResource(Resource):
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_input.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_input.py
deleted file mode 100644
index 7788fa2c730e..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_input.py
+++ /dev/null
@@ -1,54 +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 ValidateMigrationInputSqlServerSqlMITaskInput(Model):
- """Input for task that validates migration input for SQL to Azure SQL Managed
- Instance.
-
- All required parameters must be populated in order to send to Azure.
-
- :param target_connection_info: Required. Information for connecting to
- target
- :type target_connection_info:
- ~azure.mgmt.datamigration.models.SqlConnectionInfo
- :param selected_databases: Required. Databases to migrate
- :type selected_databases:
- list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput]
- :param backup_file_share: Backup file share information for all selected
- databases.
- :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare
- :param backup_blob_share: Required. SAS URI of Azure Storage Account
- Container to be used for storing backup files.
- :type backup_blob_share: ~azure.mgmt.datamigration.models.BlobShare
- """
-
- _validation = {
- 'target_connection_info': {'required': True},
- 'selected_databases': {'required': True},
- 'backup_blob_share': {'required': True},
- }
-
- _attribute_map = {
- 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'},
- 'selected_databases': {'key': 'selectedDatabases', 'type': '[MigrateSqlServerSqlMIDatabaseInput]'},
- 'backup_file_share': {'key': 'backupFileShare', 'type': 'FileShare'},
- 'backup_blob_share': {'key': 'backupBlobShare', 'type': 'BlobShare'},
- }
-
- def __init__(self, **kwargs):
- super(ValidateMigrationInputSqlServerSqlMITaskInput, self).__init__(**kwargs)
- self.target_connection_info = kwargs.get('target_connection_info', None)
- self.selected_databases = kwargs.get('selected_databases', None)
- self.backup_file_share = kwargs.get('backup_file_share', None)
- self.backup_blob_share = kwargs.get('backup_blob_share', None)
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_input_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_input_py3.py
deleted file mode 100644
index 1e4e48120240..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_input_py3.py
+++ /dev/null
@@ -1,54 +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 ValidateMigrationInputSqlServerSqlMITaskInput(Model):
- """Input for task that validates migration input for SQL to Azure SQL Managed
- Instance.
-
- All required parameters must be populated in order to send to Azure.
-
- :param target_connection_info: Required. Information for connecting to
- target
- :type target_connection_info:
- ~azure.mgmt.datamigration.models.SqlConnectionInfo
- :param selected_databases: Required. Databases to migrate
- :type selected_databases:
- list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput]
- :param backup_file_share: Backup file share information for all selected
- databases.
- :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare
- :param backup_blob_share: Required. SAS URI of Azure Storage Account
- Container to be used for storing backup files.
- :type backup_blob_share: ~azure.mgmt.datamigration.models.BlobShare
- """
-
- _validation = {
- 'target_connection_info': {'required': True},
- 'selected_databases': {'required': True},
- 'backup_blob_share': {'required': True},
- }
-
- _attribute_map = {
- 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'},
- 'selected_databases': {'key': 'selectedDatabases', 'type': '[MigrateSqlServerSqlMIDatabaseInput]'},
- 'backup_file_share': {'key': 'backupFileShare', 'type': 'FileShare'},
- 'backup_blob_share': {'key': 'backupBlobShare', 'type': 'BlobShare'},
- }
-
- def __init__(self, *, target_connection_info, selected_databases, backup_blob_share, backup_file_share=None, **kwargs) -> None:
- super(ValidateMigrationInputSqlServerSqlMITaskInput, self).__init__(**kwargs)
- self.target_connection_info = target_connection_info
- self.selected_databases = selected_databases
- self.backup_file_share = backup_file_share
- self.backup_blob_share = backup_blob_share
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
deleted file mode 100644
index e465fa15dfe3..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_output.py
+++ /dev/null
@@ -1,68 +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 ValidateMigrationInputSqlServerSqlMITaskOutput(Model):
- """Output for task that validates migration input for SQL to Azure SQL Managed
- Instance migrations.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- :ivar id: Result identifier
- :vartype id: str
- :ivar name: Name of database
- :vartype name: str
- :ivar restore_database_name_errors: Errors associated with the
- RestoreDatabaseName
- :vartype restore_database_name_errors:
- list[~azure.mgmt.datamigration.models.ReportableException]
- :ivar backup_folder_errors: Errors associated with the BackupFolder path
- :vartype backup_folder_errors:
- list[~azure.mgmt.datamigration.models.ReportableException]
- :ivar backup_share_credentials_errors: Errors associated with backup share
- user name and password credentials
- :vartype backup_share_credentials_errors:
- list[~azure.mgmt.datamigration.models.ReportableException]
- :ivar backup_storage_account_errors: Errors associated with the storage
- account provided.
- :vartype backup_storage_account_errors:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'name': {'readonly': True},
- 'restore_database_name_errors': {'readonly': True},
- 'backup_folder_errors': {'readonly': True},
- 'backup_share_credentials_errors': {'readonly': True},
- 'backup_storage_account_errors': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'name': {'key': 'name', 'type': 'str'},
- 'restore_database_name_errors': {'key': 'restoreDatabaseNameErrors', 'type': '[ReportableException]'},
- 'backup_folder_errors': {'key': 'backupFolderErrors', 'type': '[ReportableException]'},
- 'backup_share_credentials_errors': {'key': 'backupShareCredentialsErrors', 'type': '[ReportableException]'},
- 'backup_storage_account_errors': {'key': 'backupStorageAccountErrors', 'type': '[ReportableException]'},
- }
-
- 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
- self.backup_share_credentials_errors = None
- self.backup_storage_account_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
deleted file mode 100644
index 599079bb4258..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_output_py3.py
+++ /dev/null
@@ -1,68 +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 ValidateMigrationInputSqlServerSqlMITaskOutput(Model):
- """Output for task that validates migration input for SQL to Azure SQL Managed
- Instance migrations.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- :ivar id: Result identifier
- :vartype id: str
- :ivar name: Name of database
- :vartype name: str
- :ivar restore_database_name_errors: Errors associated with the
- RestoreDatabaseName
- :vartype restore_database_name_errors:
- list[~azure.mgmt.datamigration.models.ReportableException]
- :ivar backup_folder_errors: Errors associated with the BackupFolder path
- :vartype backup_folder_errors:
- list[~azure.mgmt.datamigration.models.ReportableException]
- :ivar backup_share_credentials_errors: Errors associated with backup share
- user name and password credentials
- :vartype backup_share_credentials_errors:
- list[~azure.mgmt.datamigration.models.ReportableException]
- :ivar backup_storage_account_errors: Errors associated with the storage
- account provided.
- :vartype backup_storage_account_errors:
- list[~azure.mgmt.datamigration.models.ReportableException]
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'name': {'readonly': True},
- 'restore_database_name_errors': {'readonly': True},
- 'backup_folder_errors': {'readonly': True},
- 'backup_share_credentials_errors': {'readonly': True},
- 'backup_storage_account_errors': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'name': {'key': 'name', 'type': 'str'},
- 'restore_database_name_errors': {'key': 'restoreDatabaseNameErrors', 'type': '[ReportableException]'},
- 'backup_folder_errors': {'key': 'backupFolderErrors', 'type': '[ReportableException]'},
- 'backup_share_credentials_errors': {'key': 'backupShareCredentialsErrors', 'type': '[ReportableException]'},
- 'backup_storage_account_errors': {'key': 'backupStorageAccountErrors', 'type': '[ReportableException]'},
- }
-
- def __init__(self, **kwargs) -> None:
- super(ValidateMigrationInputSqlServerSqlMITaskOutput, self).__init__(**kwargs)
- self.id = None
- self.name = None
- self.restore_database_name_errors = None
- self.backup_folder_errors = None
- self.backup_share_credentials_errors = None
- self.backup_storage_account_errors = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_properties.py
deleted file mode 100644
index b56775637dec..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_properties.py
+++ /dev/null
@@ -1,59 +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 .project_task_properties import ProjectTaskProperties
-
-
-class ValidateMigrationInputSqlServerSqlMITaskProperties(ProjectTaskProperties):
- """Properties for task that validates migration input for SQL to Azure SQL
- Database Managed Instance.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
- :ivar state: The state of the task. This is ignored if submitted. Possible
- values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
- 'Failed', 'FailedInputValidation', 'Faulted'
- :vartype state: str or ~azure.mgmt.datamigration.models.TaskState
- :param task_type: Required. Constant filled by server.
- :type task_type: str
- :param input: Task input
- :type input:
- ~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskInput
- :ivar output: Task output. This is ignored if submitted.
- :vartype output:
- list[~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskOutput]
- """
-
- _validation = {
- 'errors': {'readonly': True},
- 'state': {'readonly': True},
- 'task_type': {'required': True},
- 'output': {'readonly': True},
- }
-
- _attribute_map = {
- 'errors': {'key': 'errors', 'type': '[ODataError]'},
- 'state': {'key': 'state', 'type': 'str'},
- 'task_type': {'key': 'taskType', 'type': 'str'},
- 'input': {'key': 'input', 'type': 'ValidateMigrationInputSqlServerSqlMITaskInput'},
- 'output': {'key': 'output', 'type': '[ValidateMigrationInputSqlServerSqlMITaskOutput]'},
- }
-
- def __init__(self, **kwargs):
- super(ValidateMigrationInputSqlServerSqlMITaskProperties, self).__init__(**kwargs)
- self.input = kwargs.get('input', None)
- self.output = None
- self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_properties_py3.py
deleted file mode 100644
index 702d9c6b2342..000000000000
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_mi_task_properties_py3.py
+++ /dev/null
@@ -1,59 +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 .project_task_properties import ProjectTaskProperties
-
-
-class ValidateMigrationInputSqlServerSqlMITaskProperties(ProjectTaskProperties):
- """Properties for task that validates migration input for SQL to Azure SQL
- Database Managed Instance.
-
- Variables are only populated by the server, and will be ignored when
- sending a request.
-
- All required parameters must be populated in order to send to Azure.
-
- :ivar errors: Array of errors. This is ignored if submitted.
- :vartype errors: list[~azure.mgmt.datamigration.models.ODataError]
- :ivar state: The state of the task. This is ignored if submitted. Possible
- values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded',
- 'Failed', 'FailedInputValidation', 'Faulted'
- :vartype state: str or ~azure.mgmt.datamigration.models.TaskState
- :param task_type: Required. Constant filled by server.
- :type task_type: str
- :param input: Task input
- :type input:
- ~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskInput
- :ivar output: Task output. This is ignored if submitted.
- :vartype output:
- list[~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskOutput]
- """
-
- _validation = {
- 'errors': {'readonly': True},
- 'state': {'readonly': True},
- 'task_type': {'required': True},
- 'output': {'readonly': True},
- }
-
- _attribute_map = {
- 'errors': {'key': 'errors', 'type': '[ODataError]'},
- 'state': {'key': 'state', 'type': 'str'},
- 'task_type': {'key': 'taskType', 'type': 'str'},
- 'input': {'key': 'input', 'type': 'ValidateMigrationInputSqlServerSqlMITaskInput'},
- 'output': {'key': 'output', 'type': '[ValidateMigrationInputSqlServerSqlMITaskOutput]'},
- }
-
- def __init__(self, *, input=None, **kwargs) -> None:
- super(ValidateMigrationInputSqlServerSqlMITaskProperties, self).__init__(**kwargs)
- self.input = input
- self.output = None
- self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI'
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validation_error.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validation_error.py
index 2dcb6d4fdf0c..7879e2effa78 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validation_error.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validation_error.py
@@ -15,13 +15,21 @@
class ValidationError(Model):
"""Description about the errors happen while performing migration validation.
- :param text: Error Text
- :type text: str
- :param severity: Severity of the error. Possible values include:
- 'Message', 'Warning', 'Error'
- :type severity: str or ~azure.mgmt.datamigration.models.Severity
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar text: Error Text
+ :vartype text: str
+ :ivar severity: Severity of the error. Possible values include: 'Message',
+ 'Warning', 'Error'
+ :vartype severity: str or ~azure.mgmt.datamigration.models.Severity
"""
+ _validation = {
+ 'text': {'readonly': True},
+ 'severity': {'readonly': True},
+ }
+
_attribute_map = {
'text': {'key': 'text', 'type': 'str'},
'severity': {'key': 'severity', 'type': 'str'},
@@ -29,5 +37,5 @@ class ValidationError(Model):
def __init__(self, **kwargs):
super(ValidationError, self).__init__(**kwargs)
- self.text = kwargs.get('text', None)
- self.severity = kwargs.get('severity', None)
+ self.text = None
+ self.severity = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validation_error_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validation_error_py3.py
index 6e7ce050ff4e..cb8f150455cf 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validation_error_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validation_error_py3.py
@@ -15,19 +15,27 @@
class ValidationError(Model):
"""Description about the errors happen while performing migration validation.
- :param text: Error Text
- :type text: str
- :param severity: Severity of the error. Possible values include:
- 'Message', 'Warning', 'Error'
- :type severity: str or ~azure.mgmt.datamigration.models.Severity
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar text: Error Text
+ :vartype text: str
+ :ivar severity: Severity of the error. Possible values include: 'Message',
+ 'Warning', 'Error'
+ :vartype severity: str or ~azure.mgmt.datamigration.models.Severity
"""
+ _validation = {
+ 'text': {'readonly': True},
+ 'severity': {'readonly': True},
+ }
+
_attribute_map = {
'text': {'key': 'text', 'type': 'str'},
'severity': {'key': 'severity', 'type': 'str'},
}
- def __init__(self, *, text: str=None, severity=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(ValidationError, self).__init__(**kwargs)
- self.text = text
- self.severity = severity
+ self.text = None
+ self.severity = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/wait_statistics.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/wait_statistics.py
index 2e1b9a76d7fc..9db8f0f3334c 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/wait_statistics.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/wait_statistics.py
@@ -15,15 +15,23 @@
class WaitStatistics(Model):
"""Wait statistics gathered during query batch execution.
- :param wait_type: Type of the Wait
- :type wait_type: str
- :param wait_time_ms: Total wait time in millisecond(s) . Default value: 0
- .
- :type wait_time_ms: float
- :param wait_count: Total no. of waits
- :type wait_count: long
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar wait_type: Type of the Wait
+ :vartype wait_type: str
+ :ivar wait_time_ms: Total wait time in millisecond(s). Default value: 0 .
+ :vartype wait_time_ms: float
+ :ivar wait_count: Total no. of waits
+ :vartype wait_count: long
"""
+ _validation = {
+ 'wait_type': {'readonly': True},
+ 'wait_time_ms': {'readonly': True},
+ 'wait_count': {'readonly': True},
+ }
+
_attribute_map = {
'wait_type': {'key': 'waitType', 'type': 'str'},
'wait_time_ms': {'key': 'waitTimeMs', 'type': 'float'},
@@ -32,6 +40,6 @@ class WaitStatistics(Model):
def __init__(self, **kwargs):
super(WaitStatistics, self).__init__(**kwargs)
- self.wait_type = kwargs.get('wait_type', None)
- self.wait_time_ms = kwargs.get('wait_time_ms', 0)
- self.wait_count = kwargs.get('wait_count', None)
+ self.wait_type = None
+ self.wait_time_ms = None
+ self.wait_count = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/wait_statistics_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/wait_statistics_py3.py
index 4ac3fbbb9247..ae6f3ccdcb29 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/wait_statistics_py3.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/wait_statistics_py3.py
@@ -15,23 +15,31 @@
class WaitStatistics(Model):
"""Wait statistics gathered during query batch execution.
- :param wait_type: Type of the Wait
- :type wait_type: str
- :param wait_time_ms: Total wait time in millisecond(s) . Default value: 0
- .
- :type wait_time_ms: float
- :param wait_count: Total no. of waits
- :type wait_count: long
+ Variables are only populated by the server, and will be ignored when
+ sending a request.
+
+ :ivar wait_type: Type of the Wait
+ :vartype wait_type: str
+ :ivar wait_time_ms: Total wait time in millisecond(s). Default value: 0 .
+ :vartype wait_time_ms: float
+ :ivar wait_count: Total no. of waits
+ :vartype wait_count: long
"""
+ _validation = {
+ 'wait_type': {'readonly': True},
+ 'wait_time_ms': {'readonly': True},
+ 'wait_count': {'readonly': True},
+ }
+
_attribute_map = {
'wait_type': {'key': 'waitType', 'type': 'str'},
'wait_time_ms': {'key': 'waitTimeMs', 'type': 'float'},
'wait_count': {'key': 'waitCount', 'type': 'long'},
}
- def __init__(self, *, wait_type: str=None, wait_time_ms: float=0, wait_count: int=None, **kwargs) -> None:
+ def __init__(self, **kwargs) -> None:
super(WaitStatistics, self).__init__(**kwargs)
- self.wait_type = wait_type
- self.wait_time_ms = wait_time_ms
- self.wait_count = wait_count
+ self.wait_type = None
+ self.wait_time_ms = None
+ self.wait_count = None
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/operations.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/operations.py
index 2188f0a13f4e..541b10fbca20 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/operations.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/operations.py
@@ -22,7 +22,7 @@ class Operations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
- :ivar api_version: Version of the API. Constant value: "2018-03-31-preview".
+ :ivar api_version: Version of the API. Constant value: "2018-04-19".
"""
models = models
@@ -32,7 +32,7 @@ def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
- self.api_version = "2018-03-31-preview"
+ self.api_version = "2018-04-19"
self.config = config
@@ -40,7 +40,7 @@ def list(
self, custom_headers=None, raw=False, **operation_config):
"""Get available resource provider actions (operations).
- Lists all available actions exposed by the Data Migration Service
+ Lists all available actions exposed by the Database Migration Service
resource provider.
:param dict custom_headers: headers that will be added to the request
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/projects_operations.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/projects_operations.py
index a60a670f4747..9e071cc44f02 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/projects_operations.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/projects_operations.py
@@ -22,7 +22,7 @@ class ProjectsOperations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
- :ivar api_version: Version of the API. Constant value: "2018-03-31-preview".
+ :ivar api_version: Version of the API. Constant value: "2018-04-19".
"""
models = models
@@ -32,11 +32,11 @@ def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
- self.api_version = "2018-03-31-preview"
+ self.api_version = "2018-04-19"
self.config = config
- def list(
+ def list_by_resource_group(
self, group_name, service_name, custom_headers=None, raw=False, **operation_config):
"""Get projects in a service.
@@ -63,7 +63,7 @@ def internal_paging(next_link=None, raw=False):
if not next_link:
# Construct URL
- url = self.list.metadata['url']
+ url = self.list_by_resource_group.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'groupName': self._serialize.url("group_name", group_name, 'str'),
@@ -108,7 +108,7 @@ def internal_paging(next_link=None, raw=False):
return client_raw_response
return deserialized
- list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects'}
+ list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects'}
def create_or_update(
self, parameters, group_name, service_name, project_name, custom_headers=None, raw=False, **operation_config):
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/resource_skus_operations.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/resource_skus_operations.py
index 19694debce87..a089b020981f 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/resource_skus_operations.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/resource_skus_operations.py
@@ -22,7 +22,7 @@ class ResourceSkusOperations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
- :ivar api_version: Version of the API. Constant value: "2018-03-31-preview".
+ :ivar api_version: Version of the API. Constant value: "2018-04-19".
"""
models = models
@@ -32,7 +32,7 @@ def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
- self.api_version = "2018-03-31-preview"
+ self.api_version = "2018-04-19"
self.config = config
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/services_operations.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/services_operations.py
index 6956272c9dee..4fd7a95abe38 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/services_operations.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/services_operations.py
@@ -24,7 +24,7 @@ class ServicesOperations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
- :ivar api_version: Version of the API. Constant value: "2018-03-31-preview".
+ :ivar api_version: Version of the API. Constant value: "2018-04-19".
"""
models = models
@@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
- self.api_version = "2018-03-31-preview"
+ self.api_version = "2018-04-19"
self.config = config
@@ -93,15 +93,16 @@ def create_or_update(
"""Create or update DMS Instance.
The services resource is the top-level resource that represents the
- Data Migration Service. The PUT method creates a new service or updates
- an existing one. When a service is updated, existing child resources
- (i.e. tasks) are unaffected. Services currently support a single kind,
- "vm", which refers to a VM-based service, although other kinds may be
- added in the future. This method can change the kind, SKU, and network
- of the service, but if tasks are currently running (i.e. the service is
- busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The
- provider will reply when successful with 200 OK or 201 Created.
- Long-running operations use the provisioningState property.
+ Database Migration Service. The PUT method creates a new service or
+ updates an existing one. When a service is updated, existing child
+ resources (i.e. tasks) are unaffected. Services currently support a
+ single kind, "vm", which refers to a VM-based service, although other
+ kinds may be added in the future. This method can change the kind, SKU,
+ and network of the service, but if tasks are currently running (i.e.
+ the service is busy), this will fail with 400 Bad Request
+ ("ServiceIsBusy"). The provider will reply when successful with 200 OK
+ or 201 Created. Long-running operations use the provisioningState
+ property.
:param parameters: Information about the service
:type parameters:
@@ -156,8 +157,8 @@ def get(
"""Get DMS Service Instance.
The services resource is the top-level resource that represents the
- Data Migration Service. The GET method retrieves information about a
- service instance.
+ Database Migration Service. The GET method retrieves information about
+ a service instance.
:param group_name: Name of the resource group
:type group_name: str
@@ -260,7 +261,7 @@ def delete(
"""Delete DMS Service Instance.
The services resource is the top-level resource that represents the
- Data Migration Service. The DELETE method deletes a service. Any
+ Database Migration Service. The DELETE method deletes a service. Any
running tasks will be canceled.
:param group_name: Name of the resource group
@@ -358,10 +359,10 @@ def update(
"""Create or update DMS Service Instance.
The services resource is the top-level resource that represents the
- Data Migration Service. The PATCH method updates an existing service.
- This method can change the kind, SKU, and network of the service, but
- if tasks are currently running (i.e. the service is busy), this will
- fail with 400 Bad Request ("ServiceIsBusy").
+ Database Migration Service. The PATCH method updates an existing
+ service. This method can change the kind, SKU, and network of the
+ service, but if tasks are currently running (i.e. the service is busy),
+ this will fail with 400 Bad Request ("ServiceIsBusy").
:param parameters: Information about the service
:type parameters:
@@ -416,8 +417,8 @@ def check_status(
"""Check service health status.
The services resource is the top-level resource that represents the
- Data Migration Service. This action performs a health check and returns
- the status of the service and virtual machine size.
+ Database Migration Service. This action performs a health check and
+ returns the status of the service and virtual machine size.
:param group_name: Name of the resource group
:type group_name: str
@@ -520,8 +521,8 @@ def start(
"""Start service.
The services resource is the top-level resource that represents the
- Data Migration Service. This action starts the service and the service
- can be used for data migration.
+ Database Migration Service. This action starts the service and the
+ service can be used for data migration.
:param group_name: Name of the resource group
:type group_name: str
@@ -603,9 +604,9 @@ def stop(
"""Stop service.
The services resource is the top-level resource that represents the
- Data Migration Service. This action stops the service and the service
- cannot be used for data migration. The service owner won't be billed
- when the service is stopped.
+ Database Migration Service. This action stops the service and the
+ service cannot be used for data migration. The service owner won't be
+ billed when the service is stopped.
:param group_name: Name of the resource group
:type group_name: str
@@ -650,8 +651,8 @@ def list_skus(
"""Get compatible SKUs.
The services resource is the top-level resource that represents the
- Data Migration Service. The skus action returns the list of SKUs that a
- service resource can be updated to.
+ Database Migration Service. The skus action returns the list of SKUs
+ that a service resource can be updated to.
:param group_name: Name of the resource group
:type group_name: str
@@ -719,7 +720,7 @@ def internal_paging(next_link=None, raw=False):
return deserialized
list_skus.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus'}
- def check_children_name_availability(
+ def nested_check_name_availability(
self, group_name, service_name, name=None, type=None, custom_headers=None, raw=False, **operation_config):
"""Check nested resource name validity and availability.
@@ -748,7 +749,7 @@ def check_children_name_availability(
parameters = models.NameAvailabilityRequest(name=name, type=type)
# Construct URL
- url = self.check_children_name_availability.metadata['url']
+ url = self.nested_check_name_availability.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'groupName': self._serialize.url("group_name", group_name, 'str'),
@@ -791,15 +792,15 @@ def check_children_name_availability(
return client_raw_response
return deserialized
- check_children_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability'}
+ nested_check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability'}
def list_by_resource_group(
self, group_name, custom_headers=None, raw=False, **operation_config):
"""Get services in resource group.
The Services resource is the top-level resource that represents the
- Data Migration Service. This method returns a list of service resources
- in a resource group.
+ Database Migration Service. This method returns a list of service
+ resources in a resource group.
:param group_name: Name of the resource group
:type group_name: str
@@ -869,8 +870,8 @@ def list(
"""Get services in subscription.
The services resource is the top-level resource that represents the
- Data Migration Service. This method returns a list of service resources
- in a subscription.
+ Database Migration Service. This method returns a list of service
+ resources in a subscription.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/tasks_operations.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/tasks_operations.py
index fb887902f321..5f5d65d9eacc 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/tasks_operations.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/tasks_operations.py
@@ -22,7 +22,7 @@ class TasksOperations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
- :ivar api_version: Version of the API. Constant value: "2018-03-31-preview".
+ :ivar api_version: Version of the API. Constant value: "2018-04-19".
"""
models = models
@@ -32,7 +32,7 @@ def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
- self.api_version = "2018-03-31-preview"
+ self.api_version = "2018-04-19"
self.config = config
@@ -41,8 +41,8 @@ def list(
"""Get tasks in a service.
The services resource is the top-level resource that represents the
- Data Migration Service. This method returns a list of tasks owned by a
- service resource. Some tasks may have a status of Unknown, which
+ Database Migration Service. This method returns a list of tasks owned
+ by a service resource. Some tasks may have a status of Unknown, which
indicates that an error occurred while querying the status of that
task.
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/usages_operations.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/usages_operations.py
index 14eb432b67ee..502c3ea22afe 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/usages_operations.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/operations/usages_operations.py
@@ -22,7 +22,7 @@ class UsagesOperations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
- :ivar api_version: Version of the API. Constant value: "2018-03-31-preview".
+ :ivar api_version: Version of the API. Constant value: "2018-04-19".
"""
models = models
@@ -32,7 +32,7 @@ def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
- self.api_version = "2018-03-31-preview"
+ self.api_version = "2018-04-19"
self.config = config
@@ -41,7 +41,7 @@ def list(
"""Get resource quotas and usage information.
This method returns region-specific quotas and resource usage
- information for the Data Migration Service.
+ information for the Database Migration Service.
:param location: The Azure region of the operation
:type location: str
diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/version.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/version.py
index e0ec669828cb..a39916c162ce 100644
--- a/azure-mgmt-datamigration/azure/mgmt/datamigration/version.py
+++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/version.py
@@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------
-VERSION = "0.1.0"
+VERSION = "1.0.0"
diff --git a/azure-mgmt-datamigration/sdk_packaging.toml b/azure-mgmt-datamigration/sdk_packaging.toml
new file mode 100644
index 000000000000..a26a61223d02
--- /dev/null
+++ b/azure-mgmt-datamigration/sdk_packaging.toml
@@ -0,0 +1,5 @@
+[packaging]
+package_name = "azure-mgmt-datamigration"
+package_pprint_name = "Data Migration"
+package_doc_id = ""
+is_stable = true
diff --git a/azure-mgmt-datamigration/setup.py b/azure-mgmt-datamigration/setup.py
index ced4f87a9123..57a54a470d6e 100644
--- a/azure-mgmt-datamigration/setup.py
+++ b/azure-mgmt-datamigration/setup.py
@@ -64,7 +64,7 @@
author_email='azpysdkhelp@microsoft.com',
url='https://github.com/Azure/azure-sdk-for-python',
classifiers=[
- 'Development Status :: 4 - Beta',
+ 'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
diff --git a/azure-mgmt-datamigration/tests/recordings/test_mgmt_datamigration.test_datamigration.yaml b/azure-mgmt-datamigration/tests/recordings/test_mgmt_datamigration.test_datamigration.yaml
index f4a5c912a63f..11f67ab884d3 100644
--- a/azure-mgmt-datamigration/tests/recordings/test_mgmt_datamigration.test_datamigration.yaml
+++ b/azure-mgmt-datamigration/tests/recordings/test_mgmt_datamigration.test_datamigration.yaml
@@ -11,14 +11,14 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: POST
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/checkNameAvailability?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/checkNameAvailability?api-version=2018-04-19
response:
body: {string: '{"nameAvailable":true}'}
headers:
cache-control: [no-cache]
content-length: ['22']
content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:56:11 GMT']
+ date: ['Wed, 16 May 2018 00:11:08 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -44,20 +44,20 @@ interactions:
response:
body: {string: "{\r\n \"name\": \"pysdkdmstestvnet74501149\",\r\n \"id\": \"\
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149\"\
- ,\r\n \"etag\": \"W/\\\"e506a13d-3058-4855-9688-172f1229fe33\\\"\",\r\n \
+ ,\r\n \"etag\": \"W/\\\"78f14562-a606-48ef-8407-22ea4b9b56da\\\"\",\r\n \
\ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centralus\"\
,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \
- \ \"resourceGuid\": \"f52a9f74-d261-495f-85d7-948242668ff6\",\r\n \"\
+ \ \"resourceGuid\": \"dc0b0d58-5a46-42d4-8b5b-c251d15dd129\",\r\n \"\
addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\
\r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\
: [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\
: false\r\n }\r\n}"}
headers:
- azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centralus/operations/e79ba977-50bd-4e4d-a989-204c9a20a08b?api-version=2018-02-01']
+ azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centralus/operations/0fdf6f56-b97e-425c-aefc-bddf6a3c4340?api-version=2018-02-01']
cache-control: [no-cache]
content-length: ['683']
content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:56:13 GMT']
+ date: ['Wed, 16 May 2018 00:11:11 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
@@ -74,14 +74,14 @@ interactions:
User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centralus/operations/e79ba977-50bd-4e4d-a989-204c9a20a08b?api-version=2018-02-01
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centralus/operations/0fdf6f56-b97e-425c-aefc-bddf6a3c4340?api-version=2018-02-01
response:
body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"}
headers:
cache-control: [no-cache]
content-length: ['30']
content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:56:18 GMT']
+ date: ['Wed, 16 May 2018 00:11:14 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
@@ -99,14 +99,14 @@ interactions:
User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centralus/operations/e79ba977-50bd-4e4d-a989-204c9a20a08b?api-version=2018-02-01
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centralus/operations/0fdf6f56-b97e-425c-aefc-bddf6a3c4340?api-version=2018-02-01
response:
body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"}
headers:
cache-control: [no-cache]
content-length: ['29']
content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:56:28 GMT']
+ date: ['Wed, 16 May 2018 00:11:25 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
@@ -128,10 +128,10 @@ interactions:
response:
body: {string: "{\r\n \"name\": \"pysdkdmstestvnet74501149\",\r\n \"id\": \"\
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149\"\
- ,\r\n \"etag\": \"W/\\\"c06849f5-b33f-43c6-9e0f-2ef5334fcefb\\\"\",\r\n \
+ ,\r\n \"etag\": \"W/\\\"14c35df8-e39f-43fd-abd8-dc2f51f88e6a\\\"\",\r\n \
\ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centralus\"\
,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\
- \ \"resourceGuid\": \"f52a9f74-d261-495f-85d7-948242668ff6\",\r\n \"\
+ \ \"resourceGuid\": \"dc0b0d58-5a46-42d4-8b5b-c251d15dd129\",\r\n \"\
addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\
\r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\
: [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\
@@ -140,8 +140,8 @@ interactions:
cache-control: [no-cache]
content-length: ['684']
content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:56:28 GMT']
- etag: [W/"c06849f5-b33f-43c6-9e0f-2ef5334fcefb"]
+ date: ['Wed, 16 May 2018 00:11:25 GMT']
+ etag: [W/"14c35df8-e39f-43fd-abd8-dc2f51f88e6a"]
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
@@ -165,15 +165,15 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1?api-version=2018-02-01
response:
body: {string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1\"\
- ,\r\n \"etag\": \"W/\\\"3552ce4e-56de-4757-9cdf-b784f8e52c06\\\"\",\r\n \
+ ,\r\n \"etag\": \"W/\\\"510a90b2-734c-4b60-9c89-8133dc54af4d\\\"\",\r\n \
\ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\
addressPrefix\": \"10.0.0.0/24\"\r\n }\r\n}"}
headers:
- azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centralus/operations/2720a5c5-f737-4f80-9140-6b35b0ae23da?api-version=2018-02-01']
+ azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centralus/operations/746dc1ec-e348-494e-885b-34e7f3893b1f?api-version=2018-02-01']
cache-control: [no-cache]
content-length: ['366']
content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:56:31 GMT']
+ date: ['Wed, 16 May 2018 00:11:26 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
@@ -181,617 +181,6 @@ interactions:
x-content-type-options: [nosniff]
x-ms-ratelimit-remaining-subscription-writes: ['1199']
status: {code: 201, message: Created}
-- request:
- body: 'b''b\''b\\\''b\\\\\\\''{"location": "centralus", "properties": {"virtualSubnetId":
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1"},
- "sku": {"name": "Basic_2vCores"}}\\\\\\\''\\\''\'''''
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- Content-Length: ['270']
- Content-Type: [application/json; charset=utf-8]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- accept-language: [en-US]
- method: PUT
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149?api-version=2018-03-31-preview
- response:
- body: {string: '{"properties":{"provisioningState":"Accepted","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1"},"etag":"53vC4/R7Ph4WE0zUzIkttJCaBKfkEb8lS0zlGxmtfaw=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149","location":"centralus","name":"pysdkdmstestservice74501149","sku":{"name":"Basic_2vCores","size":"2
- vCores","tier":"Basic"},"type":"Microsoft.DataMigration/services"}'}
- headers:
- azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview']
- cache-control: [no-cache]
- content-length: ['626']
- content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:56:32 GMT']
- etag: ['"53vC4/R7Ph4WE0zUzIkttJCaBKfkEb8lS0zlGxmtfaw="']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- x-content-type-options: [nosniff]
- x-ms-ratelimit-remaining-subscription-writes: ['1198']
- status: {code: 201, message: Created}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centralus/operations/2720a5c5-f737-4f80-9140-6b35b0ae23da?api-version=2018-02-01
- response:
- body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"}
- headers:
- cache-control: [no-cache]
- content-length: ['29']
- content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:56:33 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1?api-version=2018-02-01
- response:
- body: {string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1\"\
- ,\r\n \"etag\": \"W/\\\"714b8434-d7d6-49d9-b6c4-015cd43ba8b8\\\"\",\r\n \
- \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\
- addressPrefix\": \"10.0.0.0/24\"\r\n }\r\n}"}
- headers:
- cache-control: [no-cache]
- content-length: ['367']
- content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:56:34 GMT']
- etag: [W/"714b8434-d7d6-49d9-b6c4-015cd43ba8b8"]
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:57:02 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:57:33 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:58:04 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:58:34 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:59:05 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Mon, 14 May 2018 23:59:36 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:00:07 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:00:37 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:01:07 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:01:38 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:02:09 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:02:39 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:03:10 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:03:41 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:04:12 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:04:42 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:05:13 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:05:43 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:06:13 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:06:45 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:07:15 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
- request:
body: null
headers:
@@ -799,19 +188,19 @@ interactions:
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
+ msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centralus/operations/746dc1ec-e348-494e-885b-34e7f3893b1f?api-version=2018-02-01
response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
+ body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"}
headers:
cache-control: [no-cache]
- content-length: ['234']
+ content-length: ['29']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:07:46 GMT']
+ date: ['Wed, 16 May 2018 00:11:30 GMT']
expires: ['-1']
pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
+ server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
@@ -824,49 +213,60 @@ interactions:
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
+ msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1?api-version=2018-02-01
response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
+ body: {string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1\"\
+ ,\r\n \"etag\": \"W/\\\"c069da59-5d5d-434b-92d4-3875e6e1c30d\\\"\",\r\n \
+ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\
+ addressPrefix\": \"10.0.0.0/24\"\r\n }\r\n}"}
headers:
cache-control: [no-cache]
- content-length: ['234']
+ content-length: ['367']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:08:17 GMT']
+ date: ['Wed, 16 May 2018 00:11:30 GMT']
+ etag: [W/"c069da59-5d5d-434b-92d4-3875e6e1c30d"]
expires: ['-1']
pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
+ server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
x-content-type-options: [nosniff]
status: {code: 200, message: OK}
- request:
- body: null
+ body: 'b''b\''b\\\''b\\\\\\\''{"location": "centralus", "properties": {"virtualSubnetId":
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1"},
+ "sku": {"name": "Basic_2vCores"}}\\\\\\\''\\\''\'''''
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
+ Content-Length: ['270']
+ Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
+ accept-language: [en-US]
+ method: PUT
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149?api-version=2018-04-19
response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
+ body: {string: '{"properties":{"provisioningState":"Accepted","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1"},"etag":"53vC4/R7Ph4WE0zUzIkttJCaBKfkEb8lS0zlGxmtfaw=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149","location":"centralus","name":"pysdkdmstestservice74501149","sku":{"name":"Basic_2vCores","size":"2
+ vCores","tier":"Basic"},"type":"Microsoft.DataMigration/services"}'}
headers:
+ azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ad1ddc5c-ea2f-4551-9696-8e80aa1dd0a6?api-version=2018-04-19']
cache-control: [no-cache]
- content-length: ['234']
+ content-length: ['626']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:08:48 GMT']
+ date: ['Wed, 16 May 2018 00:11:34 GMT']
+ etag: ['"53vC4/R7Ph4WE0zUzIkttJCaBKfkEb8lS0zlGxmtfaw="']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
+ x-ms-ratelimit-remaining-subscription-writes: ['1199']
+ status: {code: 201, message: Created}
- request:
body: null
headers:
@@ -876,14 +276,14 @@ interactions:
User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ad1ddc5c-ea2f-4551-9696-8e80aa1dd0a6?api-version=2018-04-19
response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Running"}'}
+ body: {string: '{"name":"ad1ddc5c-ea2f-4551-9696-8e80aa1dd0a6","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ad1ddc5c-ea2f-4551-9696-8e80aa1dd0a6","status":"Running"}'}
headers:
cache-control: [no-cache]
content-length: ['234']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:09:18 GMT']
+ date: ['Wed, 16 May 2018 00:12:04 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -901,14 +301,14 @@ interactions:
User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ad1ddc5c-ea2f-4551-9696-8e80aa1dd0a6?api-version=2018-04-19
response:
- body: {string: '{"name":"6077d525-6934-4e93-8e1f-083d2fd4074a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/6077d525-6934-4e93-8e1f-083d2fd4074a","status":"Succeeded"}'}
+ body: {string: '{"name":"ad1ddc5c-ea2f-4551-9696-8e80aa1dd0a6","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ad1ddc5c-ea2f-4551-9696-8e80aa1dd0a6","status":"Succeeded"}'}
headers:
cache-control: [no-cache]
content-length: ['236']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:09:49 GMT']
+ date: ['Wed, 16 May 2018 00:24:19 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -926,16 +326,16 @@ interactions:
User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149?api-version=2018-04-19
response:
- body: {string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/networkInterfaces/NIC-9vu6zrpdhi6ntyrxuh4mfijf","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1"},"etag":"M3c1EUgr6txbgHOHUN8B5b9WX1n5kQiVi6FtP7JEkcU=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149","location":"centralus","name":"pysdkdmstestservice74501149","sku":{"name":"Basic_2vCores","size":"2
+ body: {string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/networkInterfaces/NIC-q8y37gvd9fkz2jw7yd4j6hd6","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1"},"etag":"RCbjT2PLWxCH5cLHF6xz2gS3VNTdE9rGdd4ITxKf7pQ=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149","location":"centralus","name":"pysdkdmstestservice74501149","sku":{"name":"Basic_2vCores","size":"2
vCores","tier":"Basic"},"type":"Microsoft.DataMigration/services"}'}
headers:
cache-control: [no-cache]
content-length: ['807']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:09:49 GMT']
- etag: ['"M3c1EUgr6txbgHOHUN8B5b9WX1n5kQiVi6FtP7JEkcU="']
+ date: ['Wed, 16 May 2018 00:24:20 GMT']
+ etag: ['"RCbjT2PLWxCH5cLHF6xz2gS3VNTdE9rGdd4ITxKf7pQ="']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -955,16 +355,16 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149?api-version=2018-04-19
response:
- body: {string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/networkInterfaces/NIC-9vu6zrpdhi6ntyrxuh4mfijf","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1"},"etag":"M3c1EUgr6txbgHOHUN8B5b9WX1n5kQiVi6FtP7JEkcU=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149","location":"centralus","name":"pysdkdmstestservice74501149","sku":{"name":"Basic_2vCores","size":"2
+ body: {string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/networkInterfaces/NIC-q8y37gvd9fkz2jw7yd4j6hd6","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.Network/virtualNetworks/pysdkdmstestvnet74501149/subnets/subnet1"},"etag":"RCbjT2PLWxCH5cLHF6xz2gS3VNTdE9rGdd4ITxKf7pQ=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149","location":"centralus","name":"pysdkdmstestservice74501149","sku":{"name":"Basic_2vCores","size":"2
vCores","tier":"Basic"},"type":"Microsoft.DataMigration/services"}'}
headers:
cache-control: [no-cache]
content-length: ['807']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:09:49 GMT']
- etag: ['"M3c1EUgr6txbgHOHUN8B5b9WX1n5kQiVi6FtP7JEkcU="']
+ date: ['Wed, 16 May 2018 00:24:21 GMT']
+ etag: ['"RCbjT2PLWxCH5cLHF6xz2gS3VNTdE9rGdd4ITxKf7pQ="']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -985,7 +385,7 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: POST
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/checkNameAvailability?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/checkNameAvailability?api-version=2018-04-19
response:
body: {string: '{"reason":"AlreadyExists","message":"The resource name is already
in use.","nameAvailable":false}'}
@@ -993,7 +393,7 @@ interactions:
cache-control: [no-cache]
content-length: ['97']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:09:50 GMT']
+ date: ['Wed, 16 May 2018 00:24:22 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -1015,15 +415,15 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: PUT
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149?api-version=2018-04-19
response:
- body: {string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2018-05-15T00:09:53.2461629+00:00","provisioningState":"Succeeded"},"etag":"CVrLvxKLylpDI+hi+1eqQJQsZiGZELT0QLETsfdnfR0=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149","location":"centralus","name":"pysdkdmstestproject74501149","type":"Microsoft.DataMigration/services/projects"}'}
+ body: {string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2018-05-16T00:24:25.3368921+00:00","provisioningState":"Succeeded"},"etag":"GakHPelkIUBBsRzpGIyYIQy84b0jjjaKQqZ/8DSBT9s=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149","location":"centralus","name":"pysdkdmstestproject74501149","type":"Microsoft.DataMigration/services/projects"}'}
headers:
cache-control: [no-cache]
content-length: ['515']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:09:52 GMT']
- etag: ['"CVrLvxKLylpDI+hi+1eqQJQsZiGZELT0QLETsfdnfR0="']
+ date: ['Wed, 16 May 2018 00:24:25 GMT']
+ etag: ['"GakHPelkIUBBsRzpGIyYIQy84b0jjjaKQqZ/8DSBT9s="']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -1042,15 +442,15 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149?api-version=2018-04-19
response:
- body: {string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2018-05-15T00:09:53.2461629+00:00","provisioningState":"Succeeded"},"etag":"CVrLvxKLylpDI+hi+1eqQJQsZiGZELT0QLETsfdnfR0=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149","location":"centralus","name":"pysdkdmstestproject74501149","type":"Microsoft.DataMigration/services/projects"}'}
+ body: {string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2018-05-16T00:24:25.3368921+00:00","provisioningState":"Succeeded"},"etag":"GakHPelkIUBBsRzpGIyYIQy84b0jjjaKQqZ/8DSBT9s=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149","location":"centralus","name":"pysdkdmstestproject74501149","type":"Microsoft.DataMigration/services/projects"}'}
headers:
cache-control: [no-cache]
content-length: ['515']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:09:53 GMT']
- etag: ['"CVrLvxKLylpDI+hi+1eqQJQsZiGZELT0QLETsfdnfR0="']
+ date: ['Wed, 16 May 2018 00:24:25 GMT']
+ etag: ['"GakHPelkIUBBsRzpGIyYIQy84b0jjjaKQqZ/8DSBT9s="']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -1081,21 +481,21 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: PUT
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149/tasks/pysdkdmstesttask74501149?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149/tasks/pysdkdmstesttask74501149?api-version=2018-04-19
response:
body: {string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","type":"SqlConnectionInfo","dataSource":"testsource.microsoft.com","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","type":"SqlConnectionInfo","dataSource":"testtarget.microsoft.com","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"Test_Source","targetDatabaseName":"Test_Target","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableForeign":"dbo.TestTableForeign","dbo.TestTablePrimary":"dbo.TestTablePrimary"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false}},"taskType":"Migrate.SqlServer.SqlDb","state":"Queued"},"etag":"AoEOtS7/NnLNspK4PfQdGCwCimVAjs4NSknIxN9KOzU=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149/tasks/pysdkdmstesttask74501149","name":"pysdkdmstesttask74501149","type":"Microsoft.DataMigration/services/projects/tasks"}'}
headers:
cache-control: [no-cache]
content-length: ['1214']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:09:56 GMT']
+ date: ['Wed, 16 May 2018 00:24:28 GMT']
etag: ['"AoEOtS7/NnLNspK4PfQdGCwCimVAjs4NSknIxN9KOzU="']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
strict-transport-security: [max-age=31536000; includeSubDomains]
x-content-type-options: [nosniff]
- x-ms-ratelimit-remaining-subscription-writes: ['1198']
+ x-ms-ratelimit-remaining-subscription-writes: ['1199']
status: {code: 201, message: Created}
- request:
body: null
@@ -1108,14 +508,14 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149/tasks/pysdkdmstesttask74501149?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149/tasks/pysdkdmstesttask74501149?api-version=2018-04-19
response:
body: {string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","type":"SqlConnectionInfo","dataSource":"testsource.microsoft.com","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","type":"SqlConnectionInfo","dataSource":"testtarget.microsoft.com","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"Test_Source","targetDatabaseName":"Test_Target","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableForeign":"dbo.TestTableForeign","dbo.TestTablePrimary":"dbo.TestTablePrimary"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false}},"taskType":"Migrate.SqlServer.SqlDb","state":"Running"},"etag":"qbEoubDiFIl9GMwviCGsJlfQPlrf5QVpwlexppjozLQ=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149/tasks/pysdkdmstesttask74501149","name":"pysdkdmstesttask74501149","type":"Microsoft.DataMigration/services/projects/tasks"}'}
headers:
cache-control: [no-cache]
content-length: ['1215']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:09:58 GMT']
+ date: ['Wed, 16 May 2018 00:24:30 GMT']
etag: ['"qbEoubDiFIl9GMwviCGsJlfQPlrf5QVpwlexppjozLQ="']
expires: ['-1']
pragma: [no-cache]
@@ -1137,13 +537,13 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: DELETE
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149/tasks/pysdkdmstesttask74501149?deleteRunningTasks=true&api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149/tasks/pysdkdmstesttask74501149?deleteRunningTasks=true&api-version=2018-04-19
response:
body: {string: ''}
headers:
cache-control: [no-cache]
content-length: ['0']
- date: ['Tue, 15 May 2018 00:09:59 GMT']
+ date: ['Wed, 16 May 2018 00:24:30 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -1163,13 +563,13 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: DELETE
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149/projects/pysdkdmstestproject74501149?api-version=2018-04-19
response:
body: {string: ''}
headers:
cache-control: [no-cache]
content-length: ['0']
- date: ['Tue, 15 May 2018 00:10:01 GMT']
+ date: ['Wed, 16 May 2018 00:24:33 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -1189,16 +589,16 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: DELETE
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_sdk_test74501149/providers/Microsoft.DataMigration/services/pysdkdmstestservice74501149?api-version=2018-04-19
response:
body: {string: ''}
headers:
- azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c?api-version=2018-03-31-preview']
+ azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9d5fba26-090f-4123-969e-d6464c9462e4?api-version=2018-04-19']
cache-control: [no-cache]
content-length: ['0']
- date: ['Tue, 15 May 2018 00:10:02 GMT']
+ date: ['Wed, 16 May 2018 00:24:34 GMT']
expires: ['-1']
- location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/039e7a22-b4aa-4f1d-8576-579620a9460c?api-version=2018-03-31-preview']
+ location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/9d5fba26-090f-4123-969e-d6464c9462e4?api-version=2018-04-19']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
strict-transport-security: [max-age=31536000; includeSubDomains]
@@ -1214,164 +614,14 @@ interactions:
User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"039e7a22-b4aa-4f1d-8576-579620a9460c","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:10:33 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"039e7a22-b4aa-4f1d-8576-579620a9460c","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:11:03 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"039e7a22-b4aa-4f1d-8576-579620a9460c","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:11:34 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"039e7a22-b4aa-4f1d-8576-579620a9460c","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:12:05 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"039e7a22-b4aa-4f1d-8576-579620a9460c","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:12:35 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c?api-version=2018-03-31-preview
- response:
- body: {string: '{"name":"039e7a22-b4aa-4f1d-8576-579620a9460c","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c","status":"Running"}'}
- headers:
- cache-control: [no-cache]
- content-length: ['234']
- content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:13:06 GMT']
- expires: ['-1']
- pragma: [no-cache]
- server: [Microsoft-IIS/8.5]
- strict-transport-security: [max-age=31536000; includeSubDomains]
- transfer-encoding: [chunked]
- vary: [Accept-Encoding]
- x-content-type-options: [nosniff]
- status: {code: 200, message: OK}
-- request:
- body: null
- headers:
- Accept: [application/json]
- Accept-Encoding: ['gzip, deflate']
- Connection: [keep-alive]
- User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
- msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9d5fba26-090f-4123-969e-d6464c9462e4?api-version=2018-04-19
response:
- body: {string: '{"name":"039e7a22-b4aa-4f1d-8576-579620a9460c","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c","status":"Running"}'}
+ body: {string: '{"name":"9d5fba26-090f-4123-969e-d6464c9462e4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9d5fba26-090f-4123-969e-d6464c9462e4","status":"Running"}'}
headers:
cache-control: [no-cache]
content-length: ['234']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:13:36 GMT']
+ date: ['Wed, 16 May 2018 00:25:03 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -1389,14 +639,14 @@ interactions:
User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9d5fba26-090f-4123-969e-d6464c9462e4?api-version=2018-04-19
response:
- body: {string: '{"name":"039e7a22-b4aa-4f1d-8576-579620a9460c","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/039e7a22-b4aa-4f1d-8576-579620a9460c","status":"Succeeded"}'}
+ body: {string: '{"name":"9d5fba26-090f-4123-969e-d6464c9462e4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9d5fba26-090f-4123-969e-d6464c9462e4","status":"Succeeded"}'}
headers:
cache-control: [no-cache]
content-length: ['236']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:14:07 GMT']
+ date: ['Wed, 16 May 2018 00:28:38 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]
@@ -1417,14 +667,14 @@ interactions:
msrest_azure/0.4.29 azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: POST
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/checkNameAvailability?api-version=2018-03-31-preview
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/checkNameAvailability?api-version=2018-04-19
response:
body: {string: '{"nameAvailable":true}'}
headers:
cache-control: [no-cache]
content-length: ['22']
content-type: [application/json; charset=utf-8]
- date: ['Tue, 15 May 2018 00:14:08 GMT']
+ date: ['Wed, 16 May 2018 00:28:39 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-IIS/8.5]