Kevin de Bruyne has confirmed he will leave Manchester City when his contract expires at the end of the season .