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

SparkLinkedService 类

定义

Spark Server 链接服务。

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

构造函数

SparkLinkedService(DataFactoryElement<String>, DataFactoryElement<Int32>, SparkAuthenticationType)

初始化 SparkLinkedService 的新实例。

属性

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

用于访问 Spark 服务器的身份验证方法。

ConnectVia

集成运行时引用。

(继承自 DataFactoryLinkedServiceProperties)
Description

链接服务说明。

(继承自 DataFactoryLinkedServiceProperties)
EnableSsl

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

EncryptedCredential

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

Host

Spark 服务器的 IP 地址或主机名。

HttpPath

对应于 Spark 服务器的部分 URL。

Parameters

链接服务的参数。

(继承自 DataFactoryLinkedServiceProperties)
Password

与在“用户名”字段中提供的用户名对应的密码。

Port

Spark 服务器用来侦听客户端连接的 TCP 端口。

ServerType

Spark 服务器的类型。

ThriftTransportProtocol

Thrift 层中要使用的传输协议。

TrustedCertPath

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

Username

用于访问 Spark 服务器的用户名。

UseSystemTrustStore

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

适用于