查询日志服务集合资源信息
命令功能
查询当前日志服务集合资源信息。
命令格式
操作类型:GET
URL:https://device_ip/redfish/v1/Systems/LogServices
请求头:
X-Auth-Token: auth_value
请求消息体:无
使用指南
无
使用实例
请求样例:
GET https://10.10.10.10/redfish/v1/Systems/LogServices
请求头:
X-Auth-Token: auth_value
请求消息体:无
响应样例:
{
"@odata.context": "/redfish/v1/$metadata#Systems/LogServices/$entity",
"@odata.id": "/redfish/v1/Systems/LogServices",
"@odata.type": "#LogServiceCollection.LogServiceCollection",
"Name": "LogService Collection",
"Members@odata.count": 4,
"Members": [
{
"@odata.id": "/redfish/v1/Systems/LogServices/NPU"
},
{
"@odata.id": "/redfish/v1/Systems/LogServices/MindXOM"
},
{
"@odata.id": "/redfish/v1/Systems/LogServices/OSDivers"
},
],
"Oem": {
"progress": {
"@odata.id": "/redfish/v1/Systems/LogServices/progress"
},
"Actions": {
"#download": {
"target": "/redfish/v1/Systems/LogServices/Actions/download"
}
}
}
}
响应码:200
输出说明
字段 |
类型 |
说明 |
|---|---|---|
@odata.context |
字符串 |
日志服务集合资源模型的OData描述信息。 |
@odata.id |
字符串 |
日志服务集合资源的访问路径。 |
@odata.type |
字符串 |
日志服务集合资源的类型。 |
Name |
字符串 |
日志服务集合资源的名称。 |
Members@odata.count |
数字 |
当前日志服务资源数量。 |
Members |
对象 |
日志服务资源列表。 |
Members@odata.id |
字符串 |
单个日志服务资源节点的访问路径。 |
Oem |
对象 |
自定义字段。 |
progress |
对象 |
日志下载进度信息。 |
progress@odata.id |
字符串 |
日志下载进度信息的访问路径。 |
Actions |
对象 |
日志下载信息。 |
target |
字符串 |
下载日志信息访问路径。 |
父主题: 软件管理