WebPubSubTrafficThrottleByJwtCustomClaimRule 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 a custom JWT claim.
public class WebPubSubTrafficThrottleByJwtCustomClaimRule : Azure.ResourceManager.WebPubSub.Models.WebPubSubClientTrafficControlRule, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.WebPubSub.Models.WebPubSubTrafficThrottleByJwtCustomClaimRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.WebPubSub.Models.WebPubSubTrafficThrottleByJwtCustomClaimRule>
type WebPubSubTrafficThrottleByJwtCustomClaimRule = class
inherit WebPubSubClientTrafficControlRule
interface IJsonModel<WebPubSubTrafficThrottleByJwtCustomClaimRule>
interface IPersistableModel<WebPubSubTrafficThrottleByJwtCustomClaimRule>
Public Class WebPubSubTrafficThrottleByJwtCustomClaimRule
Inherits WebPubSubClientTrafficControlRule
Implements IJsonModel(Of WebPubSubTrafficThrottleByJwtCustomClaimRule), IPersistableModel(Of WebPubSubTrafficThrottleByJwtCustomClaimRule)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| WebPubSubTrafficThrottleByJwtCustomClaimRule(String) |
Initializes a new instance of WebPubSubTrafficThrottleByJwtCustomClaimRule. |
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. |
| ClaimName |
The name of the claim in the JWT token. The message bytes with the same claim value will be aggregated. If the claim is not found in the token, the rule will be skipped. |
| MaxInboundMessageBytes |
Maximum accumulated inbound message bytes allowed for the same JWT signature within a time window. Clients with the same JWT claim will get disconnected if the message bytes exceeds this value. Default value is 1GB. |