UpdateChannel Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. redis. models. UpdateChannel
- com.
- com.
public final class UpdateChannel
extends ExpandableStringEnum<UpdateChannel>
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
Modifier and Type | Field and Description |
---|---|
static final
Update |
PREVIEW
Static value Preview for Update |
static final
Update |
STABLE
Static value Stable for Update |
Constructor Summary
Constructor | Description |
---|---|
UpdateChannel() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Update |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Update |
fromString(String name)
Creates or finds a Update |
static
Collection<Update |
values()
Gets known Update |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PREVIEW
public static final UpdateChannel PREVIEW
Static value Preview for UpdateChannel.
STABLE
public static final UpdateChannel STABLE
Static value Stable for UpdateChannel.
Constructor Details
UpdateChannel
@Deprecated
public UpdateChannel()
Deprecated
Creates a new instance of UpdateChannel value.
Method Details
fromString
public static UpdateChannel fromString(String name)
Creates or finds a UpdateChannel from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known UpdateChannel values.
Returns:
Applies to
Azure SDK for Java