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

ODataLinkedService 类

定义

开放数据协议 (OData) 链接服务。

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

构造函数

ODataLinkedService(DataFactoryElement<String>)

初始化 ODataLinkedService 的新实例。

属性

AadResourceId

指定要请求授权以使用 Directory 的资源。 类型:字符串 (或带有 resultType 字符串) 的表达式。

AadServicePrincipalCredentialType

指定凭据类型 (密钥或证书) 用于服务主体。

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)
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

用于连接到 OData 服务的身份验证类型。

AuthHeaders

请求中用于授权的 RESTful API 中的其他 HTTP 标头。 类型:使用 resultType 对象) 的对象 (或 Expression。

AzureCloudType

指示服务主体身份验证的 Azure 云类型。允许的值为 AzurePublic、AzureChina、AzureUsGovernment、AzureGermany。 默认值为数据工厂区域的云类型。 类型:字符串 (或带有 resultType 字符串) 的表达式。

ConnectVia

集成运行时引用。

(继承自 DataFactoryLinkedServiceProperties)
Description

链接服务说明。

(继承自 DataFactoryLinkedServiceProperties)
EncryptedCredential

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

Parameters

链接服务的参数。

(继承自 DataFactoryLinkedServiceProperties)
Password

OData 服务的密码。

ServicePrincipalEmbeddedCert

指定 Azure Active Directory 中注册的应用程序的 base64 编码证书。 类型:字符串 (或带有 resultType 字符串) 的表达式。

ServicePrincipalEmbeddedCertPassword

如果证书具有密码,并且使用的是 AadServicePrincipal 身份验证,请指定证书的密码。 类型:字符串 (或带有 resultType 字符串) 的表达式。

ServicePrincipalId

指定在 Azure Active Directory 中注册的应用程序的应用程序 ID。 类型:字符串 (或带有 resultType 字符串) 的表达式。

ServicePrincipalKey

指定在 Azure Active Directory 中注册的应用程序的机密。 类型:字符串 (或带有 resultType 字符串) 的表达式。

Tenant

指定应用程序的租户信息(域名或租户 ID)。 类型:字符串 (或带有 resultType 字符串) 的表达式。

Uri

OData 服务终结点的 URL。 类型:字符串 (或带有 resultType 字符串) 的表达式。

UserName

OData 服务的用户名。 类型:字符串 (或带有 resultType 字符串) 的表达式。

适用于