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

CosmosDbMongoDbApiSink interface

CosmosDB(MongoDB API)数据库的复制活动接收器。

扩展

属性

type

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

writeBehavior

指定是否使用相同的键覆盖文档(upsert),而不是引发异常(插入)。 默认值为“insert”。 类型:字符串(或带有 resultType 字符串的表达式)。 类型:字符串(或带有 resultType 字符串的表达式)。

继承属性

disableMetricsCollection

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

maxConcurrentConnections

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

sinkRetryCount

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

sinkRetryWait

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

writeBatchSize

写入批大小。 类型:整数(或包含 resultType 整数的表达式),最小值:0。

writeBatchTimeout

写入批处理超时。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])).

属性详细信息

type

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

type: "CosmosDbMongoDbApiSink"

属性值

"CosmosDbMongoDbApiSink"

writeBehavior

指定是否使用相同的键覆盖文档(upsert),而不是引发异常(插入)。 默认值为“insert”。 类型:字符串(或带有 resultType 字符串的表达式)。 类型:字符串(或带有 resultType 字符串的表达式)。

writeBehavior?: any

属性值

any

继承属性详细信息

disableMetricsCollection

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

disableMetricsCollection?: any

属性值

any

继承自CopySink.disableMetricsCollection

maxConcurrentConnections

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

maxConcurrentConnections?: any

属性值

any

继承自CopySink.maxConcurrentConnections

sinkRetryCount

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

sinkRetryCount?: any

属性值

any

继承自CopySink.sinkRetryCount

sinkRetryWait

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

sinkRetryWait?: any

属性值

any

继承自CopySink.sinkRetryWait

writeBatchSize

写入批大小。 类型:整数(或包含 resultType 整数的表达式),最小值:0。

writeBatchSize?: any

属性值

any

继承自CopySink.writeBatchSize

writeBatchTimeout

写入批处理超时。 类型:string(或带有 resultType 字符串的表达式),模式:(\d+)。?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])).

writeBatchTimeout?: any

属性值

any

继承自CopySink.writeBatchTimeout