azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

146 строки
10 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.ConnectionState"
fullName: "com.azure.resourcemanager.cosmos.models.ConnectionState"
name: "ConnectionState"
nameWithType: "ConnectionState"
summary: "The kind of connection error that occurred."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **ConnectionState**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.ConnectionState?alt=com.azure.resourcemanager.cosmos.models.ConnectionState&text=ConnectionState\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.cosmos.models.ConnectionState.ConnectionState()"
fullName: "com.azure.resourcemanager.cosmos.models.ConnectionState.ConnectionState()"
name: "ConnectionState()"
nameWithType: "ConnectionState.ConnectionState()"
summary: "Creates a new instance of Connection<wbr>State value."
deprecatedTag: "Use the <xref uid=\"com.azure.resourcemanager.cosmos.models.ConnectionState.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public ConnectionState()"
desc: "Creates a new instance of ConnectionState value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.cosmos.models.ConnectionState.DATACENTER_TO_DATACENTER_NETWORK_ERROR"
fullName: "com.azure.resourcemanager.cosmos.models.ConnectionState.DATACENTER_TO_DATACENTER_NETWORK_ERROR"
name: "DATACENTER_TO_DATACENTER_NETWORK_ERROR"
nameWithType: "ConnectionState.DATACENTER_TO_DATACENTER_NETWORK_ERROR"
summary: "Static value Datacenter<wbr>ToDatacenter<wbr>Network<wbr>Error for Connection<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ConnectionState?alt=com.azure.resourcemanager.cosmos.models.ConnectionState&text=ConnectionState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ConnectionState DATACENTER_TO_DATACENTER_NETWORK_ERROR"
desc: "Static value DatacenterToDatacenterNetworkError for ConnectionState."
- uid: "com.azure.resourcemanager.cosmos.models.ConnectionState.INTERNAL_ERROR"
fullName: "com.azure.resourcemanager.cosmos.models.ConnectionState.INTERNAL_ERROR"
name: "INTERNAL_ERROR"
nameWithType: "ConnectionState.INTERNAL_ERROR"
summary: "Static value Internal<wbr>Error for Connection<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ConnectionState?alt=com.azure.resourcemanager.cosmos.models.ConnectionState&text=ConnectionState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ConnectionState INTERNAL_ERROR"
desc: "Static value InternalError for ConnectionState."
- uid: "com.azure.resourcemanager.cosmos.models.ConnectionState.INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR"
fullName: "com.azure.resourcemanager.cosmos.models.ConnectionState.INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR"
name: "INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR"
nameWithType: "ConnectionState.INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR"
summary: "Static value Internal<wbr>Operator<wbr>ToData<wbr>Center<wbr>Certificate<wbr>Error for Connection<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ConnectionState?alt=com.azure.resourcemanager.cosmos.models.ConnectionState&text=ConnectionState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ConnectionState INTERNAL_OPERATOR_TO_DATA_CENTER_CERTIFICATE_ERROR"
desc: "Static value InternalOperatorToDataCenterCertificateError for ConnectionState."
- uid: "com.azure.resourcemanager.cosmos.models.ConnectionState.OK"
fullName: "com.azure.resourcemanager.cosmos.models.ConnectionState.OK"
name: "OK"
nameWithType: "ConnectionState.OK"
summary: "Static value OK for Connection<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ConnectionState?alt=com.azure.resourcemanager.cosmos.models.ConnectionState&text=ConnectionState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ConnectionState OK"
desc: "Static value OK for ConnectionState."
- uid: "com.azure.resourcemanager.cosmos.models.ConnectionState.OPERATOR_TO_DATA_CENTER_NETWORK_ERROR"
fullName: "com.azure.resourcemanager.cosmos.models.ConnectionState.OPERATOR_TO_DATA_CENTER_NETWORK_ERROR"
name: "OPERATOR_TO_DATA_CENTER_NETWORK_ERROR"
nameWithType: "ConnectionState.OPERATOR_TO_DATA_CENTER_NETWORK_ERROR"
summary: "Static value Operator<wbr>ToData<wbr>Center<wbr>Network<wbr>Error for Connection<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ConnectionState?alt=com.azure.resourcemanager.cosmos.models.ConnectionState&text=ConnectionState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ConnectionState OPERATOR_TO_DATA_CENTER_NETWORK_ERROR"
desc: "Static value OperatorToDataCenterNetworkError for ConnectionState."
- uid: "com.azure.resourcemanager.cosmos.models.ConnectionState.UNKNOWN"
fullName: "com.azure.resourcemanager.cosmos.models.ConnectionState.UNKNOWN"
name: "UNKNOWN"
nameWithType: "ConnectionState.UNKNOWN"
summary: "Static value Unknown for Connection<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ConnectionState?alt=com.azure.resourcemanager.cosmos.models.ConnectionState&text=ConnectionState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ConnectionState UNKNOWN"
desc: "Static value Unknown for ConnectionState."
methods:
- uid: "com.azure.resourcemanager.cosmos.models.ConnectionState.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.ConnectionState.fromString(String name)"
name: "fromString(String name)"
nameWithType: "ConnectionState.fromString(String name)"
summary: "Creates or finds a Connection<wbr>State from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static ConnectionState fromString(String name)"
desc: "Creates or finds a ConnectionState from its string representation."
returns:
description: "the corresponding ConnectionState."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.ConnectionState?alt=com.azure.resourcemanager.cosmos.models.ConnectionState&text=ConnectionState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.ConnectionState.values()"
fullName: "com.azure.resourcemanager.cosmos.models.ConnectionState.values()"
name: "values()"
nameWithType: "ConnectionState.values()"
summary: "Gets known Connection<wbr>State values."
modifiers:
- "static"
syntax: "public static Collection<ConnectionState> values()"
desc: "Gets known ConnectionState values."
returns:
description: "known ConnectionState values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.ConnectionState?alt=com.azure.resourcemanager.cosmos.models.ConnectionState&text=ConnectionState\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "The kind of connection error that occurred."
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.42.0