你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
UpdateChannel 类
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. redis. models. UpdateChannel
- com.
- com.
public final class UpdateChannel
extends ExpandableStringEnum<UpdateChannel>
可选:指定 Redis 缓存将接收的每月 Redis 更新的更新通道。 使用“预览”更新通道的缓存至少比“稳定”通道缓存早 4 周获取最新的 Redis 更新。 默认值为“Stable”。
字段摘要
修饰符和类型 | 字段和描述 |
---|---|
static final
Update |
PREVIEW
更新 |
static final
Update |
STABLE
静态值 Stable for Update |
构造函数摘要
构造函数 | 说明 |
---|---|
UpdateChannel() |
已放弃
使用 fromString(String name) 工厂方法。
创建更新 |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
static
Update |
fromString(String name)
从其字符串表示形式创建或查找更新 |
static
Collection<Update |
values()
获取已知的更新 |
方法继承自 ExpandableStringEnum
方法继承自 java.lang.Object
字段详细信息
PREVIEW
public static final UpdateChannel PREVIEW
UpdateChannel 的静态值预览。
STABLE
public static final UpdateChannel STABLE
UpdateChannel 的静态值稳定。
构造函数详细信息
UpdateChannel
方法详细信息
fromString
public static UpdateChannel fromString(String name)
从其字符串表示形式创建或查找 UpdateChannel。
Parameters:
name
- 要查找的名称。
Returns:
相应的 UpdateChannel。
values
public static Collection
获取已知的 UpdateChannel 值。
Returns:
已知的 UpdateChannel 值。