Class CosmosDbConnectionMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CosmosDbConnectionMode>
com.azure.resourcemanager.datafactory.models.CosmosDbConnectionMode
public final class CosmosDbConnectionMode
extends com.azure.core.util.ExpandableStringEnum<CosmosDbConnectionMode>
The connection mode used to access CosmosDB account. Type: string (or Expression with resultType string).
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CosmosDbConnectionMode
Static value Direct for CosmosDbConnectionMode.static final CosmosDbConnectionMode
Static value Gateway for CosmosDbConnectionMode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CosmosDbConnectionMode
fromString
(String name) Creates or finds a CosmosDbConnectionMode from its string representation.static Collection<CosmosDbConnectionMode>
values()
Gets known CosmosDbConnectionMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
GATEWAY
Static value Gateway for CosmosDbConnectionMode. -
DIRECT
Static value Direct for CosmosDbConnectionMode.
-
-
Constructor Details
-
CosmosDbConnectionMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of CosmosDbConnectionMode value.
-
-
Method Details
-
fromString
Creates or finds a CosmosDbConnectionMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CosmosDbConnectionMode.
-
values
Gets known CosmosDbConnectionMode values.- Returns:
- known CosmosDbConnectionMode values.
-
fromString(String)
factory method.