获取暂挂、已失败和正在进行的组件固件更新的数量。组件固件是磁盘、SSD 固件和磁盘盒 IOM 固件的统称。
请求示例:
GET /api/system/v1/update/firmware HTTP/1.1 Authorization: Basic Tm8gcGVla2luZyE= Host: zfs-storage.example.com:215 Accept: application/json
结果示例:
HTTP/1.1 200 OK
X-Zfssa-Appliance-Api: 1.0
Content-Length: 541
Content-Type: application/json
{
"firmware": {
"href": "/api/system/v1/update/firmware",
"upgrades_pending": 0,
"upgrades_failed": 0,
"upgrades_in_progress": 0
}
}