AWS SDK for .NET Documentation
ReleaseAddressRequest Class
AmazonAmazon.EC2.ModelReleaseAddressRequest Did this page help you?   Yes   No    Tell us about it...
Releases an elastic IP address associated with your account.
Declaration Syntax
C#
public class ReleaseAddressRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ReleaseAddressRequest()()()()
Initializes a new instance of the ReleaseAddressRequest class

AllocationId
Address allocation ID. This value was provided when you allocated the address for use with Amazon VPC.

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.)
IsSetAllocationId()()()()
Checks if AllocationId property is set

IsSetPublicIp()()()()
Checks if PublicIp property is set

PublicIp
The IP address that you are releasing from your account.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAllocationId(String) Obsolete.
Sets the address allocation ID.

WithPublicIp(String) Obsolete.
Sets the IP address that you are releasing from your account.

Remarks
If you run this operation on an elastic IP address that is already released, the address might be assigned to another account which will cause Amazon EC2 to return an error. Releasing an IP address automatically disassociates it from any instance with which it is associated. To disassociate an IP address without releasing it, use the DisassociateAddress operation. After releasing an elastic IP address, it is released to the IP // address pool and might no longer be available to your account. Make sure to update your DNS records and any servers or devices that communicate with the address.
Inheritance Hierarchy
Object
EC2Request
 ReleaseAddressRequest

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