ListElasticNetworkInterfaces
Queries the list of Lingjun elastic network interfaces (ENIs) (network interface controller (NIC)).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:ListElasticNetworkInterfaces |
list |
*ElasticNetworkInterface
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| ZoneId |
string |
No |
The zone ID. |
cn-wulanchabu-b |
| Type |
string |
No |
The type. Valid values:
|
DEFAULT |
| NetworkType |
string |
No |
The network type. Valid values:
|
tenant |
| ElasticNetworkInterfaceId |
string |
No |
The ID of the Lingjun elastic network interfaces (ENIs) (network interface controller (NIC)). |
leni-1234**** |
| NodeId |
string |
No |
The node ID. |
e01-cn-lbj3aej**** |
| Status |
string |
No |
The status. Valid values:
|
Available |
| Ip |
string |
No |
The IP address. |
10.0.0.1 |
| VpcId |
string |
No |
The VPC ID. |
vpc-uf6aa4ddo97fr**** |
| VSwitchId |
string |
No |
The vSwitch ID. |
vsw-uf6u8473r84e9**** |
| Tag |
array<object> |
No |
The tag list. |
|
|
object |
No |
The tag information. |
||
| Key |
string |
No |
The tag key. |
tag-vcc |
| Value |
string |
No |
The tag value. |
apisix |
| PageNumber |
integer |
No |
The current page number. Starting value: 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 20. |
10 |
| ResourceGroupId |
string |
No |
The resource group instance ID. |
rg-acfmynvzeknccpy |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response elements. |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The response message. |
success |
| RequestId |
string |
The ID of the request. |
AC8C713A-A9F4-5984-A5E1-76496DF35153 |
| Content |
object |
The response content. |
|
| Total |
integer |
The total number of records. |
100 |
| Data |
array<object> |
The list of Lingjun elastic network interface controller (NIC) information. |
|
|
array<object> |
The Lingjun elastic network interface controller (NIC) information. |
||
| RegionId |
string |
The region ID. |
cn-wulanchabu |
| ZoneId |
string |
The zone ID. |
cn-wulanchabu-b |
| ElasticNetworkInterfaceId |
string |
The ID of the Lingjun elastic network interface controller (NIC). |
leni-1234**** |
| NodeId |
string |
The node ID. |
e01-cn-uax37m1**** |
| Status |
string |
The status. |
Available |
| Tags |
array<object> |
The tag list. |
|
|
object |
The tag information. |
||
| TagKey |
string |
The tag key. |
testkey2 |
| TagValue |
string |
The tag value. |
tfTestAcc0 |
| Ip |
string |
The IP address. |
10.0.0.13 |
| VpcId |
string |
The VPC ID. |
vpc-f8ziirfl9k25h2qn7**** |
| VSwitchId |
string |
The vSwitch ID. |
vsw-uf6u8473r84e9**** |
| Message |
string |
The error message. |
Success |
| Mac |
string |
The MAC address. |
E0:01:A6:4A:6A:D0 |
| Type |
string |
The network interface controller (NIC) type. The default type DEFAULT does not support manual release. Valid values:
|
DEFAULT |
| Gateway |
string |
The vSwitch gateway address. |
172.16.**** |
| Mask |
string |
The vSwitch mask length. |
24 |
| CreateTime |
string |
The creation time. The value is a 13-digit UNIX timestamp in milliseconds. |
1601176751000 |
| GmtModified |
string |
The update time. |
1640187007000 |
| Description |
string |
The description. |
Description |
| SecurityGroupId |
string |
The security group ID. |
sg-f8z4wr1b41x3qsc9**** |
| ResourceGroupId |
string |
The resource group instance ID. |
rg-acfmzzka6bnjvbi |
| AccessDeniedDetail |
string |
The details of the access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "Succeeded",
"RequestId": "AC8C713A-A9F4-5984-A5E1-76496DF35153",
"Content": {
"Total": 100,
"Data": [
{
"RegionId": "cn-wulanchabu",
"ZoneId": "cn-wulanchabu-b",
"ElasticNetworkInterfaceId": "leni-1234****",
"NodeId": "e01-cn-uax37m1****",
"Status": "Available",
"Tags": [
{
"TagKey": "testkey2",
"TagValue": "tfTestAcc0"
}
],
"Ip": "10.0.0.13",
"VpcId": "vpc-f8ziirfl9k25h2qn7****",
"VSwitchId": "vsw-uf6u8473r84e9****",
"Message": "成功",
"Mac": "E0:01:A6:4A:6A:D0",
"Type": "DEFAULT",
"Gateway": "172.16.****",
"Mask": "24",
"CreateTime": "1601176751000",
"GmtModified": "1640187007000",
"Description": "Description",
"SecurityGroupId": "sg-f8z4wr1b41x3qsc9****",
"ResourceGroupId": "rg-acfmzzka6bnjvbi"
}
]
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.