Home > Operation and Maintenance > Linux Operation and Maintenance > How to use DeleteNetworkInterface to quickly and easily delete an elastic network card

How to use DeleteNetworkInterface to quickly and easily delete an elastic network card

坏嘻嘻
Release: 2018-09-26 14:35:12
Original
3488 people have browsed it

This article introduces how to use DeleteNetworkInterface to quickly and easily delete an elastic network card, and focuses on the specific steps. The content of this article is compact, and I hope everyone can gain something.

DeleteNetworkInterface

Description

The elastic network card must be in the available (Available) state.

If the elastic network card has been attached to the ECS instance, it must be detached from the instance (DetachNetworkInterface) before the elastic network card can be deleted.

After deleting the elastic network card:

The primary private IP address (PrimaryIpAddress) of the elastic network card is automatically released.

The deleted elastic network card exits all security groups to which it belongs.

Request parameters

How to use DeleteNetworkInterface to quickly and easily delete an elastic network card

##Return parameters

are all public return parameters. See Public Parameters.

Example

Request example

https://ecs.aliyuncs.com/?Action=DeleteNetworkInterface
&RegionId=cn-hangzhou
&NetworkInterfaceId=[networkInterfaceId]
&<公共请求参数>
Copy after login

Return example

XML format

<DetachNetworkInterface>
    <RequestId>04F0F334-1335-436C-A1D7-6C044FExxxxx</RequestId>
</DetachNetworkInterface>
Copy after login

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FExxxxx",
}
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 use DeleteNetworkInterface to quickly and easily delete an elastic network card

The above is the detailed content of How to use DeleteNetworkInterface to quickly and easily delete an elastic network card. 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