全部产品
Search
文档中心

:云服务器ECS事件

更新时间:Aug 31, 2023

本文介绍云服务器ECS作为事件源发布到事件总线EventBridge的事件类型。

事件类型

云服务器ECS支持发布到事件总线EventBridge的事件类型如下所示。

事件类型

type参数值

保留云盘

ecs:Disk:ConvertToPostpaidCompleted

挂载或者卸载数据盘

ecs:Disk:DiskOperationCompleted

块存储欠费释放

ecs:Disk:OverduePaymentRelease

突发性能实例性能受限

ecs:Instance:BurstablePerformanceRestricted

专有宿主机上的ECS实例热迁移

ecs:Instance:LiveMigrationAcrossDDH

突发性能实例性能模式切换

ecs:Instance:PerformanceModeChange

抢占式实例被释放

ecs:Instance:PreemptibleInstanceInterruption

实例生命周期状态变化

ecs:Instance:StateChange

突发性能实例额外收费

ecs:Instance:SurplusCreditIncurCharge

网络接口操作

ecs:NetworkInterface:NetworkInterfaceOperateCompleted

创建快照完成

ecs:Snapshot:CreateSnapshotCompleted

开始创建快照

ecs:Snapshot:CreateSnapshotInitiated

删除快照

ecs:Snapshot:SnapshotDeleted

本地磁盘出现损坏告警

ecs:Disk:ErrorDetected

磁盘性能受到严重影响

ecs:Disk:Stalled

完成自动重开机

ecs:Instance:AutoReactivateCompleted

因实例错误实例重启

ecs:Instance:InstanceFailure.Reboot

TPM安全警告

ecs:Instance:Security.TpmAlert

因创建失败实例自动释放

ecs:Instance:SystemFailure.Delete

因系统错误实例重启

ecs:Instance:SystemFailure.Reboot

因系统错误实例重新部署

ecs:Instance:SystemFailure.Redeploy

因系统错误实例停止

ecs:Instance:SystemFailure.Stop

因系统维护隔离坏盘

ecs:Instance:SystemMaintenance.IsolateErrorDisk

因系统维护重新初始化坏盘

ecs:Instance:SystemMaintenance.ReInitErrorDisk

因系统维护实例计划重启

ecs:Instance:SystemMaintenance.Reboot

因系统维护重启实例并隔离坏盘

ecs:Instance:SystemMaintenance.RebootAndIsolateErrorDisk

因系统维护重启实例并重新初始化坏盘

ecs:Instance:SystemMaintenance.RebootAndReInitErrorDisk

因系统维护实例计划重新部署

ecs:Instance:SystemMaintenance.Redeploy

因系统维护实例计划停止

ecs:Instance:SystemMaintenance.Stop

交换机变更完成

ecs:Instance:VSwitchChanged

私网IP分配完成

ecs:NetworkInterface:PrivateIPAssigned

私网IP回收完成

ecs:NetworkInterface:PrivateIPUnassigned

IPv6分配完成

ecs:NetworkInterface:PrivateIPv6Assigned

IPv6回收完成

ecs:NetworkInterface:PrivateIPv6Unassigned

EBS热插拔失败后的清理事件

ecs:Instance:SystemMaintenance.CleanReleasedDisks

Slave网络接口状态变更

ecs:NetworkInterface:SlaveEniWorkStateChanged

阿里云平台对资源执行的操作事件

ecs:ActionTrail:AliyunServiceEvent

API调用

ecs:ActionTrail:ApiCall

控制台的操作事件

ecs:ActionTrail:ConsoleOperation

本地磁盘出现损坏告警结束

ecs:CloudMonitor:Disk[ErrorDetected:Executed]

本地磁盘出现损坏告警开始

ecs:CloudMonitor:Disk[ErrorDetected:Executing]

磁盘性能受到严重影响结束

ecs:CloudMonitor:Disk[Stalled:Executed]

磁盘性能受到严重影响开始

ecs:CloudMonitor:Disk[Stalled:Executing]

完成自动重开机

ecs:CloudMonitor:Instance[AutoReactivateCompleted]

实例性能潜在影响结束(实例错误)

ecs:CloudMonitor:Instance[InstanceFailure.PerformanceImpact:Executed]

实例性能潜在影响开始(实例错误)

ecs:CloudMonitor:Instance[InstanceFailure.PerformanceImpact:Executing]

实例重启结束(实例错误)

ecs:CloudMonitor:Instance[InstanceFailure.Reboot:Executed]

实例重启开始(实例错误)

ecs:CloudMonitor:Instance[InstanceFailure.Reboot:Executing]

TPM安全警告结束

ecs:CloudMonitor:Instance[Security.TpmAlert:Executed]

TPM安全警告开始

ecs:CloudMonitor:Instance[Security.TpmAlert:Executing]

实例自动释放已规避(实例创建失败)

ecs:CloudMonitor:Instance[SystemFailure.Delete:Avoided]

实例自动释放已完成(实例创建失败)

ecs:CloudMonitor:Instance[SystemFailure.Delete:Executed]

实例自动释放执行中(实例创建失败)

ecs:CloudMonitor:Instance[SystemFailure.Delete:Executing]

实例性能影响结束(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.PerformanceImpact:Executed]

实例性能影响开始(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.PerformanceImpact:Executing]

实例重启结束(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.Reboot:Executed]

实例重启开始(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.Reboot:Executing]

实例重启失败(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.Reboot:Failed]

实例重新部署已规避(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.Redeploy:Avoided]

实例重新部署已取消(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.Redeploy:Canceled]

实例重新部署已完成(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.Redeploy:Executed]

实例重新部署执行中(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.Redeploy:Executing]

实例计划重新部署通知(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.Redeploy:Scheduled]

实例停止已完成(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.Stop:Executed]

实例停止开始(系统错误)

ecs:CloudMonitor:Instance[SystemFailure.Stop:Executing]

因系统维护隔离坏盘已规避

ecs:CloudMonitor:Instance[SystemMaintenance.IsolateErrorDisk:Avoided]

因系统维护隔离坏盘已取消

ecs:CloudMonitor:Instance[SystemMaintenance.IsolateErrorDisk:Canceled]

因系统维护隔离坏盘已完成

ecs:CloudMonitor:Instance[SystemMaintenance.IsolateErrorDisk:Executed]

因系统维护隔离坏盘执行中

ecs:CloudMonitor:Instance[SystemMaintenance.IsolateErrorDisk:Executing]

因系统维护隔离坏盘已失败

ecs:CloudMonitor:Instance[SystemMaintenance.IsolateErrorDisk:Failed]

因系统维护隔离坏盘问询中

ecs:CloudMonitor:Instance[SystemMaintenance.IsolateErrorDisk:Inquiring]

实例性能潜在影响结束(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.PerformanceImpact:Executed]

实例性能潜在影响开始(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.PerformanceImpact:Executing]

实例计划重启规避(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Reboot:Avoided]

实例计划重启取消(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Reboot:Canceled]

实例计划重启已完成(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Reboot:Executed]

实例计划重启执行中(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Reboot:Executing]

实例计划重启失败(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Reboot:Failed]

实例计划重启问询中(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Reboot:Inquiring]

实例计划重启通知(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Reboot:Scheduled]

因系统维护重启实例并隔离坏盘已规避

ecs:CloudMonitor:Instance[SystemMaintenance.RebootAndIsolateErrorDisk:Avoided]

因系统维护重启实例并隔离坏盘已取消

ecs:CloudMonitor:Instance[SystemMaintenance.RebootAndIsolateErrorDisk:Canceled]

因系统维护重启实例并隔离坏盘已完成

ecs:CloudMonitor:Instance[SystemMaintenance.RebootAndIsolateErrorDisk:Executed]

因系统维护重启实例并隔离坏盘执行中

ecs:CloudMonitor:Instance[SystemMaintenance.RebootAndIsolateErrorDisk:Executing]

因系统维护重启实例并隔离坏盘问询中

ecs:CloudMonitor:Instance[SystemMaintenance.RebootAndIsolateErrorDisk:Inquiring]

因系统维护重启实例并重新初始化坏盘已规避

ecs:CloudMonitor:Instance[SystemMaintenance.RebootAndReInitErrorDisk:Avoided]

因系统维护重启实例并重新初始化坏盘已取消

ecs:CloudMonitor:Instance[SystemMaintenance.RebootAndReInitErrorDisk:Canceled]

因系统维护重启实例并重新初始化坏盘已完成

ecs:CloudMonitor:Instance[SystemMaintenance.RebootAndReInitErrorDisk:Executed]

因系统维护重启实例并重新初始化坏盘执行中

ecs:CloudMonitor:Instance[SystemMaintenance.RebootAndReInitErrorDisk:Executing]

因系统维护重启实例并重新初始化坏盘问询中

ecs:CloudMonitor:Instance[SystemMaintenance.RebootAndReInitErrorDisk:Inquiring]

实例计划重新部署已规避(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Redeploy:Avoided]

实例计划重新部署已取消(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Redeploy:Canceled]

实例计划重新部署已完成(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Redeploy:Executed]

实例计划重新部署执行中(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Redeploy:Executing]

实例计划重新部署问询中(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Redeploy:Inquiring]

实例计划重新部署通知(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Redeploy:Scheduled]

因系统维护重新初始化坏盘已规避

ecs:CloudMonitor:Instance[SystemMaintenance.ReInitErrorDisk:Avoided]

因系统维护重新初始化坏盘已取消

ecs:CloudMonitor:Instance[SystemMaintenance.ReInitErrorDisk:Canceled]

因系统维护重新初始化坏盘已完成

ecs:CloudMonitor:Instance[SystemMaintenance.ReInitErrorDisk:Executed]

因系统维护重新初始化坏盘执行中

ecs:CloudMonitor:Instance[SystemMaintenance.ReInitErrorDisk:Executing]

因系统维护重新初始化坏盘已失败

ecs:CloudMonitor:Instance[SystemMaintenance.ReInitErrorDisk:Failed]

因系统维护重新初始化坏盘问询中

ecs:CloudMonitor:Instance[SystemMaintenance.ReInitErrorDisk:Inquiring]

实例计划停止规避(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Stop:Avoided]

实例计划停止取消(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Stop:Canceled]

实例计划停止已完成(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Stop:Executed]

实例计划停止执行中(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Stop:Executing]

实例计划停止失败(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Stop:Failed]

实例计划停止通知(系统维护)

ecs:CloudMonitor:Instance[SystemMaintenance.Stop:Scheduled]

资源变更投递

ecs:Config:ConfigurationItemChangeNotification

资源评估不合规通知

ecs:Config:NonCompliantNotification

