You need to enable JavaScript to run this app.
文档中心
云服务器

云服务器

复制全文
下载 pdf
监控
DescribeSystemEventDefaultAction - 查询事件默认设置的运维操作
复制全文
下载 pdf
DescribeSystemEventDefaultAction - 查询事件默认设置的运维操作
调用 DescribeSystemEventDefaultAction 接口,查询事件默认设置的运维操作。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:DescribeSystemEventDefaultAction​
要执行的操作,取值:DescribeSystemEventDefaultAction。​
​
Version string 必选 示例值:2020-04-01​
API的版本,取值:2020-04-01。​
​
EventId string 必选 示例值:e-3ti9101aju3vj0***​
事件ID。您可以通过事件通知或DescribeSystemEvents接口查询获取。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
DefaultAction string 示例值:Redeploy​
事件默认的运维操作,取值:​
  • Redeploy:重新部署​
  • ReplaceDisk:更换硬盘​
​
EventId string 示例值:e-3ti9101aju3vj0***​
事件ID。​
​
RelatedSystemEvent object 示例值:--​
关联的系统事件信息。​
Category string 示例值:ResourceEvent​
系统事件类别。取值:​
  • ResourceEvent:资源事件​
  • TaskEvent:任务事件​
​
CreatedAt string 示例值:2021-06-29T18:11:46+08:00​
系统事件创建时间。​
​
ExtraInfo object 示例值:{"VolumeId": "vol-3tiegs1y963vj***","DeviceName": "/dev/sda"}​
系统事件的扩展信息。​
​
Id string 示例值:e-3tiegs1y963vj0******​
系统事件ID。​
​
ImpactLevel string 示例值:Info-信息​
系统事件的影响等级。取值:​
  • Critical-严重​
  • Warning-警告​
  • Info-信息​
​
OperatedEndAt string 示例值:2022-08-30T15:11:46+08:00​
运维时间窗口结束时间。​
​
OperatedStartAt string 示例值:2022-09-10T18:11:46+08:00​
运维时间窗口的起始时间。​
​
ResourceId string 示例值:i-3tiegs1y963vj0******​
资源ID。​
​
Status string 示例值:Execting​
系统事件的状态。​
​
Type string 示例值:SystemFailure_Stop​
系统事件的类型。​
​
UpdatedAt string 示例值:2021-06-29T18:11:46+08:00​
系统事件更新时间。​
​
​
​
​
请求示例​
​
GET /?Action=DescribeSystemEventDefaultAction&Version=2020-04-01&EventId=e-3ti9101aju3vj0*** HTTP/1.1​
Host: ecs.cn-beijing.volcengineapi.com​
Region: cn-beijing​
ServiceName: ecs​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "202106111445100102252431000052****",​
"Action": "DescribeSystemEventDefaultAction",​
"Version": "2020-04-01",​
"Service": "ecs",​
"Region": "cn-beijing"​
},​
"Result": {​
"DefaultAction": "Redeploy",​
"EventId": "e-3ti9101aju3vj0***",​
"RelatedSystemEvent": {​
"Id": "e-3ti9101aju3vj0******",​
"Category": "ResourceEvent",​
"CreatedAt": "2022-06-15T16:34:34+08:00",​
"UpdatedAt": "2022-06-15T16:34:49+08:00", ​
"ResourceId": "i-3ti9101aju3vj0******",​
"Type": "DiskError_Redeploy",​
"OperatedStartAt": "2022-08-30T15:11:46+08:00",​
"OperatedEndAt": "2022-09-10T18:11:46+08:00",​
"ExtraInfo": {​
"DeviceName": "/dev/sda",​
"VolumeId": "vol-3tiegs1y963vj0******"​
}​
},​
"NextToken": ""​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter.EventId​
The required parameter EventId is not supplied.​
参数EventId不能为空。​
404​
InvalidSystemEvent.NotFound​
The specified system event does not exist.​
系统事件不存在。​
404​
InvalidSystemEventDefaultAction.NotFound​
The specified system event default action does not exist.​
系统事件的默认运维操作不存在。​
​
​
最近更新时间:2026.06.18 10:00:12
这个页面对您有帮助吗?
有用
有用
无用
无用