GET – BMC 串口属性
使用 GET 方法检索 Redfish 服务的串口资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/SerialInterfaces/1
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Id | 字符串 | “1” | |||
Description | 字符串 | Redfish 串口 | |||
Name | 字符串 | Serial Interface | |||
InterfaceEnabled | 布尔 | 指示是否启用此接口。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
请求成功时,将返回类似于以下内容的消息正文:
{
"@odata.context": "/redfish/v1/$metadata#SerialInterface.SerialInterface",
"@odata.etag": "\"FFD62735\"",
"@odata.id": "/redfish/v1/Managers/1/SerialInterfaces/1",
"@odata.type": "#SerialInterface.v1_1_8.SerialInterface",
"Description": "Serial port redirection of the host.",
"Id": "1",
"InterfaceEnabled": true,
"Name": "Serial Interface",
"Oem": {
...
}
}
}
提供反馈