Class ReplicaType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ReplicaType>
com.azure.resourcemanager.sql.models.ReplicaType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Defines values for ReplicaType.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReplicaTypeStatic value Primary for ReplicaType.static final ReplicaTypeStatic value ReadableSecondary for ReplicaType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplicaTypefromString(String name) Creates or finds a ReplicaType from its string representation.static Collection<ReplicaType> values()Gets known ReplicaType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PRIMARY
Static value Primary for ReplicaType. -
READABLE_SECONDARY
Static value ReadableSecondary for ReplicaType.
-
-
Constructor Details
-
ReplicaType
Deprecated.Use thefromString(String)factory method.Creates a new instance of ReplicaType value.
-
-
Method Details
-
fromString
Creates or finds a ReplicaType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ReplicaType.
-
values
Gets known ReplicaType values.- Returns:
- known ReplicaType values.
-
fromString(String)factory method.