ComponentIntegrityCollection
更新时间: 2025/05/25
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/ComponentIntegrity
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | ComponentIntegrityCollection资源模型的OData描述信息 | |
| @odata.id | string | true | ComponentIntegrityCollection资源节点的访问路径 | |
| @odata.type | string | true | ComponentIntegrityCollection资源类型 | |
| Name | string | true | ComponentIntegrityCollection资源的名称 | |
| Members@odata.count | number | true | 完整性报告数量 | |
| Members | array | true | 完整性报告列表 | |
| Members[].@odata.id | string | true | 单个完整性报告资源节点的访问路径 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询组件完整性报告集合资源信息
命令格式
URL: https://device_ip/redfish/v1/ComponentIntegrity
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| auth_value | 执行该请求时,必须在"Headers"中携带"X-Auth-Token"值用于鉴权 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
使用指南
BMC300 5.12.0.1及以上版本支持
使用实例
请求样例:
http
GET https://device_ip/redfish/v1/ComponentIntegrity请求头:
X-Auth-Token: 123456789***********************请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#ComponentIntegrityCollection.ComponentIntegrityCollection",
"@odata.id": "/redfish/v1/ComponentIntegrity",
"@odata.type": "#ComponentIntegrityCollection.ComponentIntegrityCollection",
"Name": "ComponentIntegrity Collection",
"Members@odata.count": 1,
"Members": [
{
"@odata.id": "/redfish/v1/ComponentIntegrity/SPDM_0_1"
}
]
}响应码:200