CloudEvents规范中定义的参数解释,请参见事件概述

保留云盘

释放ECS实例时,挂载的云盘被转换成按量付费数据盘而保留下来,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Disk:ConvertToPostpaidCompleted",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "result": "accomplished",
        "diskName": "e2e-ecs-xxxxxxxx",
        "diskId": "d-gx3hn2vc0fxxxxxxxx"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

result

String

accomplished

任务结果。

取值说明如下:

  • accomplished:完成。

  • failed:失败。

diskId

String

d-bp11ba7acc69nkta****

云盘ID。

diskName

String

e2e-ecs-xxxxxxxx

云盘名称。

挂载或者卸载数据盘

挂载或者卸载数据盘时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Disk:DiskOperationCompleted",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "result": "accomplished",
        "operation": "AttachDisk",
        "diskId": "d-gx3hn2vc0fuxxxxxxxx"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

result

String

accomplished

任务结果。

取值说明如下:

  • accomplished:完成。

  • failed:失败。

operation

String

AttachDisk

操作。

diskId

String

d-gx3hn2vc0fuxxxxxxxx

云盘ID。

块存储欠费释放

块存储欠费释放时,事件总线EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"123456789098****",
    "data":{
        "result":"accomplished",
        "instanceId":"i-wz9e60ytsp3lspww****",
        "diskId":"d-wz9ad6x3sistd7fh****"
    },
    "subject":"acs:ecs:cn-shenzhen-st3-a01:123456789098****:disk/d-wz9ad6x3sistd7fh****",
    "source":"acs.ecs",
    "type":"ecs:Disk:OverduePaymentRelease",
    "aliyunpublishtime":"2021-01-18T08:20:51.890Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"a3a1e190-a357-40c5-a1c2-3e343a90****",
    "time":"2021-01-18T16:20:51.199Z",
    "aliyunregionid":"cn-hangzhou",
    "aliyunpublishaddr":"172.25.XX.XX"
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

result

String

accomplished

任务结果。

取值说明如下:

  • accomplished:完成。

  • failed:失败。

instanceId

String

i-wz9e60ytsp3lspww****

ECS实例ID。

diskId

String

d-wz9ad6x3sistd7fh****

云盘ID。

突发性能实例性能受限

突发性能实例处理性能受限时,事件总线EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"123456789098****",
    "data":{
        "instanceId":"i-bp1eojtvpmlraj13****",
        "intervalEnd":"2021-01-18T05:00Z",
        "intervalStart":"2021-01-18T04:00Z"
    },
    "subject":"acs:ecs:cn-hangzhou:123456789098****:instance/i-bp1eojtvpmlraj13****",
    "source":"acs.ecs",
    "type":"ecs:Instance:BurstablePerformanceRestricted",
    "aliyunpublishtime":"2021-01-18T04:06:45.441Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"be468204-6cac-4088-9e57-6455d749****",
    "time":"2021-01-18T12:06:45.238Z",
    "aliyunregionid":"cn-hangzhou",
    "aliyunpublishaddr":"172.25.XX.XX"
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

instanceId

String

i-bp1eojtvpmlraj13****

ECS实例ID。

intervalEnd

TimeStamp

2021-01-18T05:00Z

事件区间结束的时间。

intervalStart

TimeStamp

2021-01-18T04:00Z

事件区间开始的时间。

专有宿主机上的ECS实例热迁移

当ECS实例在专有宿主机间热迁移时,事件总线EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"123456789098****",
    "data":{
        "instanceId":"i-bp1eojtvpmlraj13****",
        "sourceDedicatedHostId":"dh-2ze3lma1c2-3e343****",
        "destinationDedicatedHostId":"dh-2ze3lm********t8nr83",
        "startTime":"2018-06-08T01:25:37Z",
        "status":"started"
    },
    "subject":"acs:ecs:cn-hangzhou:123456789098****:instance/i-bp1eojtvpmlraj13****",
    "source":"acs.ecs",
    "type":"ecs:Instance:LiveMigrationAcrossDDH",
    "aliyunpublishtime":"2021-01-18T08:20:51.890Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"a3a1e190-a357-40c5-a1c2-3e343a90****",
    "time":"2021-01-18T16:20:51.199Z",
    "aliyunregionid":"cn-hangzhou",
    "aliyunpublishaddr":"172.25.XX.XX"
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

instanceId

String

i-bp1eojtvpmlraj13****

ECS实例ID。

sourceDedicatedHostId

String

dh-2ze3lma1c2-3e343****

源端专有宿主机ID。

destinationDedicatedHostId

String

dh-2ze3lm********t8nr83

目的端专有宿主机ID。

startTime

TimeStamp

2021-01-18T16:20:51.199Z

热迁移开始时间。

status

String

started

热迁移状态。

取值说明如下:

  • started:迁移开始。

  • failed:迁移失败。

  • accomplished:迁移成功。

突发性能实例性能模式切换

突发性能实例在切换性能模式时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:PerformanceModeChange",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "instanceId": "i-bp1eojtvpmlraj13****",
        "intervalEnd": "2021-01-18T05:00Z",
        "intervalStart": "2021-01-18T04:00Z"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

instanceId

String

i-bp1eojtvpmlraj13****

ECS实例ID。

intervalEnd

String

2021-01-18T05:00Z

事件区间结束的时间。

intervalStart

String

2021-01-18T04:00Z

事件区间开始的时间。

