Cook pasta according to package directions in a medium sized saucepan. Drain and cool the pasta.
In a small mixing bowl, whisk together the mayonnaise, sugar and vinegar until smooth.
Place the pasta, cabbage, onions, peppers and cucumber in a serving bowl.
Pour the dressing over it and stir to combine.
Salt and pepper to taste.
Cover and refrigerate for at least two hours for the flavors to blend.