Go to main content

Oracle® ZFS Storage Appliance RESTful API 指南,发行版 OS8.8.0

退出打印视图

更新时间: 2018 年 11 月
 
 

系统更新

这些命令用于管理系统更新映射。

表 86  更新命令
请求
附加到路径 /api/system/v1
说明
GET
/updates
列出所有系统更新
GET
/updates/update
获取指定的系统更新属性
GET
/update/platform
显示平台固件的更新状态(请参阅控制器上的服务处理器和系统板固件)。
GET
/update/firmware
显示组件固件的更新状态(请参阅磁盘和 SSD 固件,另请参阅磁盘盒 IOM 固件)
PUT
/updates/update
修改更新设置
PUT
/updates/update/upgrade
升级到指定的更新映射
PUT
/updates/update/check
对指定的更新映射执行升级运行状况检查
PUT
/updates/update/rollback
回滚到指定的更新映射
PUT
/updates-apply
应用不兼容的延迟更新
DELETE
/updates/update
销毁指定的系统更新
POST
/updates
将更新映射加载到设备上
表 87  系统更新属性
属性
类型
说明
version
string
更新介质版本
release_date
DateTime
更改发行日期
install_date
DateTime
更新最新安装日期;如果未安装,则为下载到设备的日期
status
string
更新介质状态(不可变)
update_deferred
ChooseOne
延迟设置:onrebootonrequest

延迟更新通知:

The following updates enable features that are incompatible with earlier
software versions. As these updates cannot be reverted once committed, and
peer system resources are updated across a cluster, verifying first that the
system upgrade is functioning properly before applying deferred updates is
advised.