Home  >  Article  >  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

坏嘻嘻
坏嘻嘻Original
2018-09-26 14:35:123444browse

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]
&<公共请求参数>

Return example

XML format

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

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FExxxxx",
}

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!

Statement:
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