WebPubSubTrafficThrottleByUserIdRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throttle the client traffic by the user ID.
public class WebPubSubTrafficThrottleByUserIdRule : Azure.ResourceManager.WebPubSub.Models.WebPubSubClientTrafficControlRule, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.WebPubSub.Models.WebPubSubTrafficThrottleByUserIdRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.WebPubSub.Models.WebPubSubTrafficThrottleByUserIdRule>
type WebPubSubTrafficThrottleByUserIdRule = class
inherit WebPubSubClientTrafficControlRule
interface IJsonModel<WebPubSubTrafficThrottleByUserIdRule>
interface IPersistableModel<WebPubSubTrafficThrottleByUserIdRule>
Public Class WebPubSubTrafficThrottleByUserIdRule
Inherits WebPubSubClientTrafficControlRule
Implements IJsonModel(Of WebPubSubTrafficThrottleByUserIdRule), IPersistableModel(Of WebPubSubTrafficThrottleByUserIdRule)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| WebPubSubTrafficThrottleByUserIdRule() |
Initializes a new instance of WebPubSubTrafficThrottleByUserIdRule. |
Properties
| Name | Description |
|---|---|
| AggregationWindowInSeconds |
The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds. |
| MaxInboundMessageBytes |
Maximum accumulated inbound message bytes allowed for the same user ID within a time window. Clients with the same user ID will get disconnected if the message bytes exceeds this value. Default value is 1GB. |