We have managed to get the diagnostic extension installed using quick start ARM template here and it appears to be working fine, however is there any way to keep it turned off while provisioning so that it does not start pushing collected data to storage sink unless it is explicitly enabled manually later whenever needed e.g. using Azure portal?
Use case is - we would want to spin up several Azure VMs using ARM template with diagnostic settings extension added but disabled, it would only be enabled for select VMs later if required. Is it possible to achieve using ARM template?