Optically excited self-resonant microbeams