Azure Boot disgnostics

I had a requirement of enabling Boot diagnostics for 20 plus Azure linux VM’s which were all created from 2 different Modules . since there is no Boot diagnostics block in module , i am unable to enable boot diagnostics on these vm’s.
can some one tell the best way to accomplish the task.