Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of using CreateNetworkInterface to create an elastic network card

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how to use CreateNetworkInterface to create an elastic network card. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

Description

The newly created elastic Nic is available (Available).

The ENI only supports VPC instances attached to the same availability zone.

An elastic Nic can only be attached to one instance, and you need to separate it from the current instance before attaching it to a new instance.

When the ENI is reattached to another instance, its properties follow the ENI, and network traffic will be redirected to the new instance.

A maximum of 100 ENI can be created for an account in an Aliyun region by default. If you need more, please submit a work order for application.

Request parameter

Return parameters

Example

Request example

Https://ecs.aliyuncs.com/?Action=CreateNetworkInterface&RegionId=cn-hangzhou&VSwitchId=[vswitchid]&SecurityGroupId=sg-c0003exxxxx&

Return the example

XML format

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

JSON format

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

Error code

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

Thank you for reading! On the use of CreateNetworkInterface to create an elastic network card method to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report