ConnectionMode Enum
- java.
lang. Object - java.
lang. Enum<ConnectionMode> - com.
microsoft. azure. cosmosdb. ConnectionMode
- com.
- java.
public enum ConnectionMode
Represents the connection mode to be used by the client in the Azure Cosmos DB database service.
Direct and Gateway connectivity modes are supported. Gateway is the default. Refer to <see>http://azure.microsoft.com/documentation/articles/documentdb- interactions-with-resources/connectivity-options</see> for additional details.
Fields
Direct |
Specifies that requests to server resources are made directly to the data nodes. In Direct mode, all requests to server resources within a collection, such as documents, 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, collections and users, etc., are always routed through the gateway using HTTPS. |
Gateway |
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. |
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기