Assigns one or more secondary private IP addresses to a network interface in Amazon VPC.

C# |
AssignPrivateIpAddressesResponse AssignPrivateIpAddresses( AssignPrivateIpAddressesRequest request )

- request (AssignPrivateIpAddressesRequest)
- Assign Private Ip Addresses request

Assign Private Ip Addresses response from the service

You can specify one or more specific secondary IP addresses that you want to assign,
or you can specify a number of secondary IP addresses to be automatically assigned
within the subnet’s CIDR block range.
The number of secondary IP addresses that you can assign to an instance varies by instance type.

Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |