Go to main content

Oracle® ZFS Storage Appliance RESTful API 指南,发行版 OS8.8.0

退出打印视图

更新时间: 2018 年 11 月
 
 

警报服务命令

下表显示了警报服务命令。

表 6  警报服务命令
请求
附加到路径 /api/alert/v1
说明
GET
仅使用 /api/alert/v1
列出警报服务命令
POST
/thresholds
创建新的警报阈值监视
GET
/thresholds/threshold
获取指定的警报阈值监视属性
GET
/thresholds
列出所有警报阈值监视对象
PUT
/thresholds/threshold
修改指定的警报阈值监视对象
DELETE
/thresholds/threshold
销毁指定的阈值对象
POST
/actions
创建新的警报操作
GET
/actions/actions
获取指定的警报操作属性
GET
/actions
列出所有警报操作对象
PUT
/actions/actions
修改指定的警报操作对象
DELETE
/actions/actions
销毁指定的操作对象
POST
/actions/actions
创建新的警报操作的操作
GET
/actions/actions/action
获取指定的警报操作的操作属性
PUT
/actions/actions/action
修改指定的警报操作的操作对象
DELETE
/actions/actions/action
销毁指定的操作对象
GET
/events
侦听新的警报事件