sdrs__ListFailureJobs
Lists failed jobs across all protection groups or within a specified group, with filters for resource name, resource type, and failure status to identify and troubleshoot unsuccessful disaster recovery operations.
Instructions
[SDRS] 查询所有保护组失败任务列表或者指定保护组下的所有失败任务列表。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "sdrs__ListFailureJobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 每次请求返回结果个数限制。取值范围为[0,1000]的正整数,默认值为1000。 | |
| offset | No | 每次请求开始的下标,即偏移量,默认值为0。offset必须为数字,不能为负数。 | |
| project_id | Yes | 项目ID。 | |
| resource_name | No | 保护组资源名称。 | |
| resource_type | No | 资源类型。server_groups:表示保护组。protected_instances:表示保护实例。replications:表示复制对。disaster_recovery_drills:表示容灾演练。 | |
| failure_status | No | 失败任务状态。createFail:表示创建失败。deleteFail:表示删除失败。attachFail:表示挂载失败。detachFail:表示卸载失败。expandFail:表示扩容失败。resizeFail:表示变更规格失败。startFail:表示开启保护失败。stopFail:表示停止保护失败。reverseFail:表示切换失败。failoverFail:表示故障切换失败。reprotectFail : 表示重保护失败。 | |
| server_group_id | No | 保护组ID。 |