Introduction
Azure IoT Hub has capabilities that can be used by a developer to build robust device management. There could be different use cases or scenarios across multiple industries, but these device management capabilities, their patterns, and the SDK code remains the same, saving significant time in developing and managing, along with maintaining millions of devices.
Device management will be the central part of any IoT solution. The IoT solution helps users to manage devices remotely, take actions from cloud-based applications such as disable, update data, run any command, and firmware updates.
In this chapter, we are going to perform all these tasks for device management, and we will start with creating the device.
Understanding IoT Hub endpoints
IoT Hub provides built-in endpoints that can be easily used with IoT SDK. The following image with reference from the Microsoft Azure IoT documentation gives a snapshot of all the endpoints an IoT Hub gives:

IoT Hub endpoints, reference from...