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.
For more information about network interfaces, see Elastic Network Interfaces in the Amazon Elastic Compute Cloud User Guide.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CreateNetworkInterfaceRequest : AmazonEC2Request IRequestEvents
The CreateNetworkInterfaceRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateNetworkInterfaceRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
Description | System.String |
Gets and sets the property Description.
A description for the network interface. |
![]() |
Groups | System.Collections.Generic.List<System.String> |
Gets and sets the property Groups.
The IDs of one or more security groups. |
![]() |
PrivateIpAddress | System.String |
Gets and sets the property PrivateIpAddress.
The primary private IP address of the network interface. If you don't specify an IP
address, Amazon EC2 selects one for you from the subnet range. If you specify an IP
address, you cannot indicate any IP addresses specified in |
![]() |
PrivateIpAddresses | System.Collections.Generic.List<Amazon.EC2.Model.PrivateIpAddressSpecification> |
Gets and sets the property PrivateIpAddresses.
One or more private IP addresses. |
![]() |
SecondaryPrivateIpAddressCount | System.Int32 |
Gets and sets the property SecondaryPrivateIpAddressCount.
The number of secondary private IP addresses to assign to a network interface. When
you specify a number of secondary IP addresses, Amazon EC2 selects these IP addresses
within the subnet range. You can't specify this option and specify more than one private
IP address using The number of IP addresses you can assign to a network interface varies by instance type. For more information, see Private IP Addresses Per ENI Per Instance Type in the Amazon Elastic Compute Cloud User Guide. |
![]() |
SubnetId | System.String |
Gets and sets the property SubnetId.
The ID of the subnet to associate with the network interface. |
.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