InstanceNetworkInterface constructor

const InstanceNetworkInterface({
  1. Input<bool?>? deleteOnTermination,
  2. required Input<int> deviceIndex,
  3. Input<int?>? networkCardIndex,
  4. required Input<String> networkInterfaceId,
})

Creates a new InstanceNetworkInterface. deleteOnTermination Whether or not to delete the network interface on instance termination. Defaults to false. Currently, the only valid value is false, as this is only supported when creating new network interfaces when launching an instance. deviceIndex Integer index of the network interface attachment. Limited by instance type. networkCardIndex Integer index of the network card. Limited by instance type. The default index is 0. networkInterfaceId ID of the network interface to attach.

Implementation

const InstanceNetworkInterface({
  this.deleteOnTermination,
  required this.deviceIndex,
  this.networkCardIndex,
  required this.networkInterfaceId,
});