Package version:

Interface DocumentDbOutputDataSource

Describes a DocumentDB output data source.

interface DocumentDbOutputDataSource {
    accountId?: string;
    accountKey?: string;
    authenticationMode?: string;
    collectionNamePattern?: string;
    database?: string;
    documentId?: string;
    partitionKey?: string;
    type: "Microsoft.Storage/DocumentDB";
}

Hierarchy (view full)

Properties

accountId?: string

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

accountKey?: string

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

authenticationMode?: string

Authentication Mode.

collectionNamePattern?: string

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.

database?: string

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

documentId?: string

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

partitionKey?: string

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.

type: "Microsoft.Storage/DocumentDB"

Polymorphic discriminator, which specifies the different types this object can be

Generated using TypeDoc