AssignPrivateIpAddresses

GET /?Action=AssignPrivateIpAddresses
Description

Assigns one or more secondary private IP addresses to an FNI.
This action is only available in a VPC.
The private IP addresses to be assigned can be added individually using the PrivateIpAddress.N parameter, or you can specify the number of private IP addresses to be automatically chosen within the subnet range using the SecondaryPrivateIpAddressCount parameter. You can specify only one of these two parameters. If none of these parameters are specified, a private IP address is chosen within the subnet range.

Body parameter

Required: false
Name: AssignPrivateIpAddressesRequest

Name Description Required Schema Default Example

Allow-reassignment | No-allow-reassignment

If set to allow-reassignment, allows a private IP address already assigned to another FNI in the same subnet to be reassigned to the specified FNI.

false

string

NetworkInterfaceId

The ID of the FNI.

true

string

PrivateIpAddress.N

One or more secondary private IP addresses to assign to the FNI within the IP address range of the subnet.

false

string

SecondaryPrivateIpAddressCount

A number of secondary private IP addresses to assign to the FNI.

false

integer

Responses
HTTP Code 200
HTTP Code Description Schema

200

AssignPrivateIpAddressesResult

Response 200

Response 200

Name Description Required Schema Default Example

requestId

The ID of the request.

false

string

return

If true, the private IP address is assigned. Otherwise, you receive an error.

false

boolean