你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SparkLinkedService 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SparkLinkedService()
初始化 SparkLinkedService 类的新实例。
public SparkLinkedService ();
Public Sub New ()
适用于
SparkLinkedService(Object, Object, String, IDictionary<String, Object>, IntegrationRuntimeReference, String, IDictionary<String, ParameterSpecification>, IList<Object>, String, String, Object, SecretBase, Object, Object, Object, Object, Object, Object, Object)
初始化 SparkLinkedService 类的新实例。
public SparkLinkedService (object host, object port, string authenticationType, System.Collections.Generic.IDictionary<string,object> additionalProperties = default, Microsoft.Azure.Management.DataFactory.Models.IntegrationRuntimeReference connectVia = default, string description = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.DataFactory.Models.ParameterSpecification> parameters = default, System.Collections.Generic.IList<object> annotations = default, string serverType = default, string thriftTransportProtocol = default, object username = default, Microsoft.Azure.Management.DataFactory.Models.SecretBase password = default, object httpPath = default, object enableSsl = default, object trustedCertPath = default, object useSystemTrustStore = default, object allowHostNameCNMismatch = default, object allowSelfSignedServerCert = default, object encryptedCredential = default);
new Microsoft.Azure.Management.DataFactory.Models.SparkLinkedService : obj * obj * string * System.Collections.Generic.IDictionary<string, obj> * Microsoft.Azure.Management.DataFactory.Models.IntegrationRuntimeReference * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.DataFactory.Models.ParameterSpecification> * System.Collections.Generic.IList<obj> * string * string * obj * Microsoft.Azure.Management.DataFactory.Models.SecretBase * obj * obj * obj * obj * obj * obj * obj -> Microsoft.Azure.Management.DataFactory.Models.SparkLinkedService
Public Sub New (host As Object, port As Object, authenticationType As String, Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional connectVia As IntegrationRuntimeReference = Nothing, Optional description As String = Nothing, Optional parameters As IDictionary(Of String, ParameterSpecification) = Nothing, Optional annotations As IList(Of Object) = Nothing, Optional serverType As String = Nothing, Optional thriftTransportProtocol As String = Nothing, Optional username As Object = Nothing, Optional password As SecretBase = Nothing, Optional httpPath As Object = Nothing, Optional enableSsl As Object = Nothing, Optional trustedCertPath As Object = Nothing, Optional useSystemTrustStore As Object = Nothing, Optional allowHostNameCNMismatch As Object = Nothing, Optional allowSelfSignedServerCert As Object = Nothing, Optional encryptedCredential As Object = Nothing)
参数
- host
- Object
Spark 服务器的 IP 地址或主机名
- port
- Object
Spark 服务器用来侦听客户端连接的 TCP 端口。
- authenticationType
- String
用于访问 Spark 服务器的身份验证方法。 可能的值包括:“Anonymous”、“Username”、“UsernameAndPassword”、“WindowsAzureHDInsightService”
- additionalProperties
- IDictionary<String,Object>
消息中的不匹配属性将对此集合进行反序列化
- connectVia
- IntegrationRuntimeReference
集成运行时引用。
- description
- String
链接服务说明。
- parameters
- IDictionary<String,ParameterSpecification>
链接服务的参数。
- serverType
- String
Spark 服务器的类型。 可能的值包括:“SharkServer”、“SharkServer2”、“SparkThriftServer”
- thriftTransportProtocol
- String
Thrift 层中要使用的传输协议。 可能的值包括:“Binary”、“SASL”、“HTTP”
- username
- Object
用于访问 Spark 服务器的用户名。
- password
- SecretBase
与你在“用户名”字段中提供的用户名对应的密码
- httpPath
- Object
对应于 Spark 服务器的部分 URL。
- enableSsl
- Object
指定是否使用 SSL 加密到服务器的连接。 默认值为 false。
- trustedCertPath
- Object
包含受信任 CA 证书(通过 SSL 进行连接时用于验证服务器)的 .pem 文件的完整路径。 只有在自托管 IR 上使用 SSL 时才能设置此属性。 默认值是随 IR 一起安装的 cacerts.pem 文件。
- useSystemTrustStore
- Object
指定是使用系统信任存储中的 CA 证书还是使用指定 PEM 文件中的 CA 证书。 默认值为 false。
- allowHostNameCNMismatch
- Object
指定通过 SSL 进行连接时是否要求 CA 颁发的 SSL 证书的名称与服务器的主机名相匹配。 默认值为 false。
- allowSelfSignedServerCert
- Object
指定是否允许来自服务器的自签名证书。 默认值为 false。
- encryptedCredential
- Object
用于身份验证的加密凭据。 使用集成运行时凭据管理器加密凭据。 类型:包含 resultType 字符串) 的字符串 (或表达式。