跳到主要内容

PATCH – 更新事件服务属性

使用 PATCH 方法更新事件服务资源属性。

请求 URL

PATCH https://<BMC_IPADDR>/redfish/v1/EventService

请求正文

字段类型描述

DeliveryRetryAttempts

整数

范围:1~10

DeliveryRetryIntervalSeconds

整数

范围:5~300

SMTP

对象

已展开。

 

Authentication

字符串

SMTP 服务器的认证方法。

 

FromAddress

字符串

传出电子邮件的“发件人”地址。

 

Password

字符串

用于向 SMTP 服务器进行认证的密码。此值在响应中为“null”。

 

Port

数字

目标 SMTP 端口。

 

ServerAddress

字符串

SMTP 服务器的地址。

 

Username

字符串

用于向 SMTP 服务器进行认证的用户名。

响应

响应返回的内容与 GET 操作相同,但更新了属性。

状态代码

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