查询升级资源集合
命令功能
查询固件升级资源集合。
命令格式
操作类型:GET
URL:https://device_ip/redfish/v1/UpdateService
请求头:
X-Auth-Token: auth_value
请求消息体:无
使用指南
无
使用说明
请求样例:
GET https://10.10.10.10/redfish/v1/UpdateService
请求头:
X-Auth-Token: auth_value
请求消息体:无
响应样例:
{
"@odata.context": "/redfish/v1/$metadata#UpdateService",
"@odata.id": "/redfish/v1/UpdateService",
"@odata.type": "#UpdateService.v1_0_0.UpdateService",
"Actions": {
"#UpdateService.Reset": {
"target": "/redfish/v1/UpdateService/Actions/UpdateService.Reset"
},
"#UpdateService.SimpleUpdate": {
"target": "/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate"
}
},
"FirmwareInventory": {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory"
},
"Id": "UpdateService",
"Name": "Update Service",
"ServiceEnabled": null,
"Status": {
"Health": null,
"Status": null
}
}
响应码:200
输出说明
字段 |
类型 |
说明 |
|---|---|---|
@odata.context |
字符串 |
升级任务资源模型的OData描述信息。 |
@odata.id |
字符串 |
当前任务资源的访问路径。 说明:
您可以访问该资源,获取该任务的详细信息。 |
@odata.type |
字符串 |
升级任务资源的类型。 |
Actions.#UpdateService.Reset.target |
字符串 |
固件生效URL。 |
Actions.#UpdateService.SimpleUpdate.target |
字符串 |
升级固件URL。 |
FirmwareInventory.@odata.id |
字符串 |
文件上传URL。 |
Id |
字符串 |
当前任务资源ID。 |
name |
字符串 |
当前任务资源名称。 |
ServiceEnabled |
字符串 |
升级服务使能开关。 |
Status.Health |
字符串 |
升级服务健康状态。 |
Status.Status |
字符串 |
升级服务状态。 |
父主题: 软件管理