Azure Connectors Node.js SDK
    Preparing search index...

    Interface CreateDocumentOptions

    Options for the createDocument operation.

    interface CreateDocumentOptions {
        abortSignal?: AbortSignalLike;
        onResponse?: ConnectorRawResponseCallback;
        tracingOptions?: OperationTracingOptions;
        xMsActivityId?: string;
        xMsConsistencyLevel?: string;
        xMsContinuation?: string;
        xMsDocumentdbIsUpsert?: boolean;
        xMsDocumentdbPostTriggerInclude?: string;
        xMsDocumentdbPreTriggerInclude?: string;
        xMsMaxItemCount?: number;
        xMsSessionToken?: string;
        xMsVersion?: string;
    }

    Hierarchy (View Summary)

    Index
    abortSignal?: AbortSignalLike

    Signal used to cancel the operation.

    Callback invoked with the complete response before the operation returns or throws.

    tracingOptions?: OperationTracingOptions

    Context used to parent the operation's tracing span.

    xMsActivityId?: string

    A client supplied identifier for the operation, which will be echoed in the server response.

    xMsConsistencyLevel?: string

    This is the consistency level override. The valid values are: Strong, Bounded, Session, or Eventual (in order of strongest to weakest).

    xMsContinuation?: string

    A string token returned for queries and read-feed operations if there are more results to be read.

    xMsDocumentdbIsUpsert?: boolean

    If set to true, the document will be replaced if it exists else created.

    xMsDocumentdbPostTriggerInclude?: string

    Comma-separated list of trigger names to run after the document operation is executed.

    xMsDocumentdbPreTriggerInclude?: string

    Comma-separated list of trigger names to run before the document operation is executed.

    xMsMaxItemCount?: number

    An integer indicating the maximum number of items to be returned per page.

    xMsSessionToken?: string

    A string token used with session level consistency.

    xMsVersion?: string

    API version.