DocumentDbOutputDataSource Class

Definition

Describes a DocumentDB output data source.

[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("Microsoft.Storage/DocumentDB")]
public class DocumentDbOutputDataSource : Microsoft.Azure.Management.StreamAnalytics.Models.OutputDataSource
type DocumentDbOutputDataSource = class
    inherit OutputDataSource
Public Class DocumentDbOutputDataSource
Inherits OutputDataSource
Inheritance
System.Object
DocumentDbOutputDataSource
Attributes
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

Constructors

DocumentDbOutputDataSource()

Initializes a new instance of the DocumentDbOutputDataSource class.

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

Initializes a new instance of the DocumentDbOutputDataSource class.

Properties

AccountId

Gets or sets the DocumentDB account name or ID. Required on PUT (CreateOrReplace) requests.

AccountKey

Gets or sets the account key for the DocumentDB account. Required on PUT (CreateOrReplace) requests.

CollectionNamePattern

Gets or sets 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

Gets or sets the name of the DocumentDB database. Required on PUT (CreateOrReplace) requests.

DocumentId

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

PartitionKey

Gets or sets 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.

Applies to