有人知道为什么我收到此表而不是带有 azure cli 的 IotHub 设备孪生吗?
$iothub_name = 'iot-eu-iot-sandbox96587.azure-devices.net'
$device_id = 'SimulatedDevice'
az iot hub device-twin show --hub-name $iothub_name --device-id $device_id
--output json
添加到 MSDOC中的
az iot hub device-twin show
命令会在 Json
中显示输出。az iot hub device-twin show --hub-name $iothub_name --device-id $device_id --output json
输出: