I thought I'd throw something in here before I submit a feature request (maybe I am missing something)
I am building a process to health check a variety of settings following the onboarding of a customer. I am a strong believer that some things shouldn't wait to be corrected when missed or incorrectly applied. So in that line of thinking, I am building a script that queries the API for information about backup policies and assignments. One of the many underrated but very valuable features of NMM is the “assign policy to resources” block, which helps ensure that any new session host is getting backed up by a policy, and the same for the other resource types. But what if - the engineering setting it up, missed one? or in more standardized solutions, assigned the policy for servers, to session hosts?
So - can anything think of an API call that will help me see what backup policies are assigned to resource types? I see a POST (For setting the assignment) - but not a GET, which would tell me the current conditions.
The expansion of MSP level profiles in things like Auto-Scale help tremendously, but we still find odd and obscure gaps here and there.
Again - just curious whether there is a method that would get me the desired result without a feature request.
Comments (3 comments)