GET – 遥测服务属性
使用 GET 方法检索 Redfish 服务的遥测服务资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/TelemetryService
请求正文
无
响应正文
| 字段 | 类型 | 描述 | ||||||
|---|---|---|---|---|---|---|---|---|
Id  | 字符串 | “TelemetryService”。  | ||||||
Name  | 字符串 | “Telemetry Service”。  | ||||||
Description  | 字符串 | “This resource shall be used to represent a Metrics Service for a Redfish implementation.”  | ||||||
ServiceEnabled  | 布尔 | 如果 FoD 为 2 或更大,则此值为 true,否则为 false。  | ||||||
SupportedCollectionFunctions  | 数组 | “Average”、“Minimum”、“Maximum”  | ||||||
Status  | 对象 | 遥测服务的状态。  | ||||||
State  | 字符串 | 遥测服务的状态。  | ||||||
Health  | 字符串 | 遥测服务的运行状况。  | ||||||
MetricDefinitions  | 链接 | 指标定义集合的链接。  | ||||||
MetricReportDefinitions  | 链接 | 指标报告定义集合的链接。  | ||||||
MetricReports  | 链接 | 指标报告集合的链接。  | ||||||
Actions  | 对象 | 已展开  | ||||||
#TelemetryService. SubmitTestMetricReport  | 对象 | 此操作将生成指标报告。  | ||||||
target  | 链接 | 调用操作的链接。  | ||||||
title  | 字符串 | “SubmitTestMetricReport”  | ||||||
@Redfish.ActionInfo  | 链接 | 此操作的信息的链接。  | ||||||
状态代码
| HTTP 状态代码 | 错误消息 ID | 
|---|---|
| 500 | InternalError | 
示例
返回以下示例 JSON 响应:
{
    "MetricReports": {
        "@odata.id": "/redfish/v1/TelemetryService/MetricReports"
    },
    "@odata.id": "/redfish/v1/TelemetryService",
    "Status": {
        "State": "Enabled",
        "Health": "OK"
    },
    "Name": "Telemetry Service",
  "ServiceEnabled": true,
    "SupportedCollectionFunctions": [
        "Average",
        "Minimum",
        "Maximum"
    ],
    "Id": "TelemetryService",
    "@odata.type": "#TelemetryService.v1_1_1.TelemetryService",
    "MetricDefinitions": {
        "@odata.id": "/redfish/v1/TelemetryService/MetricDefinitions"
    },
    "MetricReportDefinitions": {
        "@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions"
    },
    "@odata.etag": "\"7913d34db76cc9af9c13306d210b0da7\"",
    "Actions": {
        "#TelemetryService.SubmitTestMetricReport": {
            "target": "/redfish/v1/TelemetryService/Actions/TelemetryService.SubmitTestMetricReport",
            "@Redfish.ActionInfo": "/redfish/v1/TelemetryService/SubmitTestMetricReportActionInfo",
            "title": "SubmitTestMetricReport"
        }
    },
    "Description": "This resource shall be used to represent a Metrics Service for a Redfish implementation."
}
提供反馈