跳到主要内容

GET – CPU PowerLimit 属性

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

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/Controls/CPU{N}_PowerLimit

请求正文

响应正文

字段

类型

描述

Id

字符串

“CPU{N}_PowerLimit”

Name

字符串

“CPU{N} Power Limit”

Description

字符串

“This resource shall represent CPU power capping of a chassis for a Redfish implementation.”

ControlMode

字符串

“Automatic”

ControlType

字符串

“Power”

Implementation

字符串

“Programmable”

Increment

数字

1

PhysicalContext

字符串

CPU

RelatedItem

数组

项:链接,项数:2

 

RelatedItem[N]

链接

{SR}/Chassis/1

{SR}/Systems/1/Processors/{N}

Sensor

对象

已展开

 

DataSourceUri

字符串

传感器“CPU{N}_Power”的 Redfish 路径。

 

Reading

数字

等于传感器“CPU{N}_Power”的读数。

SetPoint

数字

NULL

SetPointType

字符串

“Single”

SetPointUnits

字符串

“Watt”

Status

对象

已展开

 

State

字符串

“Enabled”

 

Health

字符串

“OK”

状态代码

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

示例

返回以下示例 JSON 响应:

{
"ControlType": "Power",
"Id": "CPU1_PowerLimit",
"Name": "CPU 1 Power Limit",
"@odata.type": "#Control.v1_2_0.Control",
"@odata.id": "/redfish/v1/Chassis/1/Controls/CPU1_PowerLimit",
"Sensor": {
"DataSourceUri": "/redfish/v1/Chassis/1/Sensors/CPU1_Power",
"Reading": null
},
"SetPointUnits": "Watt",
"SetPointType": "Single",
"SetPoint": null,
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Chassis/1"
}
],
"Increment": 1,
"Description": "This resource shall represent CPU power capping of a chassis for a Redfish implementation.",
"ControlMode": "Automatic",
"PhysicalContext": "CPU",
"@odata.context": "/redfish/v1/$metadata#Control.Control",
"Implementation": "Programmable",
"@odata.etag": "\"504675cebc6f272c713\"",
"Status": {
"Health": "OK",
"State": "Enabled"
}
}