Freigeben über


IDocumentDbOutputDataSource Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.DocumentDbOutputDataSourceTypeConverter))]
public interface IDocumentDbOutputDataSource : Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.IOutputDataSource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.DocumentDbOutputDataSourceTypeConverter))>]
type IDocumentDbOutputDataSource = interface
    interface IJsonSerializable
    interface IOutputDataSource
Public Interface IDocumentDbOutputDataSource
Implements IOutputDataSource
Derived
Attributes
Implements

Properties

AccountId

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

AccountKey

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

CollectionNamePattern

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

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

DocumentId

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

PartitionKey

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

Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.

(Inherited from IOutputDataSource)

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to