You can refer to Microsoft documentation for similar examples; click here https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-pricing.