抢占式实例被释放

抢占式实例因为市场价格变化或资源库存调整等因素被自动释放前,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:PreemptibleInstanceInterruption",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "action": "delete",
        "instanceId": "i-bp17j2bvqa9xxxxxxxx"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

instanceId

String

i-abc1792gcdoonr9a****

ECS实例ID。

action

String

delete

动作。

实例生命周期状态变化

实例生命周期的状态变化时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:StateChange",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "instanceName": "iZ0jl0kyquo46hxxxxxxxx",
        "instanceType": "ecs.c6.large",
        "privateIpAddress": "172.21.48.37",
        "publicIpAddress": "8.xx.49.237",
        "resourceId": "i-0jl0kyquo46xxxxxxxx",
        "resourceType": "ALIYUN::ECS::Instance",
        "spotStrategy": "SpotWithPriceLimit",
        "state": "Running"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

resourceId

String

i-bp1dkbnzouipluli****

资源ID。

state

String

Running

ECS实例状态。

取值说明如下:

  • Pending:准备中。

  • Starting:启动中。

  • Running:运行中。

  • Stopping:停止或重启中。

  • Stopped:已停止。

  • Deleted:已释放。

resourceType

String

ALIYUN::ECS::Instance

资源类型。

publicIpAddress

String

8.100.XX.XX

公网IP地址。

privateIpAddress

String

172.21.XX.XX

私网IP地址。

instanceName

String

iZ0jl0kyquo46h****

ECS实例名称。

instanceType

String

ecs.c6.large

资源类型。

spotStrategy

String

SpotWithPriceLimit

策略。

突发性能实例额外收费

突发性能实例需要支付额外费用时,事件总线EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"123456789098****",
    "data":{
        "instanceId":"i-abc1792gcdoonr9a****",
        "creditSpecification":"Unlimited",
        "intervalStart":"2019-06-14T00:00:00Z",
        "intervalEnd":"2019-06-14T01:00:00Z"
    },
    "subject":"acs:ecs:cn-hangzhou:123456789098****:instance/i-abc1792gcdoonr9a****",
    "source":"acs.ecs",
    "type":"ecs:Instance:SurplusCreditIncurCharge",
    "aliyunpublishtime":"2021-01-18T08:20:51.890Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"a3a1e190-a357-40c5-a1c2-3e343a90****",
    "time":"2021-01-18T16:20:51.199Z",
    "aliyunregionid":"cn-hangzhou",
    "aliyunpublishaddr":"172.25.XX.XX"
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

instanceId

String

i-abc1792gcdoonr9a****

ECS实例ID。

creditSpecification

String

Unlimited

突发性能实例的运行模式。

取值说明如下:

  • Standard:标准模式。

  • Unlimited:无性能约束模式。

intervalStart

TimeStamp

2019-06-14T00:00:00Z

事件区间开始的时间。

intervalEnd

TimeStamp

2019-06-14T01:00:00Z

事件区间结束的时间。

网络接口操作

网络接口操作事件发生时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:NetworkInterface:NetworkInterfaceOperateCompleted",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eniStatus": "Available",
        "result": "success",
        "eniId": "eni-bp1j9eoibxxxxxxxxxx",
        "operation": "CreateNetworkInterface",
        "requestId": "8D152511-XXXX-18E2-XXXX-8A1219DAD64F.i-bp1ffahxxxxxxxxxx",
        "primaryPrivateIp": "192.168.XX.XX",
        "secondaryPrivateIps": ["192.168.XX.XX","192.168.XX.XX"],
        "ipv4Prefixes": ["192.168.XX.XX/24"],
        "ipv6s": ["ABCD:EF01:2345:6789:ABCD:EF01:ABCG:XXXX"],
        "ipv6Prefixes": ["2001:XXXX::/32"]
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

eniStatus

string

Available

ENI状态。

result

string

success

操作结果。

eniId

string

eni-bp1j9eoib****

ENI ID。

operation

string

CreateNetworkInterface

操作。

requestId

string

8D152511-XXXX-18E2-XXXX-8A1219DAD64F.i-bp1ffah****

请求ID。

primaryPrivateIp

String

192.168.XX.XX

主IP地址。

secondaryPrivateIps

Array

["192.168.XX.XX","192.168.XX.XX"]

辅助IP地址。

ipv4Prefixes

Array

["192.168.XX.XX/24"]

辅助IP地址前缀。

ipv6s

Array

["ABCD:EF01:2345:6789:ABCD:EF01:ABCG:XXXX"]

IPv6地址。

ipv6Prefixes

Array

["2001:XXXX::/32"]

IPv6地址前缀。

创建快照完成

创建快照完成时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Snapshot:CreateSnapshotCompleted",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "result": "accomplished",
        "snapshotId": "s-bp151qed0khxxxxxxxxx",
        "snapshotType": "user",
        "snapshotName": "cust51119970_xxxxxxxx_20211117114015",
        "diskId": "d-bp18dnj7u1xxxxxxxxx",
        "startTime": "2020-11-19T21:02:16Z",
        "endTime": "2020-11-19T21:04:17Z"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

result

String

USER

任务结果。

取值说明如下:

  • accomplished:完成。

  • failed:失败。

snapshotId

String

s-bp13al3gx35awyr8****

快照ID。

snapshotType

String

user

快照类型。

取值说明如下:

  • user:用户手动生成快照。

  • auto:自动生成快照。

