WebPubSubThrottleByUserIdRule Class

Definition

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
WebPubSubThrottleByUserIdRule
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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<WebPubSubClientConnectionCountRule>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from WebPubSubClientConnectionCountRule)
IJsonModel<WebPubSubClientConnectionCountRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from WebPubSubClientConnectionCountRule)
IJsonModel<WebPubSubThrottleByUserIdRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<WebPubSubThrottleByUserIdRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<WebPubSubClientConnectionCountRule>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from WebPubSubClientConnectionCountRule)
IPersistableModel<WebPubSubClientConnectionCountRule>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from WebPubSubClientConnectionCountRule)
IPersistableModel<WebPubSubClientConnectionCountRule>.Write(ModelReaderWriterOptions) (Inherited from WebPubSubClientConnectionCountRule)
IPersistableModel<WebPubSubThrottleByUserIdRule>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<WebPubSubThrottleByUserIdRule>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<WebPubSubThrottleByUserIdRule>.Write(ModelReaderWriterOptions)

Applies to