Assigns one or more secondary private IP addresses to a network interface in Amazon VPC.
![](../icons/collapse_all.gif)
C# |
public class AssignPrivateIpAddressesRequest : EC2Request
![](../icons/collapse_all.gif)
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | AssignPrivateIpAddressesRequest()()()() | Initializes a new instance of the AssignPrivateIpAddressesRequest class |
![]() | AllowReassignment |
Specifies whether to allow an IP address that is already assigned to another network interface or
instance to be reassigned to the specified network interface.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | IsSetAllowReassignment()()()() |
Checks if the AllowReassignment property is set
|
![]() | IsSetNetworkInterfaceId()()()() |
Checks if the NetworkInterfaceId property is set
|
![]() | IsSetPrivateIpAddresses()()()() |
Checks if the PrivateIpAddresses property is set
|
![]() | IsSetSecondaryPrivateIpAddressCount()()()() |
Checks if the SecondaryPrivateIpAddressCount property is set
|
![]() | NetworkInterfaceId |
The network interface to which the IP address will be assigned.
|
![]() | PrivateIpAddresses |
Assigns the specified IP addresses as secondary IP address to the network interface.
|
![]() | SecondaryPrivateIpAddressCount |
The number of secondary IP addresses to assign to the network interface.
|
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WithAllowReassignment(Boolean) | Obsolete.
Sets whether to allow an IP address that is already assigned to another network interface or
instance to be reassigned to the specified network interface.
|
![]() | WithNetworkInterfaceId(String) | Obsolete.
Sets the network interface to which the IP address will be assigned.
|
![]() | WithPrivateIpAddresses(array<String>[]()[][]) | Obsolete.
Sets the specified IP addresses as secondary IP address to the network interface.
|
![]() | WithSecondaryPrivateIpAddressCount(Int32) | Obsolete.
Sets the number of secondary IP addresses to assign to the network interface.
You cannot specify this parameter when also specifying multiple PrivateIPAddresses for the same network interface.
|
![](../icons/collapse_all.gif)
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.
![](../icons/collapse_all.gif)
Object | ||
![]() | EC2Request | |
![]() | AssignPrivateIpAddressesRequest |