All of the metadata associated with a network interface on the instance.
| C# |
public class NetworkInterface
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| NetworkInterface(String) | Initializes a new instance of the NetworkInterface class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetIpV4Association(String) |
Get the private IPv4 address(es) that are associated with the public-ip address and assigned to that interface.
| |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| LocalHostname |
The interface's local hostname.
| |
| LocalIPv4s |
The private IP addresses associated with the interface.
| |
| MacAddress |
The interface's Media Access Control (mac) address.
| |
| OwnerId |
The ID of the owner of the network interface.
| |
| Profile |
The interface's profile
| |
| PublicHostname |
The interface's public hostname.
| |
| PublicIPv4s |
The elastic IP addresses associated with the interface.
| |
| SecurityGroupIds |
IDs of the security groups to which the network interface belongs. Returned only for Amazon EC2 instances launched into a VPC.
| |
| SecurityGroups |
Security groups to which the network interface belongs.
| |
| SubnetId |
The ID of the Amazon EC2-VPC subnet in which the interface resides.
| |
| SubnetIPv4CidrBlock |
The CIDR block of the Amazon EC2-VPC subnet in which the interface resides.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| VpcId |
The CIDR block of the Amazon EC2-VPC subnet in which the interface resides.
|
| Object | |
| NetworkInterface | |