Поделиться через


DocumentDbOutputDataSource Class

Definition

Describes a DocumentDB output data source.

public class DocumentDbOutputDataSource : Azure.ResourceManager.StreamAnalytics.Models.StreamingJobOutputDataSource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.StreamAnalytics.Models.DocumentDbOutputDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.StreamAnalytics.Models.DocumentDbOutputDataSource>
public class DocumentDbOutputDataSource : Azure.ResourceManager.StreamAnalytics.Models.StreamingJobOutputDataSource
type DocumentDbOutputDataSource = class
    inherit StreamingJobOutputDataSource
    interface IJsonModel<DocumentDbOutputDataSource>
    interface IPersistableModel<DocumentDbOutputDataSource>
type DocumentDbOutputDataSource = class
    inherit StreamingJobOutputDataSource
Public Class DocumentDbOutputDataSource
Inherits StreamingJobOutputDataSource
Implements IJsonModel(Of DocumentDbOutputDataSource), IPersistableModel(Of DocumentDbOutputDataSource)
Public Class DocumentDbOutputDataSource
Inherits StreamingJobOutputDataSource
Inheritance
DocumentDbOutputDataSource
Implements

Constructors

DocumentDbOutputDataSource()

Initializes a new instance of DocumentDbOutputDataSource.

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.

AuthenticationMode

Authentication Mode.

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DocumentDbOutputDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DocumentDbOutputDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<StreamingJobOutputDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from StreamingJobOutputDataSource)
IJsonModel<StreamingJobOutputDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from StreamingJobOutputDataSource)
IPersistableModel<DocumentDbOutputDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentDbOutputDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DocumentDbOutputDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<StreamingJobOutputDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from StreamingJobOutputDataSource)
IPersistableModel<StreamingJobOutputDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from StreamingJobOutputDataSource)
IPersistableModel<StreamingJobOutputDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from StreamingJobOutputDataSource)

Applies to