AWS SDK for .NET Documentation
CreateNetworkInterfaceRequest Class
AmazonAmazon.EC2.ModelCreateNetworkInterfaceRequest Did this page help you?   Yes   No    Tell us about it...
Creates a network interface in the specified subnet.
Declaration Syntax
C#
public class CreateNetworkInterfaceRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CreateNetworkInterfaceRequest()()()()
Initializes a new instance of the CreateNetworkInterfaceRequest class

Description
The description of the network interface.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
GroupId
A list of security group IDs for use by the network interface.

IsSetDescription()()()()
Checks if the Description property is set

IsSetGroupId()()()()
Checks if the GroupId property is set

IsSetPrivateIpAddress()()()()
Checks if the PrivateIpAddress property is set

IsSetPrivateIpAddresses()()()()
Checks if the PrivateIpAddresses property is set

IsSetSecondaryPrivateIpAddressCount()()()()
Checks if the SecondaryPrivateIpAddressCount property is set

IsSetSubnetId()()()()
Checks if the SubnetId property is set

PrivateIpAddress
The primary private IP address of the network interface.

PrivateIpAddresses
Private IP addresses.

SecondaryPrivateIpAddressCount
Number of secondary private IP addresses.

SubnetId
The ID of the subnet to associate with the network interface.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithDescription(String) Obsolete.
Sets the description of the network interface.

WithGroupId(array<String>[]()[][]) Obsolete.
Sets the list of security group IDs for use by the network interface.

WithPrivateIpAddress(String) Obsolete.
Sets the primary private IP address of the network interface.

WithPrivateIpAddresses(array<PrivateIpAddress>[]()[][]) Obsolete.
Sets private IP addresses.

WithSecondaryPrivateIpAddressCount(Int32) Obsolete.
Sets the number of secondary private IP addresses.

WithSubnetId(String) Obsolete.
Sets the ID of the subnet to associate with the network interface.

Remarks
This action is supported only in Amazon VPC.
Inheritance Hierarchy
Object
EC2Request
 CreateNetworkInterfaceRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)