Source code for azure.mgmt.datamigration.models.connect_to_target_sql_db_task_output_py3

# 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


[docs]class ConnectToTargetSqlDbTaskOutput(Model): """Output for the task that validates connection to SQL DB and target server requirements. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Result identifier :vartype id: str :ivar databases: Source databases as a map from database name to database id :vartype databases: dict[str, str] :ivar target_server_version: Version of the target server :vartype target_server_version: str :ivar target_server_brand_version: Target server brand version :vartype target_server_brand_version: str """ _validation = { 'id': {'readonly': True}, 'databases': {'readonly': True}, 'target_server_version': {'readonly': True}, 'target_server_brand_version': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'databases': {'key': 'databases', 'type': '{str}'}, 'target_server_version': {'key': 'targetServerVersion', 'type': 'str'}, 'target_server_brand_version': {'key': 'targetServerBrandVersion', 'type': 'str'}, } def __init__(self, **kwargs) -> None: super(ConnectToTargetSqlDbTaskOutput, self).__init__(**kwargs) self.id = None self.databases = None self.target_server_version = None self.target_server_brand_version = None