AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Describes an Elastic IP address, or a carrier IP address.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class Address
The Address type exposes the following members
Name | Description | |
---|---|---|
![]() |
Address() |
Name | Type | Description | |
---|---|---|---|
![]() |
AllocationId | System.String |
Gets and sets the property AllocationId. The ID representing the allocation of the address. |
![]() |
AssociationId | System.String |
Gets and sets the property AssociationId. The ID representing the association of the address with an instance. |
![]() |
CarrierIp | System.String |
Gets and sets the property CarrierIp. The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance). |
![]() |
CustomerOwnedIp | System.String |
Gets and sets the property CustomerOwnedIp. The customer-owned IP address. |
![]() |
CustomerOwnedIpv4Pool | System.String |
Gets and sets the property CustomerOwnedIpv4Pool. The ID of the customer-owned address pool. |
![]() |
Domain | Amazon.EC2.DomainType |
Gets and sets the property Domain.
The network ( |
![]() |
InstanceId | System.String |
Gets and sets the property InstanceId. The ID of the instance that the address is associated with (if any). |
![]() |
NetworkBorderGroup | System.String |
Gets and sets the property NetworkBorderGroup. The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. |
![]() |
NetworkInterfaceId | System.String |
Gets and sets the property NetworkInterfaceId. The ID of the network interface. |
![]() |
NetworkInterfaceOwnerId | System.String |
Gets and sets the property NetworkInterfaceOwnerId. The ID of the Amazon Web Services account that owns the network interface. |
![]() |
PrivateIpAddress | System.String |
Gets and sets the property PrivateIpAddress. The private IP address associated with the Elastic IP address. |
![]() |
PublicIp | System.String |
Gets and sets the property PublicIp. The Elastic IP address. |
![]() |
PublicIpv4Pool | System.String |
Gets and sets the property PublicIpv4Pool. The ID of an address pool. |
![]() |
ServiceManaged | Amazon.EC2.ServiceManaged |
Gets and sets the property ServiceManaged. The service that manages the elastic IP address.
The only option supported today is |
![]() |
SubnetId | System.String |
Gets and sets the property SubnetId. The ID of the subnet where the IP address is allocated. |
![]() |
Tags | System.Collections.Generic.List<Amazon.EC2.Model.Tag> |
Gets and sets the property Tags. Any tags assigned to the Elastic IP address. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer