GET – SMTP-{N} 的事件订阅
使用 GET 方法检索服务器的事件订阅条目中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/EventService/Subscriptions/REST-SMTP-{N}
请求正文
无
响应正文
字段 | 类型 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|
Id | 字符串 | REST-SMTP-{N},N 介于 1 - 12 之间 | ||||||
Name | 字符串 | REST-SMTP-{N},N 介于 1 - 12 之间 | ||||||
Context | 字符串 | 空字符串。 | ||||||
Status | 对象 | 已展开。 | ||||||
State | 字符串 | 此订阅的状态。可能的值为“Enabled”和“Disabled”。 | ||||||
EventFormatType | 布尔 | 事件 | ||||||
Destination | 字符串 | 此属性应包含要将事件发送到的目标的 URI。 | ||||||
SubscriptionType | 字符串 | Redfish 事件 | ||||||
Description | 数组 | “This resource represents an event destination for a Redfish implementation.” | ||||||
Protocol | 字符串 | SMTP |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
提供反馈