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.
Namespace: Amazon.Inspector.Model
Assembly: AWSSDK.Inspector.dll
Version: 3.x.y.z
public class NetworkInterface
The NetworkInterface type exposes the following members
Name | Description | |
---|---|---|
NetworkInterface() |
Name | Type | Description | |
---|---|---|---|
Ipv6Addresses | System.Collections.Generic.List<System.String> |
Gets and sets the property Ipv6Addresses. The IP addresses associated with the network interface. |
|
NetworkInterfaceId | System.String |
Gets and sets the property NetworkInterfaceId. The ID of the network interface. |
|
PrivateDnsName | System.String |
Gets and sets the property PrivateDnsName. The name of a private DNS associated with the network interface. |
|
PrivateIpAddress | System.String |
Gets and sets the property PrivateIpAddress. The private IP address associated with the network interface. |
|
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. |
|
PublicDnsName | System.String |
Gets and sets the property PublicDnsName. The name of a public DNS associated with the network interface. |
|
PublicIp | System.String |
Gets and sets the property PublicIp. The public IP address from which the network interface is reachable. |
|
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. |
|
SubnetId | System.String |
Gets and sets the property SubnetId. The ID of a subnet associated with the network interface. |
|
VpcId | System.String |
Gets and sets the property VpcId. The ID of a VPC associated with the network interface. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5