Class RebootType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RebootType>
com.azure.resourcemanager.redis.models.RebootType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Which Redis node(s) to reboot. Depending on this value data loss is possible.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RebootTypeStatic value AllNodes for RebootType.static final RebootTypeStatic value PrimaryNode for RebootType.static final RebootTypeStatic value SecondaryNode for RebootType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RebootTypefromString(String name) Creates or finds a RebootType from its string representation.static Collection<RebootType> values()Gets known RebootType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PRIMARY_NODE
Static value PrimaryNode for RebootType. -
SECONDARY_NODE
Static value SecondaryNode for RebootType. -
ALL_NODES
Static value AllNodes for RebootType.
-
-
Constructor Details
-
RebootType
Deprecated.Use thefromString(String)factory method.Creates a new instance of RebootType value.
-
-
Method Details
-
fromString
Creates or finds a RebootType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding RebootType.
-
values
Gets known RebootType values.- Returns:
- known RebootType values.
-
fromString(String)factory method.