You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Monitoring
ModifySystemEventDefaultAction - Modifies default O&M operations of events
Copy page
Download PDF
ModifySystemEventDefaultAction - Modifies default O&M operations of events
Call the ModifySystemEventDefaultAction operation to modify the default O&M operation of an event.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters.​
Action string required Sample value: ModifySystemEventDefaultAction​
The action that you want to perform. Value: ModifySystemEventDefaultAction.​
​
Version string required Sample value: 2020-04-01 ​
The API version. Valid value: 2020-04-01.​
​
EventId string required Sample value: e-3ti9101aju3vj0***​
The event ID. You can use the event notification feature or call the DescribeSystemEvents operation to query and obtain the event ID.​
tip​
Currently, this operation is supported only for a DiskErrorDetected event in the Inquiring status.​
​
DefaultAction string required Sample value: Redeploy​
The default O&M operation for the event. Valid values:​
  • Redeploy: Indicates redeployment.​
  • ReplaceDisk: Indicates disk replacement.​
tip​
This operation is not supported for local volumes partitioned via LVM or SRIOV​
​
OperatedStartAt string Optional Sample value: 2023-06-28T18:11:46+08:00​
The start time of the O&M time window for the event.​
tip​
This parameter is required when DefaultAction is set to Redeploy. Format: RFC3339.​
​
OperatedEndAt string Optional Sample value: 2023-06-29T18:29:38+08:00​
The end time of the O&M time window for the event.​
tip​
This parameter is required when DefaultAction is set to Redeploy. Format: RFC3339.​
​
​
​
Response parameters​
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure.​
EventId string Sample value: e-3ti9101aju3vj0***​
The event ID.​
​
RelatedEventId string Sample value: e-98islk8pjuks9i***​
The event ID associated with the event.​
​
​
​
Sample request​
​
GET /?Action=ModifySystemEventDefaultAction&Version=2020-04-01&DefaultAction=Redeploy&EventId=e-3ti9101aju3vj0***&OperatedStartAt=2023-06-28T18:29:38+08:00&OperatedEndAt=2023-06-29T18:11:46+08:00 HTTP/1.1​
Host: ecs.cn-beijing.volcengineapi.com​
Region: cn-beijing​
ServiceName: ecs​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "20210611144510010225243100005******",​
"Action": "ModifySystemEventDefaultAction",​
"Version": "2020-04-01",​
"Service": "ecs",​
"Region": "cn-beijing"​
},​
"Result": {​
"EventId": "e-3ti9101aju3vj0***",​
"RelatedEventId": "e-98islk8pjuks9i***"​
}​
}​
​
Error codes​
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.​
​
Status code​
Error code​
Error message​
Description​
400​
InvalidDefaultAction.Malformed​
The specified DefaultAction is malformed.​
The specified value of DefaultAction is invalid.​
400​
InvalidDefaultAction.Unsupported​
The event related instance does not support the default action.​
The instance associated with the system event does not support the default O&M operation.​
400​
InvalidOperatedEndAt.Malformed​
The specified OperatedEndAt is malformed.​
The specified value of OperatedEndAt is invalid.​
400​
InvalidOperatedStartAt.Malformed​
The specified OperatedStartAt is malformed.​
The specified value of OperatedStartAt is invalid.​
400​
InvalidSystemEventTypeOrStatus.Unsupported​
The specified system event type or status does not support set default action.​
The type or status of the specified event does not support the default O&M operation.​
400​
MissingParameter.DefaultAction​
The required parameter DefaultAction is not supplied.​
The parameter DefaultAction can not be left empty.​
400​
MissingParameter.EventId​
The required parameter EventId is not supplied.​
The parameter EventId cannot be left empty.​
404​
InvalidSystemEvent.NotFound​
The specified system event does not exist.​
The system event does not exist.​
409​
InvalidSystemEvent.Conflict​
The default action for specified system event already set.​
The default O&M operation for the specified event already exists.​
​
Last updated: 2026.06.29 14:20:35