public attachNetworkInterface ( string $networkInterfaceId, string $instanceId, integer $deviceIndex ) : string | ||
$networkInterfaceId | string | The ID of the network interface |
$instanceId | string | The ID of the instance to attach to the network interface |
$deviceIndex | integer | The index of the device for the network interface attachment. |
return | string | Returns Attachment ID on success or throws an exception |