AWS SDK for .NET Documentation
AttachNetworkInterfaceRequest Class
AmazonAmazon.EC2.ModelAttachNetworkInterfaceRequest Did this page help you?   Yes   No    Tell us about it...
Attaches a network interface to an instance.
Declaration Syntax
C#
public class AttachNetworkInterfaceRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



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

DeviceIndex
The index of the device for the network interface attachment on the instance.

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.)
InstanceId
The ID of the instance to attach to the network interface.

IsSetDeviceIndex()()()()
Checks if the DeviceIndex property is set

IsSetInstanceId()()()()
Checks if the InstanceId property is set

IsSetNetworkInterfaceId()()()()
Checks if the NetworkInterfaceId property is set

NetworkInterfaceId
The ID of the network interface to attach.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithDeviceIndex(Int32) Obsolete.
Sets the index of the device for the network interface attachment on the instance.

WithInstanceId(String) Obsolete.
Sets the ID of the instance to attach to the network interface.

WithNetworkInterfaceId(String) Obsolete.
Sets the ID of the network interface to attach.

Inheritance Hierarchy
Object
EC2Request
 AttachNetworkInterfaceRequest

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