跳到主要内容

GET – 系统 PowerLimit 属性

使用 GET 方法检索 Redfish 服务的 PowerLimit 资源中的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/Controls/PowerLimit

请求正文

响应正文

字段

类型

描述

Id

字符串

“PowerLimit”

Name

字符串

“System Power Limit”

Description

字符串

“This resource shall represent system power limit of a chassis for a Redfish implementation.”

AllowableMax

整数

此控制项的最大可能设置。

AllowableMin

整数

此控制项的最小可能设置。

ControlMode

字符串

“Disabled”或“Manual”。

ControlType

字符串

“Power”

Implementation

字符串

“Programmable”

Increment

数字

1

PhysicalContext

字符串

“Chassis”

RelatedItem

数组

此控制项适用的资源的链接数组。

RelatedItem[N]

链接

{SR}/Chassis/1

{SR}/Chassis/1/PowerSubsystem

Sensor

对象

已展开

 

DataSourceUri

字符串

传感器“Sys Power”的 Redfish 路径。

 

Reading

数字

传感器“Sys Power”的读数。

SetPoint

数字

所需的控件设定点。

SetPointType

字符串

“Single”

SetPointUnits

字符串

“Watt”

Status

对象

已展开

 

State

字符串

“Enabled”

 

Health

字符串

“OK”

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

以下示例是 PATCH 正文

{
"AllowableMin": 0,
"Name": "System Power Limit",
"@odata.context": "/redfish/v1/$metadata#Control.Control",
"@odata.id": "/redfish/v1/Chassis/1/Controls/PowerLimit",
"SetPointUnits": "Watt",
"Sensor": {
"DataSourceUri": "/redfish/v1/Chassis/1/Sensors/161L0",
"Reading": 20
},
"Increment": 1,
"SetPoint": null,
"Status": {
"Health": "OK",
"State": "Enabled"
},
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Chassis/1"
},
{
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem"
}
],
"@odata.etag": "\"7dc0a8359d12266f6b2\"",
"AllowableMax": 1800,
"PhysicalContext": "Chassis",
"Implementation": "Programmable",
"Id": "PowerLimit",
"SetPointType": "Single",
"Oem": {
"Lenovo": {
"LimitMode": "AC",
"@odata.type": "#LenovoControl.v1_0_0.LenovoControl",
"GuaranteedInWatts": 65535,
"CapacityMinAC": null,
"CapacityMaxAC": null,
"CapacityMinDC": null,
"CapacityMaxDC": null
}
},
"@odata.type": "#Control.v1_1_0.Control",
"Description": "This resource shall represent system power limit of a chassis for a Redfish implementation.",
"ControlType": "Power",
"ControlMode": "Disabled"
}