Basically the entire poem is an extended metaphor because Shakespeare compares her to the elements of summer for the whole poem.
However more specifically, in line 10, Shakespeare writes "But
thy eternal Summer
shall not fade". This is a metaphor because he is saying
her