监控与采集相关接口/自动修复
POSTMonitoring起始版本 1.0同步需要认证
生成修复操作
生成候选修复动作指定资源失败场景。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
请求体字段
resourceTypeString必填资源类型。
示例: host
resourceIdString必填资源唯一标识。
示例: host-001-xyz
resourceNameString必填显示名称失败中资源。
示例: compute-node-01
failureTypeString必填失败类型。
示例: hardware_failure
响应状态
请求地址
POST/api/v1/monitoring/remediation/actions
/api/v1/monitoring/remediation/actions
请求示例
curl -X POST '{host}/api/v1/monitoring/remediation/actions' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"resourceType":"host","resourceId":"host-001-xyz","resourceName":"compute-node-01","failureType":"hardware_failure"}'
响应示例
200{
"items": [
{}
]
}变更历史
此 API 暂无变更历史记录。
