DocumentDbOutputDataSource interface
描述 DocumentDB 输出数据源。
属性
| account |
DocumentDB 帐户名称或 ID。 PUT (CreateOrReplace) 请求时是必需的。 |
| account |
DocumentDB 帐户的帐户密钥。 PUT (CreateOrReplace) 请求时是必需的。 |
| collection |
要使用的集合的集合名称模式。 可以使用可选的 {partition} 标记构造集合名称格式,其中分区从 0 开始。 有关详细信息,请参阅 https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output 的 DocumentDB 部分。 PUT (CreateOrReplace) 请求时是必需的。 |
| database | DocumentDB 数据库的名称。 PUT (CreateOrReplace) 请求时是必需的。 |
| document |
输出事件中用于指定插入或更新作所基于的主键的字段的名称。 |
| partition |
输出事件中用于指定键以跨集合对输出进行分区的字段的名称。 如果“collectionNamePattern”包含 {partition} 标记,则需要指定此属性。 |
| type | 多态鉴别器,它指定此对象可以的不同类型的 |
属性详细信息
accountId
DocumentDB 帐户名称或 ID。 PUT (CreateOrReplace) 请求时是必需的。
accountId?: string
属性值
string
accountKey
DocumentDB 帐户的帐户密钥。 PUT (CreateOrReplace) 请求时是必需的。
accountKey?: string
属性值
string
collectionNamePattern
要使用的集合的集合名称模式。 可以使用可选的 {partition} 标记构造集合名称格式,其中分区从 0 开始。 有关详细信息,请参阅 https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output 的 DocumentDB 部分。 PUT (CreateOrReplace) 请求时是必需的。
collectionNamePattern?: string
属性值
string
database
DocumentDB 数据库的名称。 PUT (CreateOrReplace) 请求时是必需的。
database?: string
属性值
string
documentId
输出事件中用于指定插入或更新作所基于的主键的字段的名称。
documentId?: string
属性值
string
partitionKey
输出事件中用于指定键以跨集合对输出进行分区的字段的名称。 如果“collectionNamePattern”包含 {partition} 标记,则需要指定此属性。
partitionKey?: string
属性值
string
type
多态鉴别器,它指定此对象可以的不同类型的
type: "Microsoft.Storage/DocumentDB"
属性值
"Microsoft.Storage/DocumentDB"