Share via


DocumentDbOutputDataSource Constructors

Definition

Overloads

DocumentDbOutputDataSource()

Initializes a new instance of the DocumentDbOutputDataSource class.

DocumentDbOutputDataSource(String, String, String, String, String, String)

Initializes a new instance of the DocumentDbOutputDataSource class.

DocumentDbOutputDataSource()

Initializes a new instance of the DocumentDbOutputDataSource class.

public DocumentDbOutputDataSource ();
Public Sub New ()

Applies to

DocumentDbOutputDataSource(String, String, String, String, String, String)

Initializes a new instance of the DocumentDbOutputDataSource class.

public DocumentDbOutputDataSource (string accountId = default, string accountKey = default, string database = default, string collectionNamePattern = default, string partitionKey = default, string documentId = default);
new Microsoft.Azure.Management.StreamAnalytics.Models.DocumentDbOutputDataSource : string * string * string * string * string * string -> Microsoft.Azure.Management.StreamAnalytics.Models.DocumentDbOutputDataSource
Public Sub New (Optional accountId As String = Nothing, Optional accountKey As String = Nothing, Optional database As String = Nothing, Optional collectionNamePattern As String = Nothing, Optional partitionKey As String = Nothing, Optional documentId As String = Nothing)

Parameters

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.

database
String

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

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.

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.

documentId
String

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

Applies to