Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CosmosClientOptions

Hierarchy

  • CosmosClientOptions

Index

Properties

Optional agent

agent: Agent

auth

An object that is used for authenticating requests and must contains one of the options

Optional connectionPolicy

connectionPolicy: ConnectionPolicy | object

An instance of ConnectionPolicy class. This parameter is optional and the default connectionPolicy will be used if omitted.

Optional consistencyLevel

consistencyLevel: keyof ConsistencyLevel

An optional parameter that represents the consistency level. It can take any value from ConsistencyLevel.

Optional defaultHeaders

defaultHeaders: IHeaders

endpoint

endpoint: string

The service endpoint to use to create the client.

Optional queryCompatibilityMode

queryCompatibilityMode: QueryCompatibilityMode

Generated using TypeDoc