architecture - way to protect my application from external API changes
===

Hi I wonder about some templates or patterns, how to protect my application from changes in external API, for example inside of MS Azure or any other companies.
What the bast way to do it and minimize changes in my code.
Thanks.   