snapshotName

String

cust51119970_xxxxxxxx_20211117114015

快照名称。

diskId

String

d-bp1dsz8qsstbk9ph****

云盘ID。

startTime

String

2021-01-18T03:22:08Z

开始创建快照的时间。

endTime

String

2021-01-18T03:22:08Z

完成创建快照的时间。

开始创建快照

开始创建快照时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Snapshot:CreateSnapshotInitiated",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "snapshotName": "cust46638731_xxxxxxxxxxx_20211117114238",
        "diskId": "d-bp13j42n65xxxxxxxxxxx",
        "snapshotId": "s-bp1e4pf8dgxxxxxxxxxxx",
        "snapshotType": "user"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

snapshotId

String

s-bp1hew62f61pjk77****

快照ID。

snapshotType

String

user

快照类型。

取值说明如下:

  • user:用户手动生成快照。

  • auto:自动生成快照。

snapshotName

String

cust24417935_hins11712633_20210118112409

快照名称。

diskId

String

d-bp11gspuopjn701i****

云盘ID。

删除快照

删除快照时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Snapshot:SnapshotDeleted",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "snapshotName": "Created from i-bp1dl6knxxxxxxxxx",
        "reason": "USER",
        "diskId": "d-bp15e8k1f48xxxxxxxxx",
        "snapshotId": "s-bp197a5b5txxxxxxxxx",
        "snapshotType": "user"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

reason

String

USER

任务原因。

取值说明如下:

  • USER:用户手动删除。

  • DEVICE_CONFIG:跟随磁盘属性(自动快照随磁盘释放)。

  • ROTATED:自动快照达到保存上限被自动轮转。

  • EXPIRED:过期被删除。

  • SERVICE_RELEASED:快照服务欠费释放被删除。

  • CREATE_FAILURE:创建失败导致的自动删除。

  • OTHERS:其他未被归类的原因。

snapshotId

String

s-bp13al3gx35awyr8****

快照ID。

snapshotType

String

user

快照类型。

取值说明如下:

  • user:用户手动生成快照。

  • auto:自动生成快照。

snapshotName

String

系统20190917

快照名称。

diskId

String

d-bp1dsz8qsstbk9ph****

云盘ID。

本地磁盘出现损坏告警

本地磁盘出现损坏告警时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Disk:ErrorDetected",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "device": "/dev/xvdf",
        "diskId": "d-t4nbfrpow72z******",
        "ecsInstanceId": "i-t4n8rbpfmzs******",
        "ecsInstanceName": "******-slave",
        "eventId": "e-t4nc86ziq4q6******",
        "eventType": "ErrorDetected",
        "executeFinishTime": "2022-09-02T01:55:41Z",
        "executeStartTime": "2022-09-02T01:55:41Z"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

device

String

/dev/xvdf

设备。

diskId

String

d-t4nbfrpow72z******

磁盘ID。

ecsInstanceId

String

i-t4n8rbpfmzs******

ECS实例ID。

ecsInstanceName

String

******-slave

ECS实例名称。

eventId

String

e-t4nc86ziq4q6******

事件ID。

eventType

String

ErrorDetected

事件类型。

executeFinishTime

String

2022-09-02T01:55:41Z

执行结束时间。

executeStartTime

String

2022-09-02T01:55:41Z

执行开始时间。

磁盘性能受到严重影响

磁盘性能受到严重影响时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Disk:Stalled",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "device": "/dev/xvdb",
        "diskId": "d-2zef8thfnbx*****",
        "ecsInstanceId": "i-2zehp4inhn*****",
        "ecsInstanceName": "iZ2zehp4inhnbvm*****",
        "eventId": "e-2zec86ziq4q6*****",
        "eventType": "Stalled",
        "executeFinishTime": "2022-09-01T13:54:07Z",
        "executeStartTime": "2022-09-01T13:53:07Z"
    }
}

关于data字段包含的参数解释,请参见参数解析

完成自动重开机

完成自动重开机时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:AutoReactivateCompleted",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "instanceId": "i-hp339adxge******",
        "result": "failed"
    }
}

关于data字段包含的参数解释,请参见参数解析

因实例错误实例重启

因实例错误实例重启时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:InstanceFailure.Reboot",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eventId": "e-bp1c86ziq4q*******",
        "eventStatus": "Executed",
        "eventType": "InstanceFailure.Reboot",
        "executeFinishTime": "2022-09-01T13:23:39Z",
        "executeStartTime": "2022-09-01T13:23:39Z",
        "instanceId": "i-bp1gp1t778*******",
        "notBefore": "2022-09-01T13:23:39Z",
        "privateIpAddress":
        [
            "10.11.XX.XX"
        ],
        "publicIpAddress":
        [],
        "publishTime": "2022-09-01T13:23:39Z"
    }
}

关于data字段包含的参数解释,请参见参数解析

TPM安全警告

当发生TPM安全警告时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:Security.TpmAlert",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eventId": "e-uf6c86ziq4q6*****",
        "eventStatus": "Executed",
        "eventType": "Security.TpmAlert",
        "executeFinishTime": "2022-09-02T06:58:32Z",
        "executeStartTime": "2022-09-02T06:58:32Z",
        "instanceId": "i-uf66x7kyzdf0*****",
        "privateIpAddress":
        [
            "172.19.XX.XX"
        ],
        "publicIpAddress":
        [
            "47.103.XX.XX"
        ],
        "publishTime": "2022-09-02T06:58:32Z",
        "reason": "Unauthorized or corrupted component detected in system boot. Component name is pcr9, and the measurement value is 7b888c4f4e28817d743660017*****"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

