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

CosmosDbMongoDbApiSink 构造函数

定义

重载

CosmosDbMongoDbApiSink()

初始化 CosmosDbMongoDbApiSink 类的新实例。

CosmosDbMongoDbApiSink(IDictionary<String,Object>, Object, Object, Object, Object, Object, Object, Object)

初始化 CosmosDbMongoDbApiSink 类的新实例。

CosmosDbMongoDbApiSink()

初始化 CosmosDbMongoDbApiSink 类的新实例。

public CosmosDbMongoDbApiSink ();
Public Sub New ()

适用于

CosmosDbMongoDbApiSink(IDictionary<String,Object>, Object, Object, Object, Object, Object, Object, Object)

初始化 CosmosDbMongoDbApiSink 类的新实例。

public CosmosDbMongoDbApiSink (System.Collections.Generic.IDictionary<string,object> additionalProperties = default, object writeBatchSize = default, object writeBatchTimeout = default, object sinkRetryCount = default, object sinkRetryWait = default, object maxConcurrentConnections = default, object disableMetricsCollection = default, object writeBehavior = default);
new Microsoft.Azure.Management.DataFactory.Models.CosmosDbMongoDbApiSink : System.Collections.Generic.IDictionary<string, obj> * obj * obj * obj * obj * obj * obj * obj -> Microsoft.Azure.Management.DataFactory.Models.CosmosDbMongoDbApiSink
Public Sub New (Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional writeBatchSize As Object = Nothing, Optional writeBatchTimeout As Object = Nothing, Optional sinkRetryCount As Object = Nothing, Optional sinkRetryWait As Object = Nothing, Optional maxConcurrentConnections As Object = Nothing, Optional disableMetricsCollection As Object = Nothing, Optional writeBehavior As Object = Nothing)

参数

additionalProperties
IDictionary<String,Object>

此集合反序列化消息中的不匹配属性

writeBatchSize
Object

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

writeBatchTimeout
Object

写入批处理超时。 Type:string (或 expression with resultType string) ,pattern: ( (\d+) .) ? (\d\d) : (60| ([0-5][0-9]) ) : (60| ([0-5][0-9]) ) 。

sinkRetryCount
Object

接收器重试计数。 类型:integer (或 expression with resultType integer) 。

sinkRetryWait
Object

接收器重试等待。 Type:string (或 expression with resultType string) ,pattern: ( (\d+) .) ? (\d\d) : (60| ([0-5][0-9]) ) : (60| ([0-5][0-9]) ) 。

maxConcurrentConnections
Object

接收器数据存储的最大并发连接计数。 类型:integer (或 expression with resultType integer) 。

disableMetricsCollection
Object

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

writeBehavior
Object

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

适用于