AttachElasticNetworkInterface
Binds a Lingjun elastic network interface (ENI) to a Lingjun node.
Operation description
Attaches Lingjun elastic network interfaces (ENIs) to a Lingjun node. This operation is asynchronous. Use a query operation to wait for the Lingjun elastic network interfaces (ENIs) to reach the active state. An ENI serves as a network interface controller (NIC).
Prerequisites:
You have purchased Lingjun nodes. You can call the ListNodeInfosForPod operation to query available nodes under the current account.
A Lingjun elastic network interface (ENI) is created, and the vSwitch to which it belongs is in the same zone as the target Lingjun node.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:AttachElasticNetworkInterface |
update |
*ElasticNetworkInterface
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| NodeId |
string |
Yes |
The ID of the Lingjun node. You can call the ListNodeInfosForPod operation to query available Lingjun nodes under the current account. |
e01-cn-lbj3aej**** |
| ElasticNetworkInterfaceId |
string |
Yes |
The ID of the elastic network interfaces (ENIs). An ENI is a type of network interface controller (NIC). |
leni-1234**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
AjaxResult |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The response message. |
Success |
| RequestId |
string |
The ID of the request. |
039C3C3A-3C37-5672-80D5-D8CD48C676D1 |
| Content |
any |
The response content. |
[] |
| AccessDeniedDetail |
string |
The details of the access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "Succeeded",
"RequestId": "039C3C3A-3C37-5672-80D5-D8CD48C676D1",
"Content": "[]",
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.