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 8f91d1c9f822..950af65a2bb7 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 @@ -91,6 +91,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-07-15-preview' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_mongo_db_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_mongo_db_task_properties.py index f0e771bcbc4f..3124c13dd1af 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_mongo_db_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_mongo_db_task_properties.py @@ -30,6 +30,9 @@ class ConnectToMongoDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: @@ -50,6 +53,7 @@ class ConnectToMongoDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbConnectionInfo'}, 'output': {'key': 'output', 'type': '[MongoDbClusterInfo]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_mongo_db_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_mongo_db_task_properties_py3.py index 50c4bfae5e9b..55c960686f82 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_mongo_db_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_mongo_db_task_properties_py3.py @@ -30,6 +30,9 @@ class ConnectToMongoDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: @@ -50,13 +53,14 @@ class ConnectToMongoDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbConnectionInfo'}, 'output': {'key': 'output', 'type': '[MongoDbClusterInfo]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(ConnectToMongoDbTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ConnectToMongoDbTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'Connect.MongoDb' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_my_sql_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_my_sql_task_properties.py index 48abf926bbfe..7ee4d2ec08aa 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_my_sql_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_my_sql_task_properties.py @@ -29,6 +29,9 @@ class ConnectToSourceMySqlTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -51,6 +54,7 @@ class ConnectToSourceMySqlTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceMySqlTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceNonSqlTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_my_sql_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_my_sql_task_properties_py3.py index 8ede548132eb..bb5f2b8bbbdd 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_my_sql_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_my_sql_task_properties_py3.py @@ -29,6 +29,9 @@ class ConnectToSourceMySqlTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -51,13 +54,14 @@ class ConnectToSourceMySqlTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceMySqlTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceNonSqlTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(ConnectToSourceMySqlTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ConnectToSourceMySqlTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'ConnectToSource.MySql' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_sync_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_sync_task_properties.py index 5952b7f6b083..9c1e82e04835 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_sync_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_sync_task_properties.py @@ -30,6 +30,9 @@ class ConnectToSourceSqlServerSyncTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class ConnectToSourceSqlServerSyncTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceSqlServerTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_sync_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_sync_task_properties_py3.py index f053267bf88a..3ca0d067a026 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_sync_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_source_sql_server_sync_task_properties_py3.py @@ -30,6 +30,9 @@ class ConnectToSourceSqlServerSyncTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class ConnectToSourceSqlServerSyncTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceSqlServerTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(ConnectToSourceSqlServerSyncTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ConnectToSourceSqlServerSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'ConnectToSource.SqlServer.Sync' 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 3e7a2f75f429..277312e4fc09 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 @@ -30,6 +30,9 @@ class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceSqlServerTaskOutput]'}, 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 2919e63b85be..abbd00feb229 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 @@ -30,6 +30,9 @@ class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceSqlServerTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(ConnectToSourceSqlServerTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ConnectToSourceSqlServerTaskProperties, self).__init__(client_data=client_data, **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_azure_db_for_my_sql_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_azure_db_for_my_sql_task_properties.py index b686097526d9..6fd2ef3d5cd7 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_azure_db_for_my_sql_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_azure_db_for_my_sql_task_properties.py @@ -30,6 +30,9 @@ class ConnectToTargetAzureDbForMySqlTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class ConnectToTargetAzureDbForMySqlTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetAzureDbForMySqlTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetAzureDbForMySqlTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_azure_db_for_my_sql_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_azure_db_for_my_sql_task_properties_py3.py index 28869d4a6915..b5a4cc60b297 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_azure_db_for_my_sql_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_azure_db_for_my_sql_task_properties_py3.py @@ -30,6 +30,9 @@ class ConnectToTargetAzureDbForMySqlTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class ConnectToTargetAzureDbForMySqlTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetAzureDbForMySqlTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetAzureDbForMySqlTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(ConnectToTargetAzureDbForMySqlTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ConnectToTargetAzureDbForMySqlTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'ConnectToTarget.AzureDbForMySql' 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 60310b599545..259644ad0a5f 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 @@ -30,6 +30,9 @@ class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'}, 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 05a178dc988b..dcfca46ef805 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 @@ -30,6 +30,9 @@ class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(ConnectToTargetSqlDbTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ConnectToTargetSqlDbTaskProperties, self).__init__(client_data=client_data, **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_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_mi_task_properties.py index 33fd07ec8710..9f276c183979 100644 --- 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 @@ -30,6 +30,9 @@ class ConnectToTargetSqlMITaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class ConnectToTargetSqlMITaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlMITaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlMITaskOutput]'}, 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 index a072295a0a97..ec178b712772 100644 --- 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 @@ -30,6 +30,9 @@ class ConnectToTargetSqlMITaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class ConnectToTargetSqlMITaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', '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) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ConnectToTargetSqlMITaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'ConnectToTarget.AzureSqlDbMI' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_sql_db_sync_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_sql_db_sync_task_properties.py index 5d42bea3c97f..a5a4fe213383 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_sql_db_sync_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_sql_db_sync_task_properties.py @@ -30,6 +30,9 @@ class ConnectToTargetSqlSqlDbSyncTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class ConnectToTargetSqlSqlDbSyncTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlSqlDbSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_sql_db_sync_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_sql_db_sync_task_properties_py3.py index ac64d25a051d..6281a5bd3aaa 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_sql_db_sync_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/connect_to_target_sql_sql_db_sync_task_properties_py3.py @@ -30,6 +30,9 @@ class ConnectToTargetSqlSqlDbSyncTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class ConnectToTargetSqlSqlDbSyncTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlSqlDbSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(ConnectToTargetSqlSqlDbSyncTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ConnectToTargetSqlSqlDbSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'ConnectToTarget.SqlDb.Sync' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_tde_certificates_sql_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_tde_certificates_sql_task_properties.py index 95c9a800fddf..e4081b581178 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_tde_certificates_sql_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_tde_certificates_sql_task_properties.py @@ -30,6 +30,9 @@ class GetTdeCertificatesSqlTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class GetTdeCertificatesSqlTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetTdeCertificatesSqlTaskInput'}, 'output': {'key': 'output', 'type': '[GetTdeCertificatesSqlTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_tde_certificates_sql_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_tde_certificates_sql_task_properties_py3.py index 8ed508a77333..e9ba1f1c2708 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_tde_certificates_sql_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_tde_certificates_sql_task_properties_py3.py @@ -30,6 +30,9 @@ class GetTdeCertificatesSqlTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class GetTdeCertificatesSqlTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetTdeCertificatesSqlTaskInput'}, 'output': {'key': 'output', 'type': '[GetTdeCertificatesSqlTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(GetTdeCertificatesSqlTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(GetTdeCertificatesSqlTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'GetTDECertificates.Sql' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_sync_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_sync_task_properties.py index cc02106c367c..bbee639ad9eb 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_sync_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_sync_task_properties.py @@ -30,6 +30,9 @@ class GetUserTablesSqlSyncTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class GetUserTablesSqlSyncTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesSqlSyncTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_sync_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_sync_task_properties_py3.py index cfb16ce27a08..a2811ba0cfb4 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_sync_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/get_user_tables_sql_sync_task_properties_py3.py @@ -30,6 +30,9 @@ class GetUserTablesSqlSyncTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class GetUserTablesSqlSyncTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesSqlSyncTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(GetUserTablesSqlSyncTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(GetUserTablesSqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'GetUserTables.AzureSqlDb.Sync' 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 4b40b52906ec..7c04b9f4f2c1 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 @@ -30,6 +30,9 @@ class GetUserTablesSqlTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -51,6 +54,7 @@ class GetUserTablesSqlTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesSqlTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesSqlTaskOutput]'}, 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 0f6fd4ca766d..764ccc89dad5 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 @@ -30,6 +30,9 @@ class GetUserTablesSqlTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -51,13 +54,14 @@ class GetUserTablesSqlTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesSqlTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesSqlTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(GetUserTablesSqlTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(GetUserTablesSqlTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'GetUserTables.Sql' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_mongo_db_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_mongo_db_task_properties.py index 7ae0ef518757..eb486454e65e 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_mongo_db_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_mongo_db_task_properties.py @@ -29,6 +29,9 @@ class MigrateMongoDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: @@ -49,6 +52,7 @@ class MigrateMongoDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbMigrationSettings'}, 'output': {'key': 'output', 'type': '[MongoDbProgress]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_mongo_db_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_mongo_db_task_properties_py3.py index 061cb4b66ff6..4616aa125b40 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_mongo_db_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_mongo_db_task_properties_py3.py @@ -29,6 +29,9 @@ class MigrateMongoDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: @@ -49,13 +52,14 @@ class MigrateMongoDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbMigrationSettings'}, 'output': {'key': 'output', 'type': '[MongoDbProgress]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(MigrateMongoDbTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(MigrateMongoDbTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'Migrate.MongoDb' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.py index a5c24c42dcdd..8bb1ed0ebc05 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.py @@ -30,6 +30,9 @@ class MigrateMySqlAzureDbForMySqlSyncTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class MigrateMySqlAzureDbForMySqlSyncTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateMySqlAzureDbForMySqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateMySqlAzureDbForMySqlSyncTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties_py3.py index 0c2175b78690..5f823d3eff0a 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties_py3.py @@ -30,6 +30,9 @@ class MigrateMySqlAzureDbForMySqlSyncTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class MigrateMySqlAzureDbForMySqlSyncTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateMySqlAzureDbForMySqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateMySqlAzureDbForMySqlSyncTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(MigrateMySqlAzureDbForMySqlSyncTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(MigrateMySqlAzureDbForMySqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'Migrate.MySql.AzureDbForMySql.Sync' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.py index bd681f289119..f55b14e026fa 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.py @@ -30,6 +30,9 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskPropert :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskPropert 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties_py3.py index fdd9e444a36c..21dadc2039e8 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties_py3.py @@ -30,6 +30,9 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskPropert :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskPropert 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'Migrate.PostgreSql.AzureDbForPostgreSql.Sync' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_schema_sql_server_sql_db_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_schema_sql_server_sql_db_task_properties.py index 1c98cfad9fd6..7dddbafe3d77 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_schema_sql_server_sql_db_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_schema_sql_server_sql_db_task_properties.py @@ -30,6 +30,9 @@ class MigrateSchemaSqlServerSqlDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class MigrateSchemaSqlServerSqlDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSchemaSqlServerSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSchemaSqlServerSqlDbTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_schema_sql_server_sql_db_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_schema_sql_server_sql_db_task_properties_py3.py index f1cd1fd1dd71..ed452a92a8c0 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_schema_sql_server_sql_db_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_schema_sql_server_sql_db_task_properties_py3.py @@ -30,6 +30,9 @@ class MigrateSchemaSqlServerSqlDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class MigrateSchemaSqlServerSqlDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSchemaSqlServerSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSchemaSqlServerSqlDbTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(MigrateSchemaSqlServerSqlDbTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(MigrateSchemaSqlServerSqlDbTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'MigrateSchemaSqlServerSqlDb' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_sync_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_sync_task_properties.py index 41a06fa408e4..3f315d51a847 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_sync_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_sync_task_properties.py @@ -30,6 +30,9 @@ class MigrateSqlServerSqlDbSyncTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class MigrateSqlServerSqlDbSyncTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlDbSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlDbSyncTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_sync_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_sync_task_properties_py3.py index 94b893a58398..9886dba3474e 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_sync_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_db_sync_task_properties_py3.py @@ -30,6 +30,9 @@ class MigrateSqlServerSqlDbSyncTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class MigrateSqlServerSqlDbSyncTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlDbSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlDbSyncTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(MigrateSqlServerSqlDbSyncTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(MigrateSqlServerSqlDbSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'Migrate.SqlServer.AzureSqlDb.Sync' 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 1ae011ba6c16..791a34f6aaeb 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 @@ -30,6 +30,9 @@ class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlDbTaskOutput]'}, 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 73aea95b3600..8228f7ae9864 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 @@ -30,6 +30,9 @@ class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlDbTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(MigrateSqlServerSqlDbTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(MigrateSqlServerSqlDbTaskProperties, self).__init__(client_data=client_data, **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_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/migrate_sql_server_sql_mi_task_properties.py index fe9ad5121056..06bcb8481edf 100644 --- 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 @@ -30,6 +30,9 @@ class MigrateSqlServerSqlMITaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class MigrateSqlServerSqlMITaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlMITaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlMITaskOutput]'}, 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 index 11f5ab7be843..c421df1cd0a1 100644 --- 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 @@ -30,6 +30,9 @@ class MigrateSqlServerSqlMITaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class MigrateSqlServerSqlMITaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', '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) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(MigrateSqlServerSqlMITaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'Migrate.SqlServer.AzureSqlDbMI' 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 4cd809b81b17..501e64eaa60b 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 @@ -48,6 +48,9 @@ class ProjectTaskProperties(Model): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str """ @@ -63,6 +66,7 @@ class ProjectTaskProperties(Model): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, } @@ -75,4 +79,5 @@ def __init__(self, **kwargs): self.errors = None self.state = None self.commands = None + self.client_data = kwargs.get('client_data', 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 7bee86ae6e56..bef709033ae0 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 @@ -48,6 +48,9 @@ class ProjectTaskProperties(Model): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str """ @@ -63,6 +66,7 @@ class ProjectTaskProperties(Model): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, } @@ -70,9 +74,10 @@ class ProjectTaskProperties(Model): 'task_type': {'GetTDECertificates.Sql': 'GetTdeCertificatesSqlTaskProperties', 'Validate.MongoDb': 'ValidateMongoDbTaskProperties', 'ValidateMigrationInput.SqlServer.AzureSqlDbMI': 'ValidateMigrationInputSqlServerSqlMITaskProperties', 'ValidateMigrationInput.SqlServer.SqlDb.Sync': 'ValidateMigrationInputSqlServerSqlDbSyncTaskProperties', 'Migrate.PostgreSql.AzureDbForPostgreSql.Sync': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties', 'Migrate.MySql.AzureDbForMySql.Sync': 'MigrateMySqlAzureDbForMySqlSyncTaskProperties', 'Migrate.SqlServer.AzureSqlDb.Sync': 'MigrateSqlServerSqlDbSyncTaskProperties', 'Migrate.SqlServer.SqlDb': 'MigrateSqlServerSqlDbTaskProperties', 'Migrate.SqlServer.AzureSqlDbMI': 'MigrateSqlServerSqlMITaskProperties', 'Migrate.MongoDb': 'MigrateMongoDbTaskProperties', 'ConnectToTarget.AzureDbForMySql': 'ConnectToTargetAzureDbForMySqlTaskProperties', 'ConnectToTarget.AzureSqlDbMI': 'ConnectToTargetSqlMITaskProperties', 'GetUserTables.AzureSqlDb.Sync': 'GetUserTablesSqlSyncTaskProperties', 'GetUserTables.Sql': 'GetUserTablesSqlTaskProperties', 'ConnectToTarget.SqlDb.Sync': 'ConnectToTargetSqlSqlDbSyncTaskProperties', 'ConnectToTarget.SqlDb': 'ConnectToTargetSqlDbTaskProperties', 'ConnectToSource.SqlServer.Sync': 'ConnectToSourceSqlServerSyncTaskProperties', 'ConnectToSource.SqlServer': 'ConnectToSourceSqlServerTaskProperties', 'Connect.MongoDb': 'ConnectToMongoDbTaskProperties', 'ConnectToSource.MySql': 'ConnectToSourceMySqlTaskProperties', 'MigrateSchemaSqlServerSqlDb': 'MigrateSchemaSqlServerSqlDbTaskProperties'} } - def __init__(self, **kwargs) -> None: + def __init__(self, *, client_data=None, **kwargs) -> None: super(ProjectTaskProperties, self).__init__(**kwargs) self.errors = None self.state = None self.commands = None + self.client_data = client_data self.task_type = None diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.py index 7ffaa63a4439..b1b339e3f90e 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.py @@ -30,6 +30,9 @@ class ValidateMigrationInputSqlServerSqlDbSyncTaskProperties(ProjectTaskProperti :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class ValidateMigrationInputSqlServerSqlDbSyncTaskProperties(ProjectTaskProperti 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ValidateSyncMigrationInputSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ValidateSyncMigrationInputSqlServerTaskOutput]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_db_sync_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_db_sync_task_properties_py3.py index e11f201feed2..8a529ef20a48 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_db_sync_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_migration_input_sql_server_sql_db_sync_task_properties_py3.py @@ -30,6 +30,9 @@ class ValidateMigrationInputSqlServerSqlDbSyncTaskProperties(ProjectTaskProperti :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class ValidateMigrationInputSqlServerSqlDbSyncTaskProperties(ProjectTaskProperti 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ValidateSyncMigrationInputSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ValidateSyncMigrationInputSqlServerTaskOutput]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(ValidateMigrationInputSqlServerSqlDbSyncTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ValidateMigrationInputSqlServerSqlDbSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'ValidateMigrationInput.SqlServer.SqlDb.Sync' 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 index 30670fb2b62b..311b5292fbb9 100644 --- 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 @@ -30,6 +30,9 @@ class ValidateMigrationInputSqlServerSqlMITaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,6 +55,7 @@ class ValidateMigrationInputSqlServerSqlMITaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ValidateMigrationInputSqlServerSqlMITaskInput'}, 'output': {'key': 'output', 'type': '[ValidateMigrationInputSqlServerSqlMITaskOutput]'}, 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 index 7150ee39c187..9bb3ecba0497 100644 --- 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 @@ -30,6 +30,9 @@ class ValidateMigrationInputSqlServerSqlMITaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: Task input @@ -52,13 +55,14 @@ class ValidateMigrationInputSqlServerSqlMITaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', '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) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ValidateMigrationInputSqlServerSqlMITaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_mongo_db_task_properties.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_mongo_db_task_properties.py index 10a93f4e5ae5..2c40ddb31dc1 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_mongo_db_task_properties.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_mongo_db_task_properties.py @@ -30,6 +30,9 @@ class ValidateMongoDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: @@ -51,6 +54,7 @@ class ValidateMongoDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbMigrationSettings'}, 'output': {'key': 'output', 'type': '[MongoDbMigrationProgress]'}, diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_mongo_db_task_properties_py3.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_mongo_db_task_properties_py3.py index 740ed03d1d14..f4da15474210 100644 --- a/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_mongo_db_task_properties_py3.py +++ b/azure-mgmt-datamigration/azure/mgmt/datamigration/models/validate_mongo_db_task_properties_py3.py @@ -30,6 +30,9 @@ class ValidateMongoDbTaskProperties(ProjectTaskProperties): :ivar commands: Array of command properties. :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data + information to task + :type client_data: dict[str, str] :param task_type: Required. Constant filled by server. :type task_type: str :param input: @@ -51,13 +54,14 @@ class ValidateMongoDbTaskProperties(ProjectTaskProperties): 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbMigrationSettings'}, 'output': {'key': 'output', 'type': '[MongoDbMigrationProgress]'}, } - def __init__(self, *, input=None, **kwargs) -> None: - super(ValidateMongoDbTaskProperties, self).__init__(**kwargs) + def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + super(ValidateMongoDbTaskProperties, self).__init__(client_data=client_data, **kwargs) self.input = input self.output = None self.task_type = 'Validate.MongoDb' diff --git a/azure-mgmt-datamigration/azure/mgmt/datamigration/version.py b/azure-mgmt-datamigration/azure/mgmt/datamigration/version.py index be75d8eae586..e0ec669828cb 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 = "2.1.0" +VERSION = "0.1.0"