你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ConnectionMode Enum
- java.
lang. Object - java.
lang. Enum - com.
microsoft. azure. documentdb. ConnectionMode
- com.
- java.
public enum ConnectionMode
extends java.lang.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 http://azure.microsoft.com/documentation/articles/documentdb- interactions-with-resources/#connectivity-options for additional details.
Fields
DirectHttps |
Specifies that requests to server resources are made directly to the data nodes through HTTPS. |
Gateway |
Specifies that requests to server resources are made through a gateway proxy using HTTPS. |
Methods inherited from java.lang.Enum
Methods inherited from java.lang.Object
Methods
valueOf(String name)
public static ConnectionMode valueOf(String name)
Parameters
- name
- java.lang.String