ArmWebPubSubModelFactory.WebPubSubTrafficThrottleByUserIdRule Method
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.
public static Azure.ResourceManager.WebPubSub.Models.WebPubSubTrafficThrottleByUserIdRule WebPubSubTrafficThrottleByUserIdRule(long? maxInboundMessageBytes = default, int? aggregationWindowInSeconds = default);
static member WebPubSubTrafficThrottleByUserIdRule : Nullable<int64> * Nullable<int> -> Azure.ResourceManager.WebPubSub.Models.WebPubSubTrafficThrottleByUserIdRule
Public Shared Function WebPubSubTrafficThrottleByUserIdRule (Optional maxInboundMessageBytes As Nullable(Of Long) = Nothing, Optional aggregationWindowInSeconds As Nullable(Of Integer) = Nothing) As WebPubSubTrafficThrottleByUserIdRule
Parameters
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.
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.
Returns
A new WebPubSubTrafficThrottleByUserIdRule instance for mocking.