Directional quasi-phase matching in AlGaAs resonators