GET – MetricReportDefinition 集合
使用 GET 方法检索 Redfish 服务的 MetricReportDefinition 集合资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/TelemetryService/MetricReportDefinitions
请求正文
无
响应正文
字段 | 类型 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|
Members | 数组 | 项:MetricReportDefinition 元素的引用链接 | ||||||
Name | 字符串 | MetricReportDefinitions | ||||||
Description | 字符串 | “A Collection of MetricReportDefinition resource instances.” |
注:“MetricReportDefinition”集合可能包含以下成员:
CPUTemp
CPUTempEvent
InletAirTemp
InletAirTempEvent
PowerMetrics
PowerMetricsEvent
PowerSupplyStats
PowerSupplyStatsEvent
CPUPowerMetrics(Lenovo AMD 2p 系统上不支持)
CPUPowerMetricsEvent(Lenovo AMD 2p 系统上不支持)
CPUUtilizationStats(Lenovo AMD 2p 系统上不支持)
CPUUtilizationStatsEvent(Lenovo AMD 2p 系统上不支持)
MemoryUtilizationStats(Lenovo AMD 2p 系统上不支持)
MemoryUtilizationStatsEvent(Lenovo AMD 2p 系统上不支持)
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"Members": [
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/CPUTemp"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/CPUTempEvent"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/InletAirTemp"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/InletAirTempEvent"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/PowerMetrics"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/PowerMetricsEvent"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/PowerSupplyStats"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/PowerSupplyStatsEvent"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/CPUUtilizationStats"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/CPUUtilizationStatsEvent"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/MemoryUtilizationStats"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/MemoryUtilizationStatsEvent"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/CPUPowerMetrics"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/CPUPowerMetricsEvent"
}
],
"@odata.type": "#MetricReportDefinitionCollection.MetricReportDefinitionCollection",
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions",
"Name": "MetricReportDefinitions",
"@odata.etag": "\"b4e9fce087662d2afe14f\"",
"Members@odata.count": 14,
"Description": "A Collection of MetricReportDefinition resource instances."
提供反馈