Use the "Curve" tool (either "control point curve" or "sketch") to draw the shape in the "Front" or "Right" viewport -- use the red "base line" as a "floor".
- Press ESC to get out of the "curve" menu.
- Click on your new line.
- Type "Revolve" in the "Command:" line.
- Draw the "Axis" (use Shift to keep the line straight) and press Enter.
- Type "360" at the "Revolution Angle" prompt and press Enter.
- Press "Delete" to remove the original curve that you drew.
- Shade the Perspective viewport and view your object from different angles.