CmdID / az / az iot / az iot hub / az iot hub route
az iot hub route test
Test all routes or mentioned route in IoT Hub. Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--app-properties, --apApp properties of the route message.--body, -bBody of the route message.--system-properties, --spSystem properties of the route message.