Oracle® ZFS Storage Appliance RESTful API 指南,发行版 2013.1.5.0

退出打印视图

更新时间: 2016 年 2 月
 
 

系统更新

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

表 101  更新命令
请求
路径 /api/system/v1
描述
GET
/updates
列出所有系统更新
GET
/updates/<update>
获取指定的系统更新属性
GET
/updates-firmware
列出其余待升级组件、最后一次尝试时间、以及这些组件的当前状态
PUT
/updates/<update>
修改更新设置
PUT
/updates/<update>/upgrade
升级到指定的更新映射
PUT
/updates/<update>/check
对指定的更新映射执行升级运行状况检查
PUT
/updates/<update>/rollback
回滚到指定的更新映射
PUT
/updates-apply
应用不兼容的延迟更新
DELETE
/updates/<update>
销毁指定的系统更新
POST
/updates
将更新映射加载到设备上
表 102  系统更新属性
名称
类型
描述
version
字符串
更新介质版本
date
DateTime
更改发行日期
status
字符串
更新介质状态(不可变)
update_deferred
ChooseOne
延迟设置 ["onreboot"、"onrequest"]

延迟更新通知:

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.