Class UpdateChannel
java.lang.Object
com.azure.core.util.ExpandableStringEnum<UpdateChannel>
com.azure.resourcemanager.redis.models.UpdateChannel
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using
'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is
'Stable'.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UpdateChannel
Static value Preview for UpdateChannel.static final UpdateChannel
Static value Stable for UpdateChannel. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateChannel
fromString
(String name) Creates or finds a UpdateChannel from its string representation.static Collection
<UpdateChannel> values()
Gets known UpdateChannel values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
STABLE
Static value Stable for UpdateChannel. -
PREVIEW
Static value Preview for UpdateChannel.
-
-
Constructor Details
-
UpdateChannel
Deprecated.Use thefromString(String)
factory method.Creates a new instance of UpdateChannel value.
-
-
Method Details
-
fromString
Creates or finds a UpdateChannel from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding UpdateChannel.
-
values
Gets known UpdateChannel values.- Returns:
- known UpdateChannel values.
-
fromString(String)
factory method.