FirmwareInventoryCollection
更新时间: 2026/06/26
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Sms/1/UpdateService/FirmwareInventory
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.type | string | true | - | 当前固件清单资源类型 |
| Name | string | true | - | 当前固件清单资源的名称 |
| Description | string | true | - | 当前资源描述信息 |
| Members@odata.count | number | true | - | 当前固件清单资源数量 |
| Members | array | true | - | 固件清单资源列表 |
| Members[].@odata.id | string | true | - | 单个固件清单资源节点的访问路径 |
| @odata.context | string | true | - | 当前资源模型的OData描述信息 |
| @odata.id | string | true | - | 单个固件清单资源节点的访问路径 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询带内升级固件集合资源信息
命令格式
URL: https://device_ip/redfish/v1/Sms/1/UpdateService/FirmwareInventory
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| auth_value | 请求消息的鉴权参数 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
使用指南
无
使用实例
请求样例:
http
GET https://device_ip/redfish/v1/Sms/1/UpdateService/FirmwareInventory请求头:
X-Auth-Token: 123456789***********************请求消息体:无
响应样例:
json
{
"@odata.type": "#SoftwareInventoryCollection.FirmwareInventory",
"Name": "Firmware Collection",
"Description": "Firmware for the hardware",
"Members@odata.count": 1,
"Members": [
{
"@odata.id": "/redfish/v1/Sms/1/UpdateService/FirmwareInventory/FirmwareID"
}
],
"@odata.context": "/redfish/v1/Sms/1/UpdateService/FirmwareInventory/$entity",
"@odata.id": "/redfish/v1/Sms/1/UpdateService/FirmwareInventory"
}响应码:200