IP address events track private IPv4 and IPv6 address assignments and revocations on ENIs.
Event list
IP address events:
The following operations generate private IPv4 and IPv6 address assignment and revocation events. These events appear in Elastic Network Interface (ENI) event notifications and vSwitch event notifications, not in IP address event notifications.
-
ENI event notifications:
-
vSwitch event notifications:
Private IPv4 address assignment completed notification
Generated when a private IPv4 address is assigned to an ENI. Example event:
{
"id":"2256A988-0B26-4E2B-820A-8B********A5",
"product":"ECS",
"resourceId":"acs:ecs:cn-hangzhou:169070********30:eni/eni-8vb1qo********cdeg2n",
"level":"INFO",
"name":"NetworkInterface:PrivateIPAssigned",
"userId":"169070********30",
"eventTime":"20230409T121826.922+0800",
"regionId":"cn-hangzhou",
"content":{
"eniId":"eni-8vb1qo********cdeg2n",
"primaryPrivateIp":"192.168.XX.XX",
"secondaryPrivateIps":["192.168.XX.XX"],
"ipv4Prefixes":["192.168.XX.XX/14"]
}
}
The content field:
|
Field name |
Description |
Example value |
|
eniId |
ENI ID. |
eni-8vb1qotfplofaxcd**** |
|
primaryPrivateIp |
Primary private IP address. |
192.168.XX.XX |
|
secondaryPrivateIps |
Secondary private IP addresses. |
["192.168.XX.XX"] |
|
ipv4Prefixes |
Secondary private IP prefixes. |
["192.168.XX.XX/14"] |
Private IPv4 address revocation completed notification
Generated when a private IPv4 address is revoked from a primary or secondary ENI. Example event:
{
"id":"2256A988-0B26-4E2B-820A-8B********A5",
"product":"ECS",
"resourceId":"acs:ecs:cn-hangzhou:169070********30:eni/eni-8vb1qo********cdeg2n",
"level":"INFO",
"name":"NetworkInterface:PrivateIPUnassigned",
"userId":"169070********30",
"eventTime":"20230409T121826.922+0800",
"regionId":"cn-hangzhou",
"content":{
"eniId":"eni-8vb1qo********cdeg2n",
"primaryPrivateIp":"192.168.XX.XX",
"secondaryPrivateIps":["192.168.XX.XX"],
"ipv4Prefixes":["192.168.XX.XX/14"]
}
}
The content field:
|
Field name |
Description |
Example value |
|
eniId |
ENI ID. |
eni-8vb1qotfplofaxcd**** |
|
primaryPrivateIp |
Primary private IP address. |
192.168.XX.XX |
|
secondaryPrivateIps |
Secondary private IP addresses. |
["192.168.XX.XX"] |
|
ipv4Prefixes |
Secondary private IP prefixes. |
["192.168.XX.XX/14"] |
Private IPv6 address assignment completed notification
Generated when a private IPv6 address is assigned to an ENI. Example event:
{
"id":"2256A988-0B26-4E2B-820A-8B********A5",
"product":"ECS",
"resourceId":"acs:ecs:cn-hangzhou:169070********30:eni/eni-8vb1qo********cdeg2n",
"level":"INFO",
"name":"NetworkInterface:PrivateIPv6Assigned",
"userId":"169070********30",
"eventTime":"20230409T121826.922+0800",
"regionId":"cn-hangzhou",
"content":{
"eniId":"eni-8vb1qo********cdeg2n",
"ipv6s":["2001:DB8:XXXX:23:8:800:200C:417A"],
"ipv6Prefixes":["2001:DB8::/32"]
}
}
The content field:
|
Field name |
Description |
Example value |
|
eniId |
ENI ID. |
eni-8vb1qotfplofaxcd**** |
|
ipv6s |
IPv6 addresses. |
["2001:DB8:XXXX:23:8:800:200C:417A"] |
|
ipv6Prefixes |
IPv6 address prefixes. |
["2001:DB8::/32"] |
Private IPv6 address revocation completed notification
Generated when a private IPv6 address is revoked from an ENI. Example event:
{
"id":"2256A988-0B26-4E2B-820A-8B********A5",
"product":"ECS",
"resourceId":"acs:ecs:cn-hangzhou:169070********30:eni/eni-8vb1qo********cdeg2n",
"level":"INFO",
"name":"NetworkInterface:PrivateIPv6Unassigned",
"userId":"169070********30",
"eventTime":"20230409T121826.922+0800",
"regionId":"cn-hangzhou",
"content":{
"eniId":"eni-8vb1qo********cdeg2n",
"ipv6s":["2001:DB8:XXXX:23:8:800:200C:417A"],
"ipv6Prefixes":["2001:DB8::/32"]
}
}
The content field:
|
Field name |
Description |
Example value |
|
eniId |
ENI ID. |
eni-8vb1qotfplofaxcd**** |
|
ipv6s |
IPv6 addresses. |
["2001:DB8:XXXX:23:8:800:200C:417A"] |
|
ipv6Prefixes |
IPv6 address prefixes. |
["2001:DB8::/32"] |