...
- Setting Name
- This is a friendly name of the Azure IoT Hub used to easily identify it. This must also be unique.
- Enabled
- Whether or not this connection is enabled
Password/Connection String
- This is the Azure IoT Hub connection string used to connect. This string can be one of the following:
- An IoT Hub connection string with the following format:
- HostName=<Host Name>;SharedAccessKeyName=<Key Name>;SharedAccessKey=<SAS Key>
- An IoT Hub's Event Hub-compatible connection string with the following format:
- Endpoint=<ENDPOINT>;SharedAccessKeyName=<Key Name>;SharedAccessKey=<KEYVALUE>
An IoT Hub device connection string with the following format:
- HostName=<Host Name>;DeviceId=<Device Name>;SharedAccessKey=<Device Key>
Note: If using MQTT as the protocol (next section), this is the connection string format that must be used.
Protocol- The protocol to use when connecting to the Azure IoT Hub. It can be one of the following:
- MQTT
- Note: If using MQTT as the protocol, the connection string (previous section) must be a 'device' connection string.
Set
- The Set to associate this Azure IoT Hub connection with.
...
{"serverDuration": 117, "requestCorrelationId": "e6ba0fda0c0cdd51"}