Modifies the maintenance window of a specified instance.
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyInstanceMaintainTime |
The operation that you want to perform. Set the value to ModifyInstanceMaintainTime. |
ClusterId | String | Yes | ld-bp1b**6jco89**** |
The ID of the instance. You can call the DescribeInstances operation to query the instance ID. |
MaintainStartTime | String | Yes | 02:00Z |
The start time of the maintenance window. The time is in the HH:mmZ format and is displayed in UTC. |
MaintainEndTime | String | Yes | 06:00Z |
The end time of the maintenance window. The time is in the HH:mmZ format and is displayed in UTC. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | C9085433-A56A-4089-B49A-DF5A4E2B7B06 |
The ID of the request. |
Examples
Sample requests
http(s)://hbase.aliyuncs.com/?Action=ModifyInstanceMaintainTime
&ClusterId=ld-bp1b**6jco89****
&MaintainEndTime=06:00Z
&MaintainStartTime=02:00Z
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<RequestId>C9085433-A56A-4089-B49A-DF5A4E2B7B06</RequestId>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "C9085433-A56A-4089-B49A-DF5A4E2B7B06"
}
Error codes
For a list of error codes, visit the API Error Center.