|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The cluster maintenance window. |
||
| duration |
string |
The maintenance duration. Valid values: 1 to 24. Unit: hours. Default value: 3h. |
3h |
| enable |
boolean |
Specifies whether to enable the maintenance window. Valid values:
Default value: |
false |
| exclusions |
array |
The list of maintenance window exclusions. A maximum of 10 exclusions are supported. Exclusions take precedence over the maintenance window. Even if the current time falls within the maintenance window, proactive O&M operations covered by an active exclusion are not executed. If multiple exclusions are active at the same time, the union of the exclusions is applied. The total number of NoOperations and NoUpgrades exclusions cannot exceed 3. Only one-time periods are supported. Periodic configurations are not supported. |
|
|
object |
|||
| description |
string |
The description of the exclusion. The description can be up to 128 characters in length and does not support 4-byte characters such as emojis. |
No changes are allowed during the change freeze period |
| end_time |
string |
The end time of the exclusion. The time must be in RFC 3339 standard format, later than the start_time, and later than the current time. Maximum duration for a single exclusion: 30 days for NoOperations, NoUpgrades, and NoCVEPatch, and 180 days for NoMinorUpgrades. |
2026-11-15T00:00:00+08:00 |
| name |
string |
The name of the exclusion. The name must be 1 to 63 characters in length and can contain digits, underscores (_), and hyphens (-). It must start with a letter, a Chinese character, or a digit. The name must be unique within the same maintenance window. If you do not specify this parameter, the system generates a name in the exclusion-{random string} format by default. |
exclusion-holiday |
| scope |
string |
The scope of the exclusion, which specifies the types of proactive O&M operations that are prohibited during this time period. Valid values (case-sensitive):
|
NoOperations |
| start_time |
string |
The start time of the exclusion. The time must be in RFC 3339 standard format and use the same time zone offset as the end_time and maintenance_time. |
2026-11-01T00:00:00+08:00 |
| maintenance_time |
string |
The start time of the maintenance window. The time must be in RFC 3339 standard format. |
2020-10-15T12:31:00.000+08:00 |
| recurrence |
string |
The recurrence rule for the maintenance window, defined by using the RFC 5545 Recurrence Rule syntax. Only FREQ=WEEKLY is supported. COUNT and UNTIL are not supported. |
FREQ=WEEKLY;INTERVAL=4;BYDAY=MO,TU |
| weekly_period |
string |
The weekly period for the maintenance window. Separate multiple values with commas (,). Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday. Default value: |
Monday,Thursday |