ListNetworkInterfaces
Queries Lingjun network interfaces (LNIs).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:ListNetworkInterfaces |
list |
*NetworkInterface
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| NetworkInterfaceId |
string |
No |
Lingjun network interface controller ID. |
lni-bp18exxqa2rvfn45e5pz |
| VpdId |
string |
No |
The ID of the VPD. |
vpd-iv2zm1qf |
| NodeId |
string |
No |
The ID of the machine to which the instance belongs. |
r-2ze121o4uhr4np3r5t-db-5 |
| SubnetId |
string |
No |
The ID of the instance to which the Lingjun subnet belongs. |
subnet-anhtskts |
| Ip |
string |
No |
network interface controller the IP address. |
203.107.46.227 |
| PageNumber |
integer |
No |
The number of the page to return. |
1 |
| PageSize |
integer |
No |
The current number of pages. |
10 |
| EnablePage |
boolean |
No |
Specifies whether pagination is required. |
false |
| ResourceGroupId |
string |
No |
Resource group instance ID |
rg-aek2ojvzk4avjby |
| Tag |
array<object> |
No |
The list of tags |
|
|
object |
No |
The tag information. |
||
| Key |
string |
No |
The key of the tag. |
k-test |
| Value |
string |
No |
The value of the tag. |
v-test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response entity object. |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The error message. (If the instance is in the Exception state, the exception cause is prompted.) |
success |
| RequestId |
string |
The request ID. |
039C3C3A-3C37-5672-80D5-D8CD48C676D1 |
| Content |
object |
The response data. |
|
| Total |
integer |
The total number of entries that are returned. |
0 |
| Data |
array<object> |
The response parameters. |
|
|
array<object> |
lingjun network interface controller information. |
||
| TenantId |
string |
The tenant ID. |
1620939556166279 |
| RegionId |
string |
The region ID. |
cn-wulanchabu |
| NetworkInterfaceId |
string |
Lingjun network interface controller ID. |
lni-2ze50voovmtswn328ogm |
| NodeId |
string |
The ID of the machine to which the instance belongs. |
2d53f5c204e7476dae69177e7fa6f19c |
| VpdBaseInfo |
object |
Lingjun network segment (VPD) basic information. |
|
| VpdId |
string |
The ID of the VPD instance. |
vpd-d3isyds4 |
| VpdName |
string |
The name of the VPD instance. |
vpd-1 |
| Cidr |
string |
The network segment of Lingjun network segment (VPD).
|
10.0.0.0/16 |
| CreateTime |
string |
The time when the activation code was created. |
1668158213000 |
| ZoneId |
string |
The zone ID. |
cn-wulanchabu-b |
| SubnetBaseInfo |
object |
Lingjun subnet (Subnet) basic information. |
|
| SubnetId |
string |
The ID of the Subnet instance. |
subnet-yjnqn5ef |
| SubnetName |
string |
The name of the Subnet instance. |
subnet-1 |
| Cidr |
string |
The network segment of the Subnet.
For more information about CIDR blocks, see the What is CIDR? section in the "Network FAQ" topic. This parameter is left empty by default. |
10.0.0.0/24 |
| CreateTime |
string |
The time when the activation code was created. |
1623656472000 |
| Ip |
string |
The IP address of the instance. |
10.0.0.13 |
| ServiceMac |
string |
The address of the service network interface controller. |
00-ff-84-15-ba-67 |
| PrivateIpAddressMacGroup |
array<object> |
Secondary Private IP&MAC Address Collection |
|
|
object |
descriptor |
||
| IpName |
string |
The unique IP identifier. |
sip-1asjd3xg |
| PrivateIpAddress |
string |
The secondary private IP address. |
10.0.0.14 |
| IpAddressMac |
string |
Secondary private MAC address. |
00:25:9d:00:20:20 |
| Status |
string |
The status of the cache reserve instance. |
Available |
| Description |
string |
The instance description. |
test测试 |
| Message |
string |
The error message. (If the instance is in the Exception state, the exception cause is prompted.) |
success |
| Ethernet |
array |
The port number of the AD server. |
|
|
string |
network interface controller port information. |
eth1 eth2 |
|
| Status |
string |
The task status. |
Available |
| Gateway |
string |
The gateway. |
10.0.0.253 |
| CreateTime |
string |
The time when the activation code was created. |
1669734207000 |
| Quota |
integer |
network interface controller private secondary IP quota. |
6 |
| NcType |
string |
The NC type. Valid value:
Valid values:
|
GPU |
| NetworkInterfaceName |
string |
The port name. |
bond0 |
| ResourceGroupId |
string |
Resource group instance ID |
rg-acfm4c7urez5byi |
| Tags |
array<object> |
List of tags. |
|
|
object |
The information about the tag. |
||
| TagKey |
string |
The tag key. |
k-test |
| TagValue |
string |
The tag value. |
v-test |
| AccessDeniedDetail |
string |
The details about the access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "success",
"RequestId": "039C3C3A-3C37-5672-80D5-D8CD48C676D1",
"Content": {
"Total": 0,
"Data": [
{
"TenantId": "1620939556166279\n",
"RegionId": "cn-wulanchabu",
"NetworkInterfaceId": "lni-2ze50voovmtswn328ogm",
"NodeId": "2d53f5c204e7476dae69177e7fa6f19c",
"VpdBaseInfo": {
"VpdId": "vpd-d3isyds4",
"VpdName": "vpd-1\n",
"Cidr": "10.0.0.0/16",
"CreateTime": "1668158213000"
},
"ZoneId": "cn-wulanchabu-b",
"SubnetBaseInfo": {
"SubnetId": "subnet-yjnqn5ef",
"SubnetName": "subnet-1",
"Cidr": "10.0.0.0/24",
"CreateTime": "1623656472000"
},
"Ip": "10.0.0.13",
"ServiceMac": "00-ff-84-15-ba-67",
"PrivateIpAddressMacGroup": [
{
"IpName": "sip-1asjd3xg",
"PrivateIpAddress": "10.0.0.14",
"IpAddressMac": "00:25:9d:00:20:20",
"Status": "Available",
"Description": "test测试",
"Message": "success"
}
],
"Ethernet": [
"eth1 eth2"
],
"Status": "Available",
"Gateway": "10.0.0.253",
"CreateTime": "1669734207000",
"Quota": 6,
"NcType": "GPU",
"NetworkInterfaceName": "bond0",
"ResourceGroupId": "rg-acfm4c7urez5byi",
"Tags": [
{
"TagKey": "k-test",
"TagValue": "v-test"
}
]
}
]
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.