Assigns one or more secondary private IP addresses to a network interface in Amazon VPC.
Declaration Syntax
C# |
public AssignPrivateIpAddressesResponse AssignPrivateIpAddresses( AssignPrivateIpAddressesRequest request )
Parameters
- request (AssignPrivateIpAddressesRequest)
- Assign Private Ip Addresses request
Return Value
Assign Private Ip Addresses response from the service
Remarks
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.
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |