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

RestSource interface

复制活动 Rest 服务源。

扩展

属性

additionalColumns

指定要添加到源数据的其他列。 类型:键值对(值应为字符串类型)。

additionalHeaders

请求中对 RESTful API 的其他 HTTP 标头。 类型:字符串(或带有 resultType 字符串的表达式)。

httpRequestTimeout

用于获取 HTTP 响应的超时值(TimeSpan)。 获取响应而不是读取响应数据的超时。 默认值:00:01:40。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])).

paginationRules

用于撰写下一页请求的分页规则。 类型:字符串(或带有 resultType 字符串的表达式)。

requestBody

如果 requestMethod 为 POST,则为 RESTful API 的 HTTP 请求正文。 类型:字符串(或带有 resultType 字符串的表达式)。

requestInterval

发送下一页请求之前等待的时间。

requestMethod

用于调用 RESTful API 的 HTTP 方法。 默认值为 GET。 类型:字符串(或带有 resultType 字符串的表达式)。

type

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

继承属性

disableMetricsCollection

如果为 true,则禁用数据存储指标集合。 默认值为 false。 类型:布尔值(或带有 resultType 布尔值的表达式)。

maxConcurrentConnections

源数据存储的最大并发连接计数。 类型:整数(或包含 resultType 整数的表达式)。

sourceRetryCount

源重试计数。 类型:整数(或包含 resultType 整数的表达式)。

sourceRetryWait

源重试等待。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])).

属性详细信息

additionalColumns

指定要添加到源数据的其他列。 类型:键值对(值应为字符串类型)。

additionalColumns?: any

属性值

any

additionalHeaders

请求中对 RESTful API 的其他 HTTP 标头。 类型:字符串(或带有 resultType 字符串的表达式)。

additionalHeaders?: any

属性值

any

httpRequestTimeout

用于获取 HTTP 响应的超时值(TimeSpan)。 获取响应而不是读取响应数据的超时。 默认值:00:01:40。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])).

httpRequestTimeout?: any

属性值

any

paginationRules

用于撰写下一页请求的分页规则。 类型:字符串(或带有 resultType 字符串的表达式)。

paginationRules?: any

属性值

any

requestBody

如果 requestMethod 为 POST,则为 RESTful API 的 HTTP 请求正文。 类型:字符串(或带有 resultType 字符串的表达式)。

requestBody?: any

属性值

any

requestInterval

发送下一页请求之前等待的时间。

requestInterval?: any

属性值

any

requestMethod

用于调用 RESTful API 的 HTTP 方法。 默认值为 GET。 类型:字符串(或带有 resultType 字符串的表达式)。

requestMethod?: any

属性值

any

type

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

type: "RestSource"

属性值

"RestSource"

继承属性详细信息

disableMetricsCollection

如果为 true,则禁用数据存储指标集合。 默认值为 false。 类型:布尔值(或带有 resultType 布尔值的表达式)。

disableMetricsCollection?: any

属性值

any

继承自CopySource.disableMetricsCollection

maxConcurrentConnections

源数据存储的最大并发连接计数。 类型:整数(或包含 resultType 整数的表达式)。

maxConcurrentConnections?: any

属性值

any

继承自CopySource.maxConcurrentConnections

sourceRetryCount

源重试计数。 类型:整数(或包含 resultType 整数的表达式)。

sourceRetryCount?: any

属性值

any

继承自CopySource.sourceRetryCount

sourceRetryWait

源重试等待。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])).

sourceRetryWait?: any

属性值

any

继承自CopySource.sourceRetryWait