全部產品
Search
文件中心

:Elastic Compute Service事件

更新時間:Jul 06, 2024

本文介紹Elastic Compute Service作為事件來源發布到事件匯流排EventBridge的事件類型。

事件類型

Elastic Compute Service支援發布到事件匯流排EventBridge的事件類型如下所示。

事件類型

type參數值

保留雲端硬碟

ecs:Disk:ConvertToPostpaidCompleted

掛載或者卸載資料盤

ecs:Disk:DiskOperationCompleted

Block Storage欠費釋放

ecs:Disk:OverduePaymentRelease

突發效能執行個體效能受限

ecs:Instance:BurstablePerformanceRestricted

Dedicated Host上的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。

Block Storage欠費釋放

Block Storage欠費釋放時,事件匯流排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

事件區間開始的時間。

Dedicated Host上的ECS執行個體熱遷移

當ECS執行個體在Dedicated Host間熱遷移時,事件匯流排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****

源端Dedicated HostID。

destinationDedicatedHostId

String

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

目的端Dedicated HostID。

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:摘流狀態。