WebPubSubThrottleByUserIdRule 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 connection by the user ID.
public class WebPubSubThrottleByUserIdRule : Azure.ResourceManager.WebPubSub.Models.WebPubSubClientConnectionCountRule, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.WebPubSub.Models.WebPubSubThrottleByUserIdRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.WebPubSub.Models.WebPubSubThrottleByUserIdRule>
type WebPubSubThrottleByUserIdRule = class
inherit WebPubSubClientConnectionCountRule
interface IJsonModel<WebPubSubThrottleByUserIdRule>
interface IPersistableModel<WebPubSubThrottleByUserIdRule>
Public Class WebPubSubThrottleByUserIdRule
Inherits WebPubSubClientConnectionCountRule
Implements IJsonModel(Of WebPubSubThrottleByUserIdRule), IPersistableModel(Of WebPubSubThrottleByUserIdRule)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| WebPubSubThrottleByUserIdRule() |
Initializes a new instance of WebPubSubThrottleByUserIdRule. |
Properties
| Name | Description |
|---|---|
| MaxCount |
Maximum connection count allowed for the same user ID. Clients with the same user ID will get rejected if the connection count exceeds this value. Default value is 20. |