All Products
Search
Document Center

Elastic Compute Service:IP address event notifications

Last Updated:Aug 17, 2026

IP address events include the assignment or revocation of IPv4 addresses or IPv6 addresses.

Event list

IP address events include:

Note

The private IPv4 or IPv6 address assignment and revocation information generated in the following scenarios does not appear in IP address event notifications. It appears in ENI event notifications and vSwitch event notifications instead. For more information, see Elastic Network Interface (ENI) event notifications and vSwitch event notifications.

Private IPv4 address assignment completed notification

When you assign a private IPv4 address, this event notification reports the details of the private IPv4 addresses that the operation assigned to the ENI. The following is an example of the event content:

{
    "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 following table describes the fields in 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

When you revoke a private IPv4 address from a primary or secondary ENI, this event notification reports the details of the private IPv4 addresses revoked from the ENI. The following is an example of the event content:

{
    "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 following table describes the fields in 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

When you assign a private IPv6 address to an ENI, this event notification reports the details of the private IPv6 addresses that the operation assigned to the ENI. The following is an example of the event content:

{
    "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 following table describes the fields in 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

When you revoke a private IPv6 address from an ENI, this event notification reports the details of the private IPv6 addresses revoked from the ENI. The following is an example of the event content:

{
    "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 following table describes the fields in 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"]