dws__UpdateMaintenanceWindow
Set or update a DWS cluster's maintenance window by defining the day, start time, and end time, so maintenance runs during low-traffic periods and avoids service interruptions.
Instructions
[DWS] 您可以根据业务需求,设置可维护时间段。建议将可维护时间段设置在业务低峰期,避免业务在维护过程中异常中断。
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": {
"cluster_id": "<cluster_id>",
"day": "<day>",
"end_time": "<end_time>",
"project_id": "<project_id>",
"start_time": "<start_time>"
},
"name": "dws__UpdateMaintenanceWindow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | 日期,范围:Mon、Tue、Wed、Thu、Fri、Sat、Sun。 | |
| end_time | Yes | 结束时间,UTC时间,格式为HH:mm,例如:02:00。 | |
| cluster_id | Yes | **参数解释**: | |
| project_id | Yes | **参数解释**: | |
| start_time | Yes | 开始时间,UTC时间,格式为HH:mm,例如:22:00。 |