AWS SDK Version 3 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.

Contains information about the network interfaces interacting with an EC2 instance. This data type is used as one of the elements of the AssetAttributes data type.

Inheritance Hierarchy

System.Object
  Amazon.Inspector.Model.NetworkInterface

Namespace: Amazon.Inspector.Model
Assembly: AWSSDK.Inspector.dll
Version: 3.x.y.z

Syntax

C#
public class NetworkInterface

The NetworkInterface type exposes the following members

Constructors

NameDescription
Public Method NetworkInterface()

Properties

NameTypeDescription
Public Property Ipv6Addresses System.Collections.Generic.List<System.String>

Gets and sets the property Ipv6Addresses.

The IP addresses associated with the network interface.

Public Property NetworkInterfaceId System.String

Gets and sets the property NetworkInterfaceId.

The ID of the network interface.

Public Property PrivateDnsName System.String

Gets and sets the property PrivateDnsName.

The name of a private DNS associated with the network interface.

Public Property PrivateIpAddress System.String

Gets and sets the property PrivateIpAddress.

The private IP address associated with the network interface.

Public Property PrivateIpAddresses System.Collections.Generic.List<Amazon.Inspector.Model.PrivateIp>

Gets and sets the property PrivateIpAddresses.

A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress.

Public Property PublicDnsName System.String

Gets and sets the property PublicDnsName.

The name of a public DNS associated with the network interface.

Public Property PublicIp System.String

Gets and sets the property PublicIp.

The public IP address from which the network interface is reachable.

Public Property SecurityGroups System.Collections.Generic.List<Amazon.Inspector.Model.SecurityGroup>

Gets and sets the property SecurityGroups.

A list of the security groups associated with the network interface. Includes the groupId and groupName.

Public Property SubnetId System.String

Gets and sets the property SubnetId.

The ID of a subnet associated with the network interface.

Public Property VpcId System.String

Gets and sets the property VpcId.

The ID of a VPC associated with the network interface.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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