Modifies the execution time of O&M events.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyActiveOperationTasks |
The operation that you want to perform. Set the value to ModifyActiveOperationTasks. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region in which the instance is located |
Ids | String | Yes | 1 |
The IDs of the O&M events that you want to modify. |
SwitchTime | String | No | 2021-08-15T12:00:00Z |
The time from which the execution of the O&M event starts. |
ImmediateStart | Long | No | 1 |
Specifies whether to modify the event immediately.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 8C9CC90A-9532-4752-B59F-580112C5A45B |
The ID of the request. |
Ids | String | 1 |
The list of the O&M event IDs which are separated by commas (,). |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyActiveOperationTasks
&RegionId=cn-hangzhou
&Ids=1
&SwitchTime=2021-08-15T12:00:00Z
&ImmediateStart=1
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ModifyActiveOperationTasksResponse>
<RequestId>8C9CC90A-9532-4752-B59F-580112C5A45B</RequestId>
<Ids>1</Ids>
</ModifyActiveOperationTasksResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "8C9CC90A-9532-4752-B59F-580112C5A45B",
"Ids" : "1"
}
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.