Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# 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 .connection_info_py3 import ConnectionInfo
class SqlConnectionInfo(ConnectionInfo):
"""Information for connecting to SQL database server.
All required parameters must be populated in order to send to Azure.
:param user_name: User name
:type user_name: str
:param password: Password credential.
:type password: str
:param type: Required. Constant filled by server.
:type type: str
:param data_source: Required. Data source in the format
Protocol:MachineName\\SQLServerInstanceName,PortNumber
:type data_source: str
:param authentication: Authentication type to use for connection. Possible
values include: 'None', 'WindowsAuthentication', 'SqlAuthentication',
'ActiveDirectoryIntegrated', 'ActiveDirectoryPassword'