All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.cosmos.ConnectionMode Maven / Gradle / Ivy

Go to download

This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API

There is a newer version: 4.60.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.cosmos;

/**
 * Represents the connection mode to be used by the client in the Azure Cosmos DB database service.
 * 

* DIRECT and GATEWAY connectivity modes are supported. DIRECT is the default. */ public enum ConnectionMode { /** * Specifies that requests to server resources are made through a gateway proxy using HTTPS. *

* In GATEWAY mode, all requests are made through a gateway proxy. *

*/ GATEWAY, /** * Specifies that requests to server resources are made directly to the data nodes. *

* In DIRECT mode, all requests to server resources within a container, such as items, stored procedures * and user-defined functions, etc., are made directly to the data nodes within the target Cosmos DB cluster * using either the HTTPS or TCP/SSL transport protocol. *

* Certain operations on account or database level resources, such as databases, containers and users, etc., * are always routed through the gateway using HTTPS. *

*/ DIRECT }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy