cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Auto Update settings api?

tarjei_utnes
Helper

Hi,

It is possible to disable and enable the auto update both on cluster level, and on environment level in a Managed Cluster.

I see that there is a call to <Managed URI>/rest/configuration/autoupdate when this is toggled for the environment.

Is this endpoint available in the "real" REST API?



5 REPLIES 5

Julius_Loman
DynaMight Legend
DynaMight Legend

This is the internal REST API used just by the UI. It is technically possible, but you shall not call this API directly.

AFAIK the public API (Environment / Configuration) does not have this functionality (yet).


Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

We do not have any other option than using that if we want to automate updates do we?

Not any public one I'm aware of. The internal REST API can be called (you need to send proper headers in the request for this to work). This is not guaranteed to work across dynatrace versions and it cannot be done in single request as you would need to authenticate first.


Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Hi Julius, 

stumbled over this thread and wonder... is it still not here? 

 

Thanks,

Ingrida

Hi @Ingrida ,

 

the options for managing OneAgent updates is available already for approximately one year in the Configuration API. Look for OneAgent configuration API. 

Best regards
Julius

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts