Associates an elastic IP address with an instance. If the IP address is
currently assigned to another instance, the IP address is assigned
to the new instance. This is an idempotent operation. If you enter it more than once,
Amazon EC2 does not return an error.
Namespace: Amazon.EC2.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class AssociateAddressRequest
Public Class AssociateAddressRequest
public ref class AssociateAddressRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| AssociateAddressRequest()()()() | Initializes a new instance of the AssociateAddressRequest class | |
| AllocationId |
Gets and sets the AllocationId property.
The allocation ID that AWS returned when you allocated
the elastic IP address for use with Amazon VPC.
Condition: Required for VPC elastic IP addresses
| |
| 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.) | |
| InstanceId |
Gets and sets the InstanceId property.
The instance to associate with the IP address.
| |
| IsSetAllocationId()()()() |
Checks if AllocationId property is set
| |
| IsSetInstanceId()()()() |
Checks if InstanceId property is set
| |
| IsSetNetworkInterfaceId()()()() |
Checks if the NetworkInterfaceId property is set
| |
| IsSetPublicIp()()()() |
Checks if PublicIp property is set
| |
| NetworkInterfaceId |
Gets and sets the NetworkInterfaceId property
| |
| PublicIp |
Gets and sets the PublicIp property.
IP address that you are assigning to the
instance.
| |
| ToString()()()() | (Inherited from Object.) | |
| WithAllocationId(String) |
Sets the AllocationId property
| |
| WithInstanceId(String) |
Sets the InstanceId property
| |
| WithNetworkInterfaceId(String) |
Sets the NetworkInterfaceId property
| |
| WithPublicIp(String) |
Sets the PublicIp property
|