Releases an elastic IP address associated with
your account.
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.
Note -
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.
Important - 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.
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 ReleaseAddressRequest
Public Class ReleaseAddressRequest
public ref class ReleaseAddressRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| ReleaseAddressRequest()()()() | Initializes a new instance of the ReleaseAddressRequest class | |
| AllocationId |
Gets and sets the AllocationId property.
The allocation ID that AWS provided when you allocated
the address for use with Amazon VPC.
Type: String
Default: None
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.) | |
| IsSetAllocationId()()()() |
Checks if AllocationId property is set
| |
| IsSetPublicIp()()()() |
Checks if PublicIp property is set
| |
| PublicIp |
Gets and sets the PublicIp property.
The IP address that you are releasing from
your account.
| |
| ToString()()()() | (Inherited from Object.) | |
| WithAllocationId(String) |
Sets the AllocationId property
| |
| WithPublicIp(String) |
Sets the PublicIp property
|