Modifies the time configurations of O&M events.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyActiveOperationMaintainConf

The operation that you want to perform. Set the value to ModifyActiveOperationMaintainConf.

RegionId String Yes cn-hangzhou

The region ID of the instances for which the requested O&M events are configured.

CycleType String No Week

The repeat pattern of the requested O&M event. Valid value: Week.

CycleTime String No 1,2,3,4,5,6,7

The day on which the O&M events are executed cyclically in each week.

MaintainStartTime String No 02:00:00Z

The start time of the O&M events.

MaintainEndTime String No 02:00:00Z

The end time of the O&M events.

Status Integer No 1

Indicates status of the O&M events.

  • 1: indicates that the status of the O&M event is executed.
  • 0: indicates that the status of the O&M event is not executed.

Response parameters

Parameter Type Example Description
RequestId String 4035409E-7297-4115-ABC9-C1C3942BC069

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyActiveOperationMaintainConf
&RegionId=cn-hangzhou
&CycleType=Week
&CycleTime=1,2,3,4,5,6,7
&MaintainStartTime=02:00:00Z
&MaintainEndTime=02:00:00Z
&Status=1
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ModifyActiveOperationMaintainConfResponse>
    <RequestId>4035409E-7297-4115-ABC9-C1C3942BC069</RequestId>
</ModifyActiveOperationMaintainConfResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "4035409E-7297-4115-ABC9-C1C3942BC069"
}

Error codes

HttpCode Error code Error message Description
400 IdempotentParameterMismatch The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. The error message returned because the request uses the same token that is used by a non-identical request. Only identical requests can use the same client token.

For a list of error codes, visit the API Error Center.