pip install azure-iot-hub
//装好了 Azure CLI 之后执行:
az iot hub show-connection-string --hub-name {your iot hub name} --policy-name service
Get the connection string you used for monitoring, and stick it in the monitoring code
pip install azure-iot-hub
//装好了 Azure CLI 之后执行:
az iot hub show-connection-string --hub-name {your iot hub name} --policy-name service
Get the connection string you used for monitoring, and stick it in the monitoring code