GetElasticNetworkInterface
Retrieves the details of a Lingjun Elastic Network Interface (ENI).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:GetElasticNetworkInterface |
get |
*ElasticNetworkInterface
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| ElasticNetworkInterfaceId |
string |
Yes |
The ID of the Lingjun ENI. |
leni-1234**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The returned message. |
success |
| RequestId |
string |
The request ID. |
0901F411-28FA-5B9C-BAEE-7776463FF0DC |
| Content |
object |
The response content. |
|
| RegionId |
string |
The region ID. |
cn-wulanchabu |
| ZoneId |
string |
The zone ID. |
cn-wulanchabu-b |
| ElasticNetworkInterfaceId |
string |
The ID of the Lingjun ENI. |
leni-1234**** |
| NodeId |
string |
The ID of the Lingjun node. |
e01-cn-lbj3aej**** |
| Status |
string |
The status. Valid values:
|
Available |
| Tags |
array<object> |
The list of tags. |
|
|
object |
The tag information. |
||
| TagKey |
string |
The tag key. |
key1 |
| TagValue |
string |
The tag value. |
value1 |
| Ip |
string |
The IP address of the ENI. |
203.107.**** |
| VpcId |
string |
The ID of the VPC. |
vpc-j6ctp4n75306**** |
| VSwitchId |
string |
The vSwitch ID. |
vsw-uf6u8473r84e9**** |
| Message |
string |
The error message. |
Success |
| Mac |
string |
The MAC address. |
00:22:6D:97:**:** |
| Type |
string |
The type of the network interface controller (NIC). Valid values:
|
DEFAULT |
| Gateway |
string |
The gateway address of the vSwitch. |
172.16.**** |
| Mask |
string |
The mask of the vSwitch. |
24 |
| CreateTime |
string |
The time when the ENI was created. |
1672971789000 |
| GmtModified |
string |
The time when the ENI was last modified. |
1672971789000 |
| Description |
string |
The description. |
Description |
| PrivateIpAddresses |
array<object> |
The secondary private IP addresses. |
|
|
object |
The information about the secondary private IP addresses. |
||
| Status |
string |
The status. |
Available |
| ElasticNetworkInterfaceId |
string |
The ID of the Lingjun ENI. |
leni-1234**** |
| GmtCreate |
string |
The time when the secondary private IP address was created. |
1672971789000 |
| IpName |
string |
The unique identifier of the secondary private IP address for the Lingjun ENI. |
sip-ywz**** |
| PrivateIpAddress |
string |
The secondary private IP address of the Lingjun ENI. |
172.16.**** |
| Description |
string |
The description. |
Description |
| Message |
string |
The returned message. |
Success |
| GmtModified |
string |
The time when the secondary private IP address was last updated. |
1672971789000 |
| RegionId |
string |
The region ID. |
cn-wulanchabu |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-aek2l4sq6l7unhi |
| SecurityGroupId |
string |
The security group ID. |
sg-0jl5s4p4laalruk7**** |
| Ipv6Addresses |
array<object> |
The IPv6 addresses. |
|
|
object |
The IPv6 addresses. |
||
| Status |
string |
The status. |
Available |
| ElasticNetworkInterfaceId |
string |
The ID of the Lingjun ENI. |
leni-1234**** |
| IpName |
string |
The unique identifier of the IPv6 address. |
sip-sg3xabeq |
| GmtCreate |
string |
The time when the IPv6 address was created. |
1585816811000 |
| Description |
string |
The description. |
Description |
| Message |
string |
The error message. This parameter provides the reason for the error when the instance status is abnormal. |
success |
| GmtModified |
string |
The time when the IPv6 address was last updated. |
1549012834000 |
| RegionId |
string |
The region. |
cn-wulanchabu |
| Ipv6Address |
string |
The IPv6 address. |
2408:4005:3aa:1000:470d:66fb:56a5:**** |
| EnableJumboFrame |
boolean |
Indicates whether jumbo frames are enabled. |
True |
| AccessDeniedDetail |
string |
The detailed reason why the access was denied. |
{} |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "success",
"RequestId": "0901F411-28FA-5B9C-BAEE-7776463FF0DC",
"Content": {
"RegionId": "cn-wulanchabu",
"ZoneId": "cn-wulanchabu-b",
"ElasticNetworkInterfaceId": "leni-1234****",
"NodeId": "e01-cn-lbj3aej****",
"Status": "Available",
"Tags": [
{
"TagKey": "key1",
"TagValue": "value1"
}
],
"Ip": "203.107.****",
"VpcId": "vpc-j6ctp4n75306****",
"VSwitchId": "vsw-uf6u8473r84e9****",
"Message": "成功",
"Mac": "00:22:6D:97:**:**",
"Type": "DEFAULT",
"Gateway": "172.16.****",
"Mask": "24",
"CreateTime": "1672971789000",
"GmtModified": "1672971789000",
"Description": "描述",
"PrivateIpAddresses": [
{
"Status": "Available",
"ElasticNetworkInterfaceId": "leni-1234****",
"GmtCreate": "1672971789000",
"IpName": "sip-ywz****",
"PrivateIpAddress": "172.16.****",
"Description": "描述",
"Message": "成功",
"GmtModified": "1672971789000",
"RegionId": "cn-wulanchabu"
}
],
"ResourceGroupId": "rg-aek2l4sq6l7unhi",
"SecurityGroupId": "sg-0jl5s4p4laalruk7****",
"Ipv6Addresses": [
{
"Status": "Available",
"ElasticNetworkInterfaceId": "leni-1234****",
"IpName": "sip-sg3xabeq",
"GmtCreate": "1585816811000",
"Description": "描述",
"Message": "success",
"GmtModified": "1549012834000",
"RegionId": "cn-wulanchabu",
"Ipv6Address": "2408:4005:3aa:1000:470d:66fb:56a5:****"
}
],
"EnableJumboFrame": true
},
"AccessDeniedDetail": "{}"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.