你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MySqlLinkedService interface

MySQL 数据源的链接服务。

扩展

属性

allowZeroDateTime

这允许从数据库检索特殊的“零”日期值 0000-00-00。 类型:布尔值。

connectionString

连接字符串。 类型:string、SecureString 或 AzureKeyVaultSecretReference。

connectionTimeout

在终止尝试并生成错误之前,等待与服务器的连接的时间长度(以秒为单位)。 类型:整数。

convertZeroDateTime

如果返回日期或日期/时间列的 DateTime.MinValue,则返回不允许的值。 类型:布尔值。

database

连接的数据库名称。 类型:字符串。

driverVersion

MySQL 驱动程序的版本。 类型:字符串。 对于旧驱动程序,V1 或为空,V2 用于新驱动程序。 V1 可以支持连接字符串和属性包,V2 只能支持连接字符串。

encryptedCredential

用于身份验证的加密凭据。 凭据使用集成运行时凭据管理器进行加密。 类型:字符串。

guidFormat

确定应将哪个列类型(如果有)读取为 GUID。 类型:字符串。 无:不会将列类型作为 Guid 自动读取;Char36:所有 CHAR(36)列都以小写十六进制和连字符(与 UUID 匹配)作为 Guid 读取/写入。

password

连接字符串中密码的 Azure Key Vault 机密引用。

port

连接的端口。 类型:整数。

server

连接的服务器名称。 类型:字符串。

sslCert

客户端 SSL 证书文件的路径(采用 PEM 格式)。 还必须指定 SslKey。 类型:字符串。

sslKey

客户端 SSL 私钥的路径(采用 PEM 格式)。 还必须指定 SslCert。 类型:字符串。

sslMode

用于连接的 SSL 模式。 类型:整数。 0:禁用,1:首选,2:需要,3:verify-ca,4:验证完整。

treatTinyAsBoolean

设置为 true 时,TINYINT(1) 值将作为布尔值返回。 类型:bool。

type

多态鉴别器,它指定此对象可以的不同类型的

username

身份验证的用户名。 类型:字符串。

useSystemTrustStore

使用系统信任存储进行连接。 类型:整数。 0:启用,1:禁用。

继承属性

annotations

可用于描述链接服务的标记列表。

connectVia

集成运行时参考。

description

链接服务说明。

parameters

链接服务的参数。

version

链接服务的版本。

属性详细信息

allowZeroDateTime

这允许从数据库检索特殊的“零”日期值 0000-00-00。 类型:布尔值。

allowZeroDateTime?: any

属性值

any

connectionString

连接字符串。 类型:string、SecureString 或 AzureKeyVaultSecretReference。

connectionString?: any

属性值

any

connectionTimeout

在终止尝试并生成错误之前,等待与服务器的连接的时间长度(以秒为单位)。 类型:整数。

connectionTimeout?: any

属性值

any

convertZeroDateTime

如果返回日期或日期/时间列的 DateTime.MinValue,则返回不允许的值。 类型:布尔值。

convertZeroDateTime?: any

属性值

any

database

连接的数据库名称。 类型:字符串。

database?: any

属性值

any

driverVersion

MySQL 驱动程序的版本。 类型:字符串。 对于旧驱动程序,V1 或为空,V2 用于新驱动程序。 V1 可以支持连接字符串和属性包,V2 只能支持连接字符串。

driverVersion?: any

属性值

any

encryptedCredential

用于身份验证的加密凭据。 凭据使用集成运行时凭据管理器进行加密。 类型:字符串。

encryptedCredential?: string

属性值

string

guidFormat

确定应将哪个列类型(如果有)读取为 GUID。 类型:字符串。 无:不会将列类型作为 Guid 自动读取;Char36:所有 CHAR(36)列都以小写十六进制和连字符(与 UUID 匹配)作为 Guid 读取/写入。

guidFormat?: any

属性值

any

password

连接字符串中密码的 Azure Key Vault 机密引用。

password?: AzureKeyVaultSecretReference

属性值

port

连接的端口。 类型:整数。

port?: any

属性值

any

server

连接的服务器名称。 类型:字符串。

server?: any

属性值

any

sslCert

客户端 SSL 证书文件的路径(采用 PEM 格式)。 还必须指定 SslKey。 类型:字符串。

sslCert?: any

属性值

any

sslKey

客户端 SSL 私钥的路径(采用 PEM 格式)。 还必须指定 SslCert。 类型:字符串。

sslKey?: any

属性值

any

sslMode

用于连接的 SSL 模式。 类型:整数。 0:禁用,1:首选,2:需要,3:verify-ca,4:验证完整。

sslMode?: any

属性值

any

treatTinyAsBoolean

设置为 true 时,TINYINT(1) 值将作为布尔值返回。 类型:bool。

treatTinyAsBoolean?: any

属性值

any

type

多态鉴别器,它指定此对象可以的不同类型的

type: "MySql"

属性值

"MySql"

username

身份验证的用户名。 类型:字符串。

username?: any

属性值

any

useSystemTrustStore

使用系统信任存储进行连接。 类型:整数。 0:启用,1:禁用。

useSystemTrustStore?: any

属性值

any

继承属性详细信息

annotations

可用于描述链接服务的标记列表。

annotations?: any[]

属性值

any[]

继承自LinkedService.annotations

connectVia

集成运行时参考。

connectVia?: IntegrationRuntimeReference

属性值

继承自LinkedService.connectVia

description

链接服务说明。

description?: string

属性值

string

继承自LinkedService.description

parameters

链接服务的参数。

parameters?: {[propertyName: string]: ParameterSpecification}

属性值

{[propertyName: string]: ParameterSpecification}

继承自LinkedService.parameters

version

链接服务的版本。

version?: string

属性值

string

继承自LinkedService.version