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?