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

PrestoLinkedService 类

定义

Presto 服务器链接服务。

public class PrestoLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties
type PrestoLinkedService = class
    inherit DataFactoryLinkedServiceProperties
Public Class PrestoLinkedService
Inherits DataFactoryLinkedServiceProperties
继承

构造函数

PrestoLinkedService(DataFactoryElement<String>, DataFactoryElement<String>, DataFactoryElement<String>, PrestoAuthenticationType)

初始化 PrestoLinkedService 的新实例。

属性

AdditionalProperties

附加属性

若要将 对象分配给此属性的值,请使用 FromObjectAsJson<T>(T, JsonSerializerOptions)

若要将已格式化的 json 字符串分配给此属性,请使用 FromString(String)

示例:

  • BinaryData.FromObjectAsJson (“foo”) 创建“foo”的有效负载。
  • BinaryData.FromString (“\”foo\“”) 创建“foo”的有效负载。
  • BinaryData.FromObjectAsJson (new { key = “value” }) 创建 { “key”: “value” } 的有效负载。
  • BinaryData.FromString (“{\”key\“: \”value\“}”) 创建有效负载 { “key”: “value” }。

(继承自 DataFactoryLinkedServiceProperties)
AllowHostNameCNMismatch

指定通过 SSL 进行连接时是否要求 CA 颁发的 SSL 证书的名称与服务器的主机名相匹配。 默认值为 false。

AllowSelfSignedServerCert

指定是否允许来自服务器的自签名证书。 默认值为 false。

Annotations

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

若要将 对象分配给此属性的 元素,请使用 FromObjectAsJson<T>(T, JsonSerializerOptions)

若要将已格式化的 json 字符串分配给此属性,请使用 FromString(String)

示例:

  • BinaryData.FromObjectAsJson (“foo”) 创建“foo”的有效负载。
  • BinaryData.FromString (“\”foo\“”) 创建“foo”的有效负载。
  • BinaryData.FromObjectAsJson (new { key = “value” }) 创建 { “key”: “value” } 的有效负载。
  • BinaryData.FromString (“{\”key\“: \”value\“}”) 创建有效负载 { “key”: “value” }。

(继承自 DataFactoryLinkedServiceProperties)
AuthenticationType

用于连接到 Presto 服务器的身份验证机制。

Catalog

针对服务器的所有请求的目录上下文。

ConnectVia

集成运行时引用。

(继承自 DataFactoryLinkedServiceProperties)
Description

链接服务说明。

(继承自 DataFactoryLinkedServiceProperties)
EnableSsl

指定是否使用 SSL 加密到服务器的连接。 默认值为 false。

EncryptedCredential

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

Host

Presto 服务器的 IP 地址或主机名。 (即 192.168.222.160) 。

Parameters

链接服务的参数。

(继承自 DataFactoryLinkedServiceProperties)
Password

用户名所对应的密码。

Port

Presto 服务器用来侦听客户端连接的 TCP 端口。 默认值为 8080。

ServerVersion

Presto 服务器的版本。 (即 0.148-t) 。

TimeZoneId

连接使用的本地时区。 IANA 时区数据库中指定了此选项的有效值。 默认值为系统时区。

TrustedCertPath

包含受信任 CA 证书(通过 SSL 进行连接时用于验证服务器)的 .pem 文件的完整路径。 只有在自托管 IR 上使用 SSL 时才能设置此属性。 默认值是随 IR 一起安装的 cacerts.pem 文件。

Username

用于连接到 Presto 服务器的用户名。

UseSystemTrustStore

指定是使用系统信任存储中的 CA 证书还是使用指定 PEM 文件中的 CA 证书。 默认值为 false。

适用于