01 Define the configuration parameters for the account get-access-token command, where the vnetEnableDDoSProtectionMonitoringEffect parameter is enabled to turn on the monitoring feature. Save the configuration document to a JSON file named enable-ddos-protection-monitoring.json and replace the highlighted details, i.e. and , with your own Azure account subscription details:
02 Run account get-access-token command (Windows/macOS/Linux) using the configuration document defined at the previous step (i.e. enable-ddos-protection-monitoring.json file), to enable the DDoS protection monitoring for all the public virtual networks available within the selected Azure subscription:
b8c5b4e695