eventId

String

e-uf6c86ziq4q6*****

事件ID。

eventStatus

String

Executed

事件状态。

eventType

String

Security.TpmAlert

事件类型。

executeFinishTime

String

2022-09-02T06:58:32Z

执行结束时间。

executeStartTime

String

2022-09-02T06:58:32Z

执行开始时间。

instanceId

String

i-uf66x7kyzdf0*****

ECS实例ID。

privateIpAddress

Array

172.19.XX.XX

私网IP地址。

publicIpAddress

Array

47.103.XX.XX

公网IP地址。

publishTime

String

2022-09-02T06:58:32Z

发布时间。

reason

String

Unauthorized or corrupted component detected in system boot. Component name is pcr9, and the measurement value is 7b888c4f4e28817d743660017*****

原因。

因创建失败实例自动释放

因创建失败实例自动释放时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:SystemFailure.Delete",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eventId": "e-bp16vh3ff7t2******",
        "eventStatus": "Executed",
        "eventType": "SystemFailure.Delete",
        "executeFinishTime": "2022-08-09T13:55:08Z",
        "executeStartTime": "2022-08-09T13:54:56Z",
        "instanceId": "i-bp1ez0hvdy5x******",
        "notBefore": "2022-08-09T13:54:56Z",
        "publishTime": "2022-08-09T13:54:56Z",
        "reason": "OperationDenied.NoStock"
    }
}

关于data字段包含的参数解释,请参见参数解析

因系统错误实例重启

因系统错误实例重启时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:SystemFailure.Reboot",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eventId": "e-bp1c86ziq4q6******",
        "eventStatus": "Executed",
        "eventType": "SystemFailure.Reboot",
        "executeFinishTime": "2022-09-01T13:35:40Z",
        "executeStartTime": "2022-09-01T13:34:10Z",
        "instanceId": "i-bp18c3eakhaq******",
        "notBefore": "2022-09-01T13:34:10Z",
        "privateIpAddress":
        [
            "172.28.XX.XX"
        ],
        "publicIpAddress":
        [
            "120.27.XX.XX"
        ],
        "publishTime": "2022-09-01T13:34:10Z"
    }
}

关于data字段包含的参数解释,请参见参数解析

因系统错误实例重新部署

因系统错误实例重新部署时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:SystemFailure.Redeploy",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eventId": "e-bp1c86ziq4q1d*****",
        "eventStatus": "Executed",
        "eventType": "SystemFailure.Redeploy",
        "executeFinishTime": "2022-08-23T09:04:03Z",
        "executeStartTime": "2022-08-23T09:02:49Z",
        "instanceId": "i-bp144npue7n*****",
        "notBefore": "2022-08-23T09:02:49Z",
        "privateIpAddress":
        [
            "172.29.XX.XX"
        ],
        "publicIpAddress":
        [
            "47.97.XX.XX"
        ],
        "publishTime": "2022-08-23T09:02:49Z"
    }

}

关于data字段包含的参数解释,请参见参数解析

因系统错误实例停止

因系统错误实例停止时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:SystemFailure.Stop",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eventId": "e-f8zc86ziq4q6******",
        "eventStatus": "Executed",
        "eventType": "SystemFailure.Stop",
        "executeFinishTime": "2022-09-01T14:07:52Z",
        "executeStartTime": "2022-09-01T14:05:52Z",
        "instanceId": "i-f8z9datgf1m9******",
        "notBefore": "2022-09-01T14:05:52Z",
        "privateIpAddress":
        [
            "11.71.XX.XX"
        ],
        "publicIpAddress":
        [],
        "publishTime": "2022-09-01T14:05:52Z"
    }
}

关于data字段包含的参数解释,请参见参数解析

因系统维护隔离坏盘

因系统维护隔离坏盘时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:SystemMaintenance.IsolateErrorDisk",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "device": "/dev/xvdf",
        "diskId": "d-t4nbfrpow72zd*******",
        "eventId": "e-t4nc86ziq4*******",
        "eventStatus": "Inquiring",
        "eventType": "SystemMaintenance.IsolateErrorDisk",
        "instanceId": "i-t4n8rbpfmzsn*******",
        "privateIpAddress":
        [
            "10.62.XX.XX"
        ],
        "publicIpAddress":
        [],
        "publishTime": "2022-09-01T09:47:26Z",
        "reason": "System maintenance is scheduled due to a potential risk is detected on underlying  infrastructure"
    }
}

关于data字段包含的参数解释,请参见参数解析

因系统维护重新初始化坏盘

因系统维护重新初始化坏盘时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:SystemMaintenance.ReInitErrorDisk",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "device": "/dev/xvdv",
        "diskId": "d-bp15esw9c01fh******",
        "eventId": "e-bp1c86ziq4q6******",
        "eventStatus": "Inquiring",
        "eventType": "SystemMaintenance.ReInitErrorDisk",
        "instanceId": "i-bp1iwarx7zt1e******",
        "privateIpAddress":
        [
            "10.50.XX.XX"
        ],
        "publicIpAddress":
        [],
        "publishTime": "2022-09-02T02:18:29Z",
        "reason": "System maintenance is scheduled due to a potential risk is detected on underlying  infrastructure"
    }
}

