DocumentDbOutputDataSourceArgs

data class DocumentDbOutputDataSourceArgs(val accountId: Output<String>? = null, val accountKey: Output<String>? = null, val collectionNamePattern: Output<String>? = null, val database: Output<String>? = null, val documentId: Output<String>? = null, val partitionKey: Output<String>? = null, val type: Output<String>) : ConvertibleToJava<DocumentDbOutputDataSourceArgs>

Describes a DocumentDB output data source.

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, accountKey: Output<String>? = null, collectionNamePattern: Output<String>? = null, database: Output<String>? = null, documentId: Output<String>? = null, partitionKey: Output<String>? = null, type: Output<String>)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

The DocumentDB account name or ID. Required on PUT (CreateOrReplace) requests.

Link copied to clipboard
val accountKey: Output<String>? = null

The account key for the DocumentDB account. Required on PUT (CreateOrReplace) requests.

Link copied to clipboard
val collectionNamePattern: Output<String>? = null

The collection name pattern for the collections to be used. The collection name format can be constructed using the optional {partition} token, where partitions start from 0. See the DocumentDB section of https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for more information. Required on PUT (CreateOrReplace) requests.

Link copied to clipboard
val database: Output<String>? = null

The name of the DocumentDB database. Required on PUT (CreateOrReplace) requests.

Link copied to clipboard
val documentId: Output<String>? = null

The name of the field in output events used to specify the primary key which insert or update operations are based on.

Link copied to clipboard
val partitionKey: Output<String>? = null

The name of the field in output events used to specify the key for partitioning output across collections. If 'collectionNamePattern' contains the {partition} token, this property is required to be specified.

Link copied to clipboard
val type: Output<String>

Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests. Expected value is 'Microsoft.Storage/DocumentDB'.

Functions

Link copied to clipboard
open override fun toJava(): DocumentDbOutputDataSourceArgs