How do you update the OneAgent Azure extension?

It looks like we suggest using the rest api if you wanted to automate Microsoft Azure monitoring — Dynatrace Docs

for manual updates you have some options to update like below from the azure side