GET – 资源 LenovoServiceData
使用 GET 方法检索 Redfish 服务的 LenovoServiceData 资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/Oem/Lenovo/ServiceData
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Id | 字符串 | “ServiceData” | |||
Name | 字符串 | “ServiceData” | |||
Description | 字符串 | “This resource is used to represent resources that are used to collect service Data, including FFDC and latest OS failure screen.” | |||
FileTransferTimeout | 数字 | 将文件上传到服务器的超时限制。 | |||
DataCollectionType | 字符串 | “ProcessorDump”、“ServiceDataFile”、“BootPOSTDump”、“Mini-log”。 | |||
ExportingSchemes | 字符串 | “TFTP”、“SFTP” | |||
IsScreenAvailable | 布尔 | 检查故障屏幕快照文件是否存在。 | |||
Screenshot | 对象 | 已展开 | |||
ThroughFEH | 布尔 | 通过 FEH 获取屏幕快照。 | |||
Actions | 对象 | 已展开 | |||
#LenovoServiceData.ExportFFDCData | 字符串 | 已展开 | |||
DataCollectionType@Redfish.AllowableValues | 字符串 | 项:字符串 项数:4 | |||
DataCollectionType@Redfish.AllowableValues[0] | 字符串 | “ProcessorDump” | |||
DataCollectionType@Redfish.AllowableValues[1] | 字符串 | “ServiceDataFile” | |||
DataCollectionType@Redfish.AllowableValues[2] | 字符串 | “BootPOSTDump” | |||
DataCollectionType@Redfish.AllowableValues[3] | 字符串 | “Mini-log” | |||
#LenovoServiceData.ExportLatestOSFailureScreen | 对象 | 已展开 | |||
LenovoServiceData.ExportHealthReport | 对象 | 已展开 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"FileTransferTimeout": 600,
"Id": "ServiceData",
"Name": "Service Data",
"@odata.type": "#LenovoServiceData.v1_0_0.LenovoServiceData",
"@odata.id": "/redfish/v1/Managers/1/Oem/Lenovo/ServiceData",
"@odata.context": "/redfish/v1/$metadata#LenovoServiceData.LenovoServiceData",
"IsScreenAvailable": false,
"ExportingSchemes": "TFTP, SFTP",
"Actions": {
"#LenovoServiceData.ExportLatestOSFailureScreen": {
"target": "/redfish/v1/Managers/1/Oem/Lenovo/ServiceData/Actions/LenovoServiceData.ExportLatestOSFailureScreen",
"title": "ExportLatestOSFailureScreen"
},
"#LenovoServiceData.ExportHealthReport": {
"target": "/redfish/v1/Managers/1/Oem/Lenovo/ServiceData/Actions/LenovoServiceData.ExportHealthReport",
"title": "ExportHealthReport"
},
"#LenovoServiceData.ExportFFDCData": {
"target": "/redfish/v1/Managers/1/Oem/Lenovo/ServiceData/Actions/LenovoServiceData.ExportFFDCData",
"DataCollectionType@Redfish.AllowableValues": [
"ProcessorDump",
"ServiceDataFile",
"BootPOSTDump",
"Mini-log"
],
"title": "ExportFFDCData"
}
},
"@odata.etag": "\"959567b6f1b834aaf4d45\"",
"DataCollectionType": "ProcessorDump, ServiceDataFile, BootPOSTDump, Mini-log",
"Screenshot": {
"ThroughFEH": false
},
"Description": "This resource is used to represent resources that are used to collect service Data, including FFDC and latest OS failure screen."
}