Source code for azure.mgmt.datamigration.models.connect_to_target_sql_mi_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 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