PATCH – 更新系统 PowerLimit 属性
使用 PATCH 方法更新 PowerLimit 资源属性。
请求 URL
注
以下系统不支持此设置:基于 AMD 的系统、未安装 XCC3 Premier 许可证的系统。
PATCH https://<BMC_IPADDR>/redfish/v1/Chassis/1/Controls/PowerLimit
请求正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
ControlMode | 字符串 | “已禁用”或“手动”。 | |||
SetPoint | 数字 | 所需的控件设定点。在同时给定 SetPoint 和 ControlMode 的情况下,如果 SetPoint 是一个数字,则 ControlMode 必须为“Manual”,如果 SetPoint 为 null,则 ControlMode 必须为“Disabled”,反之亦然,否则返回 400 Conflict。 |
响应
响应返回的内容与 GET 操作相同,但包含 PowerLimit 属性。
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
提供反馈