Home > Operation and Maintenance > Linux Operation and Maintenance > How to delete one or more secondary private IP addresses from an ENI

How to delete one or more secondary private IP addresses from an ENI

坏嘻嘻
Release: 2018-09-26 14:27:31
Original
2654 people have browsed it

The content of this article is about how to delete one or more auxiliary private IP addresses from an elastic network card. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

UnassignPrivateIpAddresses

Description

Only supports elastic network cards in the available (Available) or bound (InUse) state .

When operating the main network card, the instance attached to the network card must be in the Running or Stopped state.

Request parameters

How to delete one or more secondary private IP addresses from an ENI

##Return parameters

are all public return parameters. See Public Return Parameters.

Example

Request example

https://ecs.aliyuncs.com/?Action=UnassignPrivateIpAddresses
&NetworkInterfaceId=eni-m5e709m1ytxc4wx7wXXX
&PrivateIpAddress.1=192.168.0.1
&PrivateIpAddress.2=192.168.10.1
&<公共请求参数>
Copy after login

Return example

XML format

<UnassignPrivateIpAddressesResponse>
    <RequestId>04F0F334-1335-436C-A1D7-6C044FE70008</RequestId>
</UnassignPrivateIpAddressesResponse>
Copy after login

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE70008"
}
Copy after login

Error code

The following are error codes unique to this interface. For more error codes, please visit the API Error Center.

How to delete one or more secondary private IP addresses from an ENI

The above is the detailed content of How to delete one or more secondary private IP addresses from an ENI. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template