The device index. Applies to both attaching an existing network interface and when
            creating a network interface.
            
 Declaration Syntax
 Declaration Syntax| C# | 
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public InstanceNetworkInterfaceSpecification WithDeviceIndex( int deviceIndex )
 Parameters
 Parameters- deviceIndex (Int32)
- The index of the device on the instance for the network interface attachment.
 Return Value
 Return Valuethis instance
 Remarks
 Remarks
            Condition: If you are specifying a network interface in the
            request, you must provide the device index.