AWS SDK for .NET Documentation
AssignPrivateIpAddressesRequest Class
AmazonAmazon.EC2.ModelAssignPrivateIpAddressesRequest Did this page help you?   Yes   No    Tell us about it...
Assigns one or more secondary private IP addresses to a network interface in Amazon VPC.
Declaration Syntax
C#
public class AssignPrivateIpAddressesRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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.

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.
Inheritance Hierarchy
Object
EC2Request
 AssignPrivateIpAddressesRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)