关于data字段包含的参数解释,请参见参数解析

因系统维护实例计划重启

因系统维护实例计划重启时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2022-09-07T12:31:34Z",
    "type": "ecs:Instance:SystemMaintenance.Reboot",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2022-09-07T12:31:34Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eventId": "e-uf6iqgksaxxxxxxx",
        "eventStatus": "Inquiring",
        "eventType": "SystemMaintenance.Reboot",
        "instanceId": "i-8vbirq9ijhxxxxxxx",
        "privateIpAddress":
        [
            "192.168.XX.XX"
        ],
        "publicIpAddress":
        [],
        "publishTime": "2022-09-07T12:31:34Z",
        "traceInfo": "c1352085-8678-4f23-a7cc-xxxx"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

eventId

String

e-uf6c86ziq4q6*****

事件ID。

eventStatus

String

Executed

事件状态。取值如下:

  • Inquiring:问询中。

  • Scheduled:计划中。

  • Executing:执行中。

  • Executed:已完成。

  • Avoided:已规避。

  • Failed:重启失败。

  • Canceled:已取消。

eventType

String

Security.TpmAlert

事件类型。

instanceId

String

i-uf66x7kyzdf0*****

ECS实例ID。

privateIpAddress

Array

172.19.XX.XX

私网IP地址。

publicIpAddress

Array

47.103.XX.XX

公网IP地址。

publishTime

String

2022-09-02T06:58:32Z

发布时间。

traceInfo

String

c1352085-8678-4f23-a7cc-xxxx

追踪信息。

因系统维护重启实例并隔离坏盘

因系统维护重启实例并隔离坏盘时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:SystemMaintenance.RebootAndIsolateErrorDisk",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "device": "/dev/xvdb",
        "diskId": "d-0jl6834zzre******",
        "eventId": "e-0jlc86ziq4q******",
        "eventStatus": "Inquiring",
        "eventType": "SystemMaintenance.RebootAndIsolateErrorDisk",
        "instanceId": "i-0jl77to5ekvau******",
        "privateIpAddress":
        [
            "172.26.XX.XX"
        ],
        "publicIpAddress":
        [],
        "publishTime": "2022-09-01T14:54:17Z",
        "reason": "System maintenance is scheduled due to a potential risk is detected on underlying  infrastructure"
    }
}

关于data字段包含的参数解释,请参见参数解析

因系统维护重启实例并重新初始化坏盘

因系统维护重启实例并重新初始化坏盘时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:SystemMaintenance.RebootAndReInitErrorDisk",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "device": "/dev/xvdb",
        "diskId": "d-0jl6834zzre1r******",
        "eventId": "e-0jlc86ziq4q6******",
        "eventStatus": "Inquiring",
        "eventType": "SystemMaintenance.RebootAndReInitErrorDisk",
        "instanceId": "i-0jl77to5ekvau******",
        "privateIpAddress":
        [
            "172.26.XX.XX"
        ],
        "publicIpAddress":
        [],
        "publishTime": "2022-09-01T14:54:17Z",
        "reason": "System maintenance is scheduled due to a potential risk is detected on underlying  infrastructure"
    }
}

关于data字段包含的参数解释,请参见参数解析

因系统维护实例计划重新部署

因系统维护实例计划重新部署时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:SystemMaintenance.Redeploy",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eventId": "e-uf6c86ziq4q6******",
        "eventStatus": "Inquiring",
        "eventType": "SystemMaintenance.Redeploy",
        "instanceId": "dh-uf64debetm******",
        "publishTime": "2022-09-01T08:49:23Z",
        "reason": "System maintenance is scheduled due to a potential risk is detected on underlying  infrastructure;Critical error detected on hardware components;Disk error"
    }
}

关于data字段包含的参数解释,请参见参数解析

因系统维护实例计划停止

因系统维护实例计划停止时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:SystemMaintenance.Stop",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eventId": "e-uf6iqgksackfxxxxxxx",
        "eventStatus": "Avoided",
        "eventType": "SystemMaintenance.Stop",
        "executeFinishTime": "2022-09-01T15:36:58Z",
        "instanceId": "i-uf62dv6w1oapxxxxxxx",
        "notBefore": "2022-04-02T02:07:59Z",
        "privateIpAddress":
        [
            "10.15.XX.XX"
        ],
        "publicIpAddress":
        [],
        "publishTime": "2022-03-30T02:07:59Z",
        "reason": "System maintenance is scheduled due to a potential risk is detected on underlying  infrastructure"
    }
}

关于data字段包含的参数解释,请参见参数解析

交换机变更完成

交换机变更完成时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:Instance:VSwitchChanged",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "requestId": "91C5FC51-6F0F-12CA-8D03-C35AB1****",
    "data": {
        "instanceId":"i-8vb1qo****cdeg2n",
        "vswitchId":"vsw-bp1s5fnvk4gn3tw12****",
        "privateIpAddress":"172.17.XX.XX",
        "vpcId":"vpc-bp1vwnn14rqpyiczj****",
        "secondaryPrivateIps": ["172.17.XX.XX"]
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

instanceId

String

i-8vb1qo****cdeg2n

ECS实例ID。

vswitchId

String

vsw-bp1s5fnvk4gn3tw12****

交换机ID。

privateIpAddress

String

172.17.XX.XX

主私网IP地址。

vpcId

String

vpc-bp1vwnn14rqpyiczj****

VPC ID。

secondaryPrivateIps

Array

["172.17.XX.XX"]

辅助IP地址。

私网IP分配完成

本事件主要在主网卡分配辅助私网IPv4地址、辅助弹性网卡分配主私网IPv4地址或辅助私网IPv4地址的场景下产生。

创建弹性网卡的私网IP信息在网络接口操作事件中展示。

以下场景的私网IP信息变更在交换机变更完成事件中展示。

  • ECS实例从经典网络迁移至VPC网络。

  • 跨可用区更改实例规格。

  • 修改ECS实例的VPC或交换机。

  • ECS实例过户。

产生此事件时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:NetworkInterface:PrivateIPAssigned",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "requestId": "91C5FC51-6F0F-12CA-8D03-C35AB1****",
    "data": {
        "eniId":"eni-8vb1qo****cdeg2n",
        "primaryPrivateIp":"192.168.XX.XX",
        "secondaryPrivateIps":["192.168.XX.XX"],
        "ipv4Prefixes":["192.168.XX.XX/24"]
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

eniId

String

eni-8vb1qo****cdeg2n

辅助网卡的ID。

primaryPrivateIp

String

192.168.XX.XX

主私网IP地址。

secondaryPrivateIps

Array

["192.168.XX.XX"]

辅助私网IP地址。

ipv4Prefixes

Array

["192.168.XX.XX/24"]

私网IP前缀。

私网IP回收完成

本事件主要在主网卡回收辅助私网IPv4地址、辅助弹性网卡回收主私网IPv4地址或辅助私网IPv4地址的场景下产生。

删除网卡的私网IP信息在网络接口操作事件中展示。

产生此事件时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:NetworkInterface:PrivateIPUnassigned",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "requestId": "91C5FC51-6F0F-12CA-8D03-C35AB1****",
    "data": {
        "eniId":"eni-8vb1qo****cdeg2n",
        "primaryPrivateIp":"192.168.XX.XX",
        "secondaryPrivateIps":["192.168.XX.XX"],
        "ipv4Prefixes":["192.168.XX.XX/24"]
    }
}

关于data字段包含的参数解释,请参见参数解析

IPv6分配完成

IPv6网段分配完成时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:NetworkInterface:PrivateIPv6Assigned",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "requestId": "91C5FC51-6F0F-12CA-8D03-C35AB1****",
    "data": {
        "eniId":"eni-8vb1qo****cdeg2n",
        "ipv6s": ["ABCD:EF01:2345:6789:ABCD:EF01:ABCD:XXXX"],
        "ipv6Prefixes": ["2001:XXXX::/32"]
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

eniId

String

eni-8vb1qo****cdeg2n

辅助网卡的ID。

ipv6s

String

["ABCD:EF01:2345:6789:ABCD:EF01:ABCD:XXXX"]

IPv6地址。

ipv6Prefixes

String

["2001:XXXX::/32"]

IPv6前缀。

IPv6回收完成

IPv6网段回收完成时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:NetworkInterface:PrivateIPv6Unassigned",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "requestId": "91C5FC51-6F0F-12CA-8D03-C35AB1****",
    "data": {
        "eniId":"eni-8vb1qo****cdeg2n",
        "ipv6s": ["ABCD:EF01:2345:6789:ABCD:EF01:ABCD:XXXX"],
        "ipv6Prefixes": ["2001:XXXX::/32"]
    }
}

关于data字段包含的参数解释,请参见参数解析

EBS热插拔失败后的清理事件

EBS热插拔失败后清理事件时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41+08:00",
    "type": "ecs:Instance:SystemMaintenance.CleanReleasedDisks",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "data": {
        "eventId": "e-bp15v0xj40ffy8****",
        "eventStatus": "Scheduled",
        "eventType": "SystemMaintenance.CleanReleasedDisks",
        "instanceId": "i-bp16ho3ovmvttwy*****",
        "notBefore": "2023-08-09T07:49:48Z",
        "publishTime": "2023-08-09T06:49:48Z",
        "reason": "A simulated event"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

eventId

String

e-bp15v0xj40ffy8****

事件ID。

eventStatus

String

Scheduled

事件状态。

eventType

String

SystemMaintenance.CleanReleasedDisks

事件类型。

instanceId

String

i-bp16ho3ovmvttwy****

ECS实例ID。

notBefore

String

2023-08-09T07:49:48Z

发布时间。

publishTime

String

2023-08-09T06:49:48Z

计划执行时间。

reason

String

A simulated event

原因。

Slave网络接口状态变更

Slave网络接口状态变更时,事件总线EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.ecs",
    "specversion": "1.0",
    "subject": "acs.ecs:cn-hangzhou:123456789098****:215672",
    "time": "2020-11-19T21:04:41Z",
    "type": "ecs:NetworkInterface:SlaveEniWorkStateChanged",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "requestId": "91C5FC51-6F0F-12CA-8D03-C35AB1****",
    "data": {
        "eniId":"eni-8vb1qo****cdeg2n",
        "eniStatus":"enabled"
    }
}

data字段包含的参数解释如下表所示。

参数

类型

示例值

描述

eniId

String

eni-8vb1qo****cdeg2n

辅助网卡的ID。

eniStatus

String

enabled

辅助网卡的状态。取值如下:

  • enabled:引流状态。

  • disabled:摘流状态。