A method to create the cosmos clientCosmosClient is thread-safe. Its recommended to maintain a single instance of CosmosClient per lifetimeof the application which enables efficient connection management and performance. Please refer to theperformance guide.
A method to create the cosmos client and initialize the provided containers.In addition to that it initializes the client with containers provided i.e The SDK warms up the caches andconnections before the first call to the service is made. Use this to obtain lower latency while startup of your application.CosmosClient is thread-safe. Its recommended to maintain a single instance of CosmosClient per lifetimeof the application which enables efficient connection management and performance. Please refer to theperformance guide.
Gets or sets the boolean to only return the headers and status code inthe Cosmos DB response for write item operation like Create, Upsert, Patch and Replace.Setting the option to false will cause the response to have a null resource. This reduces networking and CPU load by not sendingthe resource back over the network and serializing it on the client.
582128177f