GET – GPU EnvironmentMetrics properties
Use the GET method to retrieve properties of GPU EnvironmentMetrics resource for Redfish service.
Request URL
Note
This resource is only supported by NVIDIA GPU in AMD-based systems.
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Processors/GPU{1-N}/EnvironmentMetrics
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Description | String | This resource shall represent an environment metrics for a Redfish implementation. | |||
Id | String | “EnvironmentMetrics” | |||
Name | String | “GPU{N} EnvironmentMetrics” | |||
PowerWatts | Object | Expanded | |||
DataSourceUri | String | Redfish sensor resource path of “GPU{N}_Power” sensor | |||
Reading | Number | equals to “GPU{N}_Power” sensor reading. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
“Id”:” EnvironmentMetrics”,
“Name”:” GPU1 EnvironmentMetrics”
"@odata.type": "#EnvironmentMetrics.v1_2_0.EnvironmentMetrics",
"@odata.id": "/redfish/v1/Chassis/1/EnvironmentMetrics",
"@odata.etag": "\"3d6b38a53bed29662db\"",
"Description": " This resource shall represent an environment metrics for a Redfish implementation.",
“PowerWatts”: {
“DataSourceUri”:”/redfish/v1/Chassis/1/Sensors/GPU1_Power”,
“Reading”:60
}
}
Give documentation feedback