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 <see>http://azure.microsoft.com/documentation/articles/documentdb- interactions-with-resources/#connectivity-options</see> 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