AssociateAddressRequest Class

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the AssociateAddress operation.

The AssociateAddress operation 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.Model.AssociateAddressRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class AssociateAddressRequest : AmazonWebServiceRequest
         IRequestEvents

The AssociateAddressRequest type exposes the following members

Constructors

  Name Description
Public Method AssociateAddressRequest()

Properties

  Name Description
Public Property AllocationId The allocation ID that AWS returned when you allocated the elastic IP address for use with Amazon VPC.
Public Property AllowReassociation
Public Property InstanceId The instance to associate with the IP address.
Public Property NetworkInterfaceId
Public Property PrivateIpAddress
Public Property PublicIp IP address that you are assigning to the instance.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8