UpdateLeniPrivateIpAddress
Updates the description of a secondary private IP allocated to Lingjun elastic network interfaces (ENIs).
Operation description
The IpName parameter, which is the unique identifier of the secondary private IP, is returned when you call the AssignLeniPrivateIpAddress operation to allocate a secondary private IP. The prerequisite is that Lingjun elastic network interfaces (ENIs) are attached to a Lingjun node. You can call the ListLeniPrivateIpAddresses operation to query the existing secondary private IPs of Lingjun elastic network interfaces (ENIs).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:UpdateLeniPrivateIpAddress |
update |
*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 elastic network interfaces (ENIs). |
leni-1234**** |
| IpName |
string |
Yes |
The unique identifier of the secondary private IP for Lingjun elastic network interfaces (ENIs). Note
This value is returned when you call the AssignLeniPrivateIpAddress operation to allocate a secondary private IP and cannot be manually constructed. You can call the ListLeniPrivateIpAddresses operation to query existing secondary private IPs. |
sip-8ylg**** |
| Description |
string |
Yes |
The description. |
Description |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The message. |
Success |
| RequestId |
string |
The ID of the request. |
A88DFED5-24B7-5A3E-87DE-380BF06F3C90 |
| Content |
object |
The response content. |
|
| ElasticNetworkInterfaceId |
string |
The ID of the Lingjun elastic network interfaces (ENIs). |
leni-1234**** |
| IpName |
string |
The unique identifier of the secondary private IP for Lingjun elastic network interfaces (ENIs). |
sip-8ylg**** |
| AccessDeniedDetail |
string |
The details of the access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "Succeeded",
"RequestId": "A88DFED5-24B7-5A3E-87DE-380BF06F3C90",
"Content": {
"ElasticNetworkInterfaceId": "leni-1234****",
"IpName": "sip-8ylg****\n"
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.