The Argentina international is tied to a contact in Spain until 2018, but appreciates that anything is possible when a transfer window opens.
With his focus locked on the World Cup finals, he says he is giving little thought to his future at present.
Di Maria has, however, been linked with several Premier League clubs and Real's resolve to keep a player who helped them to a 10th European Cup triumph in 2013/14 may be tested over the coming months.
The 26-year-old midfielder told Marca: "I am not going to lie, I know that there are clubs that want to sign me and can match Real Madrid's demands. But that's up to my representatives and the club.
"I will stay if the club wants me to stay.
"I am not thinking about my future now. We will see what Madrid have in mind, whether they want me to stay or leave.
"I am happy at Madrid. I had a great season and always had everybody's support. But sometimes you don't have a choice, even when you want to stay yourself."
Di Maria was reported to have come close to quitting Santiago Bernabeu in 2013, but he insists that was not the case and that he always intended to form part of Carlo Ancelotti's plans.
He added: "Many things have been said about me. Sometimes it hurts when you see all the rumours that you are leaving. These are difficult moments for a player. I remained calm, though.
"I spoke with Ancelotti last summer. I wanted to stay and he wanted me to stay as well. He told me that he counted on me and it was up to me from then on.
"I have grown a lot under Ancelotti. He got the best out of me. Things have gone well and I made the right decision to stay."