RestSink interface
复制活动 Rest 服务接收器。
- 扩展
属性
| additional |
请求中对 RESTful API 的其他 HTTP 标头。 类型:键值对(值应为字符串类型)。 |
| http |
使用最佳压缩级别发送采用压缩格式的数据的 Http 压缩类型,默认值为 None。 唯一支持的选项是 Gzip。 类型:字符串(或带有 resultType 字符串的表达式)。 |
| http |
用于获取 HTTP 响应的超时值(TimeSpan)。 获取响应而不是读取响应数据的超时。 默认值:00:01:40。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])). |
| request |
发送下一个请求之前等待的时间(以毫秒为单位) |
| request |
用于调用 RESTful API 的 HTTP 方法。 默认值为 POST。 类型:字符串(或带有 resultType 字符串的表达式)。 |
| type | 多态鉴别器,它指定此对象可以的不同类型的 |
继承属性
| disable |
如果为 true,则禁用数据存储指标集合。 默认值为 false。 类型:布尔值(或带有 resultType 布尔值的表达式)。 |
| max |
接收器数据存储的最大并发连接计数。 类型:整数(或包含 resultType 整数的表达式)。 |
| sink |
接收器重试计数。 类型:整数(或包含 resultType 整数的表达式)。 |
| sink |
接收器重试等待。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])). |
| write |
写入批大小。 类型:整数(或包含 resultType 整数的表达式),最小值:0。 |
| write |
写入批处理超时。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])). |
属性详细信息
additionalHeaders
请求中对 RESTful API 的其他 HTTP 标头。 类型:键值对(值应为字符串类型)。
additionalHeaders?: any
属性值
any
httpCompressionType
使用最佳压缩级别发送采用压缩格式的数据的 Http 压缩类型,默认值为 None。 唯一支持的选项是 Gzip。 类型:字符串(或带有 resultType 字符串的表达式)。
httpCompressionType?: 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
requestInterval
发送下一个请求之前等待的时间(以毫秒为单位)
requestInterval?: any
属性值
any
requestMethod
用于调用 RESTful API 的 HTTP 方法。 默认值为 POST。 类型:字符串(或带有 resultType 字符串的表达式)。
requestMethod?: any
属性值
any
type
多态鉴别器,它指定此对象可以的不同类型的
type: "RestSink"
属性值
"RestSink"
继承属性详细信息
disableMetricsCollection
如果为 true,则禁用数据存储指标集合。 默认值为 false。 类型:布尔值(或带有 resultType 布尔值的表达式)。
disableMetricsCollection?: any
属性值
any
maxConcurrentConnections
接收器数据存储的最大并发连接计数。 类型:整数(或包含 resultType 整数的表达式)。
maxConcurrentConnections?: any
属性值
any
sinkRetryCount
sinkRetryWait
接收器重试等待。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])).
sinkRetryWait?: any
属性值
any
writeBatchSize
writeBatchTimeout
写入批处理超时。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])).
writeBatchTimeout?: any
属性值
any