我可以设置禁用与 IoT 中心的设备交互以使用 Azure IoT 中心设备预配服务吗?

Can I set disabled the device interaction with the IoT Hub to use Azure IoT Hub device provisioning service?

我使用 Azure IoT 中心 DPS 注册设备。
从 DPS 注册设备时,我可以设置禁用物联网设备状态吗?
怎么做?

I want to set this status

{ "deviceId": "test", "etag": "AAAAAAAAAAE=", "deviceEtag": "NTI1OTc3Nzkx", "status": "disabled", "statusUpdateTime": "0001-01-01T00:00:00Z", "connectionState": "Disconnected",
"lastActivityTime": "0001-01-01T00:00:00Z",
"cloudToDeviceMessageCount": 0, "authenticationType": "sas",
"x509Thumbprint": { "primaryThumbprint": null, "secondaryThumbprint": null }, "version": 2, "properties": { "desired": { "$metadata": { "$lastUpdated": "2020-01-08T15:09:56.0402103Z" }, "$version": 1 }, "reported": { "$metadata": { "$lastUpdated": "2020-01-08T15:09:56.0402103Z" }, "$version": 1 } }, "capabilities": { "iotEdge": false } }

您想使用 DPS 注册设备并将其添加到处于禁用状态的集线器吗?你不能那样做。