0
votes

I have written code to programmatically add new IoT devices to my Iot Hub. Using the Azure Portal it's possible to set a parent device for an Iot Device.

Setting parent device on Azure portal

Looking at the documentation and source code on GitHub for the azure-sdk-for-net I don't see away to set a parent device while creating a new device or for setting the parent device on an existing device.

Is there an API for setting the parent device on IoT devices?

1

1 Answers

1
votes

we have it available in the public-preview branch of the C# SDK. For reference, this is the commit.