GetNetworkInterface
Queries information about an LNI.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:GetNetworkInterface |
get |
*NetworkInterface
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| SubnetId |
string |
No |
Subnet of Lingjun |
subnet-f3zfzmnc |
| NetworkInterfaceId |
string |
Yes |
Lingjun network interface controller ID |
lni-bp18exxqa2rvfn45e5pz |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
AjaxResult |
||
| 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 |
Request ID of the current request |
A88DFED5-24B7-5A3E-87DE-380BF06F3C90 |
| Content |
object |
The response data. (If a resource has dependent resources, the existing dependent resources are returned.) |
|
| TenantId |
string |
The ID of the tenant. |
1655449505171 |
| RegionId |
string |
The region ID. |
cn-wulanchabu |
| NetworkInterfaceId |
string |
Lingjun network interface controller ID |
lni-f8z4scmfh0u4ewv6vdd8 |
| NodeId |
string |
The ID of the host. |
masterintranett2fdth5fkoocg |
| VpdBaseInfo |
object |
Basic information of Lingjun network segment (VPD) |
|
| VpdId |
string |
The ID of the VPD instance. |
vpd-ppdunxzc |
| VpdName |
string |
The name of the VPD instance. |
vpd-1 |
| Cidr |
string |
The network segment of the Lingjun 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. |
172.18.0.0/24 |
| CreateTime |
string |
The time when the data address was created. |
1678273219000 |
| ZoneId |
string |
The zone ID. |
cn-wulanchabu-b |
| SubnetBaseInfo |
object |
Lingjun subnet (Subnet) basic information |
|
| SubnetId |
string |
The ID of the Subnet instance. |
subnet-urb01blo |
| SubnetName |
string |
The name of the Subnet instance. |
subnet-1 |
| Cidr |
string |
Network address segment |
116.233.21.57/32 |
| CreateTime |
string |
The time when the data address was created. |
1678273219000 |
| Ip |
string |
The IP address of the BE cluster. |
203.107.**** |
| ServiceMac |
string |
Service network interface controller address |
01-00-5e-00-00-16 |
| PrivateIpAddressMacGroup |
array<object> |
Secondary Private IP&MAC Address Collection |
|
|
object |
Secondary Private IP&MAC Address |
||
| IpName |
string |
IP unique identifier |
sip-1asjd3xg |
| PrivateIpAddress |
string |
Secondary private IP address |
172.23.161.57 |
| IpAddressMac |
string |
Secondary private MAC address |
01-00-5e-00-00-16 |
| Status |
string |
The state of the rule. |
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 |
Port |
|
|
string |
Connection information |
eth0 eth1 |
|
| Status |
string |
The status of the intervention entry. Valid value: |
Available |
| Gateway |
string |
Gateway |
172.24.20.254 |
| CreateTime |
string |
The time when the data address was created. |
1678273219000 |
| Quota |
integer |
network interface controller private secondary IP limit |
0 |
| NcType |
string |
NC Type Valid value:
Valid values:
|
DEFAULT |
| NetworkInterfaceName |
string |
ENI Name |
bond0 |
| ResourceGroupId |
string |
Resource group instance ID |
rg-acfmv2m2w43japa |
| Tags |
array<object> |
The details of the resource tags. |
|
|
object |
The information about the tag. |
||
| TagKey |
string |
The tag key. |
key-test |
| TagValue |
string |
The tag value. |
value-test |
| AccessDeniedDetail |
string |
The details about the access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "success",
"RequestId": "A88DFED5-24B7-5A3E-87DE-380BF06F3C90",
"Content": {
"TenantId": "1655449505171",
"RegionId": "cn-wulanchabu",
"NetworkInterfaceId": "lni-f8z4scmfh0u4ewv6vdd8",
"NodeId": "masterintranett2fdth5fkoocg",
"VpdBaseInfo": {
"VpdId": "vpd-ppdunxzc",
"VpdName": "vpd-1",
"Cidr": "172.18.0.0/24",
"CreateTime": "1678273219000"
},
"ZoneId": "cn-wulanchabu-b",
"SubnetBaseInfo": {
"SubnetId": "subnet-urb01blo",
"SubnetName": "subnet-1",
"Cidr": "116.233.21.57/32",
"CreateTime": "1678273219000"
},
"Ip": "203.107.****",
"ServiceMac": "01-00-5e-00-00-16",
"PrivateIpAddressMacGroup": [
{
"IpName": "sip-1asjd3xg",
"PrivateIpAddress": "172.23.161.57",
"IpAddressMac": "01-00-5e-00-00-16",
"Status": "Available",
"Description": "test测试",
"Message": "success"
}
],
"Ethernet": [
"eth0 eth1"
],
"Status": "Available",
"Gateway": "172.24.20.254",
"CreateTime": "1678273219000",
"Quota": 0,
"NcType": "DEFAULT",
"NetworkInterfaceName": "bond0",
"ResourceGroupId": "rg-acfmv2m2w43japa",
"Tags": [
{
"TagKey": "key-test",
"TagValue": "value-test"
}
]
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.