GetLniPrivateIpAddress
Queries the details of a secondary private IP address.
Operation description
Queries the details of a secondary private IP address of a Lingjun network interface.
A Lingjun network interface (LNI) is a system network interface that comes with a Lingjun node. You cannot create an LNI by calling an API. You can call the ListNetworkInterfaces operation to query existing LNIs within the current account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:GetLniPrivateIpAddress |
get |
*PrivateIpAddress
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| NetworkInterfaceId |
string |
Yes |
The ID of the Lingjun network interface. |
lni-bp18exxqa2rvfn45e5pz |
| IpName |
string |
Yes |
The unique identifier of the IP address. |
sip-xxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response information. |
||
| Code |
integer |
The status code returned by the system. |
0 |
| Message |
string |
The error message, which indicates the cause of the exception when the instance status is abnormal. |
Success |
| RequestId |
string |
The ID of the request, which is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
DBAD15D6-3F47-5B36-8A92-57C2919D13D0 |
| Content |
object |
The response content. |
|
| RegionId |
string |
The region ID. |
cn-wulanchabu |
| GmtCreate |
string |
The creation time. |
2022-12-26 20:16:36 |
| NetworkInterfaceId |
string |
The ID of the Lingjun network interface. |
lni-2ze4uww7n6hsfzrwq77y |
| IpName |
string |
The unique identifier of the IP address. |
sip-xxxxx |
| PrivateIpAddress |
string |
The secondary private IP address of the Lingjun network interface. |
10.42.5.92 |
| IpAddressMac |
string |
The MAC address of the secondary private IP address. |
00-ff-84-15-ba-67 |
| Status |
string |
The instance status. |
Available |
| Description |
string |
The description. |
test |
| Message |
string |
The error message, which indicates the cause of the exception when the instance status is abnormal. |
Success |
| SubnetId |
string |
The instance ID of the Lingjun subnet. |
subnet-aj93mko8 |
| ResourceGroupId |
string |
The instance ID of the resource group. |
rg-aek2l4sq6l7unhi |
| AccessDeniedDetail |
string |
The detailed reasons for access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "Succeeded",
"RequestId": "DBAD15D6-3F47-5B36-8A92-57C2919D13D0",
"Content": {
"RegionId": "cn-wulanchabu",
"GmtCreate": "2022-12-26 20:16:36",
"NetworkInterfaceId": "lni-2ze4uww7n6hsfzrwq77y",
"IpName": "sip-xxxxx",
"PrivateIpAddress": "10.42.5.92",
"IpAddressMac": "00-ff-84-15-ba-67",
"Status": "Available",
"Description": "Test",
"Message": "You don't have the permission of this operation, action=eflo:ListVpdRouteEntries, arn=acs:eflo:cn-wulanchabu:1263399219805497:vpd_rte/*, resourceGroup=null",
"SubnetId": "subnet-aj93mko8",
"ResourceGroupId": "rg-aek2l4sq6l7unhi"
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.