drs__ListJobs
Retrieve and filter Huawei Cloud DRS tasks by project, engine type, network, status, name, or ID to monitor migration, sync, and cloudDataGuard jobs.
Instructions
[DRS] 查询租户任务列表,可以根据企业项目,引擎类型,网络类型,任务状态,任务名称,任务ID进行查询。
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": {
"job_type": "<job_type>",
"project_id": "<project_id>"
},
"name": "drs__ListJobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 任务ID或名称。 | |
| limit | No | 查询返回记录的数量限制。 | |
| offset | No | 偏移量,表示查询该偏移量后面的记录。 | |
| status | No | 任务状态。取值: | |
| job_type | Yes | 任务场景。取值: | |
| net_type | No | 网络类型。取值: | |
| sort_dir | No | 降序或升序(分别对应desc和asc,默认为“desc”)。 | |
| sort_key | No | 返回结果按该关键字排序,默认为“create_time”。 | |
| project_id | Yes | 租户在某一Region下的Project ID。 | |
| engine_type | No | 引擎类型。取值: | |
| instance_ip | No | 数据库实例IP | |
| instance_ids | No | 数据库实例ID列表,最多支持10个 | |
| enterprise_project_id | No | 企业项目ID。 缺省值:"",表示查询所有企业项目任务。 |