DeviceRole
The access rule (DeviceRole object) defines the topics the application or device can publish or subscribe to. It also defines how many parallel subscriptions one device or application can have and how fast it can publish messages.
DeviceRole
The access rule (DeviceRole object) defines the topics the application or device can publish or subscribe to. It also defines how many parallel subscriptions one device or application can have and how fast it can publish messages.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | The unique name of the access rule. |
subscribeLimit | integer (0–2147483647, default: 50, int32) | No | The maximum number of subscriptions that one application or device can make. |
publishRateLimit | integer (0–2147483647, default: 15, int32) | No | The maximum rate that one application or device can publish messages per seconds. |
publish | array | No | |
subscribe | array | No |