Overview
After creating a product, you can configure the topics that its devices can publish or subscribe to. The device topic list is inherited from the product topic list. You can add, delete, or modify the items in the topic list only at the product level.
Directions
Adding a custom topic
- Log in to the IoT Hub console and click View details on the upper right of the Overview module.
- Click Products on the left sidebar.
- Click a product name, and select Topics.
- Click Add Custom Topic and set the operation name and permission.
- Operation name: The name can contain 1 - 255 letters, numbers, and underscores, where different levels are separated by
/
, and +
indicates a level. The name should be in the format of /+/
rather than /+aaa/
.
- Permission: Subscribe, Publish, and Subscribe and publish are available for selection, and the selected permission can be changed subsequently.
Editing a custom topic
Click Edit in the topic permission list to modify the name of the corresponding topic permission and the permission itself.
Deleting a topic permission
Click Delete in the topic permission list to delete the corresponding topic permission.
Was this page helpful?