AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
 
Describes a network interface.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.NetworkInterface

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class NetworkInterface : Object

The NetworkInterface type exposes the following members

Constructors

NameDescription
Public Method NetworkInterface()

Properties

NameTypeDescription
Public Property Association Amazon.EC2.Model.NetworkInterfaceAssociation Gets and sets the property Association.

The association information for an Elastic IP associated with the network interface.

Public Property Attachment Amazon.EC2.Model.NetworkInterfaceAttachment Gets and sets the property Attachment.

The network interface attachment.

Public Property AvailabilityZone System.String Gets and sets the property AvailabilityZone.

The Availability Zone.

Public Property Description System.String Gets and sets the property Description.

A description.

Public Property Groups System.Collections.Generic.List<Amazon.EC2.Model.GroupIdentifier> Gets and sets the property Groups.

Any security groups for the network interface.

Public Property MacAddress System.String Gets and sets the property MacAddress.

The MAC address.

Public Property NetworkInterfaceId System.String Gets and sets the property NetworkInterfaceId.

The ID of the network interface.

Public Property OwnerId System.String Gets and sets the property OwnerId.

The AWS account ID of the owner of the network interface.

Public Property PrivateDnsName System.String Gets and sets the property PrivateDnsName.

The private DNS name.

Public Property PrivateIpAddress System.String Gets and sets the property PrivateIpAddress.

The IP address of the network interface within the subnet.

Public Property PrivateIpAddresses System.Collections.Generic.List<Amazon.EC2.Model.NetworkInterfacePrivateIpAddress> Gets and sets the property PrivateIpAddresses.

The private IP addresses associated with the network interface.

Public Property RequesterId System.String Gets and sets the property RequesterId.

The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling).

Public Property RequesterManaged System.Boolean Gets and sets the property RequesterManaged.

Indicates whether the network interface is being managed by AWS.

Public Property SourceDestCheck System.Boolean Gets and sets the property SourceDestCheck.

Indicates whether traffic to or from the instance is validated.

Public Property Status Amazon.EC2.NetworkInterfaceStatus Gets and sets the property Status.

The status of the network interface.

Public Property SubnetId System.String Gets and sets the property SubnetId.

The ID of the subnet.

Public Property TagSet System.Collections.Generic.List<Amazon.EC2.Model.Tag> Gets and sets the property TagSet.

Any tags assigned to the network interface.

Public Property VpcId System.String Gets and sets the property VpcId.

The ID of the VPC.

Version Information

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

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

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8