Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of deleting Elastic Network Card by using DeleteNetworkInterface

Shulou Source: shulou.com Published: 2022-06-02 04:24:14 10月02日 Update

This article mainly introduces the use of DeleteNetworkInterface to delete the elastic network card method, the article is very detailed, has a certain reference value, interested friends must read it!

DeleteNetworkInterface

Description

The elastic Nic must be available (Available).

If the ENI has been attached to the ECS instance, it must be separated from the instance (DetachNetworkInterface) before the ENI can be deleted.

After deleting the elastic Nic:

The primary private IP address (PrimaryIpAddress) of the ENI is automatically released.

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

Request parameter

Return parameters

All are common return parameters. See common parameters.

Example

Request example

Https://ecs.aliyuncs.com/?Action=DeleteNetworkInterface&RegionId=cn-hangzhou&NetworkInterfaceId=[networkInterfaceId]&

Return the example

XML format

04F0F334-1335-436C-A1D7-6C044FExxxxx

JSON format

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

Error code

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

The above is all the contents of the method of deleting the elastic network card using DeleteNetworkInterface. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Elasticity network card parameter error example method content instance more format security value interest address partner ownership interface status knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei NVidia MariaDB macOS Docker