azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.documen...

72 строки
6.2 KiB
YAML

### YamlMime:JavaEnum
uid: "com.microsoft.azure.documentdb.ConnectionMode"
fullName: "com.microsoft.azure.documentdb.ConnectionMode"
name: "ConnectionMode"
nameWithType: "ConnectionMode"
summary: "Represents the connection mode to be used by the client in the Azure Cosmos DB database service."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Enum?alt=java.lang.Enum&text=Enum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Enum.<T>valueOf(java.lang.Class<T>,java.lang.String)?alt=java.lang.Enum.<T>valueOf&text=<T>valueOf\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum.clone()?alt=java.lang.Enum.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum.compareTo(E)?alt=java.lang.Enum.compareTo&text=compareTo\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum.describeConstable()?alt=java.lang.Enum.describeConstable&text=describeConstable\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum.equals(java.lang.Object)?alt=java.lang.Enum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum.finalize()?alt=java.lang.Enum.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum.getDeclaringClass()?alt=java.lang.Enum.getDeclaringClass&text=getDeclaringClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum.hashCode()?alt=java.lang.Enum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum.name()?alt=java.lang.Enum.name&text=name\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum.ordinal()?alt=java.lang.Enum.ordinal&text=ordinal\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum.toString()?alt=java.lang.Enum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public enum **ConnectionMode**</br> extends <xref href=\"java.lang.Enum?alt=java.lang.Enum&text=Enum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.documentdb.ConnectionMode?alt=com.microsoft.azure.documentdb.ConnectionMode&text=ConnectionMode\" data-throw-if-not-resolved=\"False\" />&gt;"
fields:
- uid: "com.microsoft.azure.documentdb.ConnectionMode.DirectHttps"
fullName: "com.microsoft.azure.documentdb.ConnectionMode.DirectHttps"
name: "DirectHttps"
nameWithType: "ConnectionMode.DirectHttps"
summary: "Specifies that requests to server resources are made directly to the data nodes through HTTPS."
desc: "Specifies that requests to server resources are made directly to the data nodes through HTTPS.\n\nIn DirectHttps 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 Azure Cosmos DB cluster using the HTTPS transport protocol.\n\nCertain operations on account or database level resources, such as databases, collections and users, etc., are always routed through the gateway using HTTPS."
- uid: "com.microsoft.azure.documentdb.ConnectionMode.Gateway"
fullName: "com.microsoft.azure.documentdb.ConnectionMode.Gateway"
name: "Gateway"
nameWithType: "ConnectionMode.Gateway"
summary: "Specifies that requests to server resources are made through a gateway proxy using HTTPS."
desc: "Specifies that requests to server resources are made through a gateway proxy using HTTPS.\n\nIn Gateway mode, all requests are made through a gateway proxy."
methods:
- uid: "com.microsoft.azure.documentdb.ConnectionMode.valueOf(java.lang.String)"
fullName: "com.microsoft.azure.documentdb.ConnectionMode.valueOf(String name)"
name: "valueOf(String name)"
nameWithType: "ConnectionMode.valueOf(String name)"
modifiers:
- "static"
parameters:
- name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static ConnectionMode valueOf(String name)"
returns:
type: "<xref href=\"com.microsoft.azure.documentdb.ConnectionMode?alt=com.microsoft.azure.documentdb.ConnectionMode&text=ConnectionMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.documentdb.ConnectionMode.values()"
fullName: "com.microsoft.azure.documentdb.ConnectionMode.values()"
name: "values()"
nameWithType: "ConnectionMode.values()"
modifiers:
- "static"
syntax: "public static ConnectionMode[] values()"
returns:
type: "<xref href=\"com.microsoft.azure.documentdb.ConnectionMode?alt=com.microsoft.azure.documentdb.ConnectionMode&text=ConnectionMode\" data-throw-if-not-resolved=\"False\" />[]"
desc: "Represents the connection mode to be used by the client in the Azure Cosmos DB database service.\n\nDirect 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."
metadata: {}
package: "com.microsoft.azure.documentdb"
artifact: com.microsoft.azure:azure-documentdb:2.4.7