Class CreateMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CreateMode>
com.azure.resourcemanager.mariadb.models.CreateMode
The mode to create a new server.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CreateMode
Static value Default for CreateMode.static final CreateMode
Static value GeoRestore for CreateMode.static final CreateMode
Static value PointInTimeRestore for CreateMode.static final CreateMode
Static value Replica for CreateMode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CreateMode
fromString
(String name) Creates or finds a CreateMode from its string representation.static Collection<CreateMode>
values()
Gets known CreateMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
DEFAULT
Static value Default for CreateMode. -
POINT_IN_TIME_RESTORE
Static value PointInTimeRestore for CreateMode. -
GEO_RESTORE
Static value GeoRestore for CreateMode. -
REPLICA
Static value Replica for CreateMode.
-
-
Constructor Details
-
CreateMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of CreateMode value.
-
-
Method Details
-
fromString
Creates or finds a CreateMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CreateMode.
-
values
Gets known CreateMode values.- Returns:
- known CreateMode values.
-
fromString(String)
factory method.