Use DetachNetworkInterface to detach an elastic network interface (ENI) from an instance

坏嘻嘻
Release: 2018-09-26 14:31:18
Original
2374 people have browsed it

This article introduces the use of DetachNetworkInterface to detach the elastic network interface (ENI) from an instance, and focuses on the specific steps. The content of this article is compact, and I hope you can gain something.

DetachNetworkInterface

Description

Detaching the instance primary network card is not allowed.

The elastic network card must be in the bound (InUse) state.

The instance must be in Running or Stopped status.

Request parameters

Use DetachNetworkInterface to detach an elastic network interface (ENI) from an instance

##Return parameters

are all public return parameters. See Public Parameters.

Example

Request example

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

Return example

XML format

<DetachNetworkInterfaceResponse>
    <RequestId>04F0F334-1335-436C-A1D7-6C044FExxxxx</RequestId>
</DetachNetworkInterfaceResponse>
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.

Use DetachNetworkInterface to detach an elastic network interface (ENI) from an instance

The above is the detailed content of Use DetachNetworkInterface to detach an elastic network interface (ENI) from an instance. 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