Can you point me to an example on which module is providing CRUD operations on Devices for Azure Iot Hub GO SDK? I've checked https://github.com/Azure-Samples/azure-sdk-for-go-samples/tree/main but I've not found valid example. In the specific, I'm interested in which go module is providing such APIs: (https://learn.microsoft.com/en-us/rest/api/iothub/service/devices/create-or-update-identity?view=rest-iothub-service-2020-03-13)
Thanks!
The code below demonstrates creating a device in Azure IoT Hub using Go and the REST API.
Output:
The code below updates the device status in Azure IoT Hub using the Azure IoT Hub REST API.
Output:
The code below generates a Shared Access Signature (SAS) token for Azure IoT Hub authentication. This token can be used by devices to authenticate with the Azure IoT Hub service from link.
Output: