ArmIotOperationsModelFactory.BrokerClientConfig Method

Definition

public static Azure.ResourceManager.IotOperations.Models.BrokerClientConfig BrokerClientConfig(int? maxSessionExpirySeconds = default, int? maxMessageExpirySeconds = default, int? maxPacketSizeBytes = default, Azure.ResourceManager.IotOperations.Models.SubscriberQueueLimit subscriberQueueLimit = default, int? maxReceiveMaximum = default, int? maxKeepAliveSeconds = default);
static member BrokerClientConfig : Nullable<int> * Nullable<int> * Nullable<int> * Azure.ResourceManager.IotOperations.Models.SubscriberQueueLimit * Nullable<int> * Nullable<int> -> Azure.ResourceManager.IotOperations.Models.BrokerClientConfig
Public Shared Function BrokerClientConfig (Optional maxSessionExpirySeconds As Nullable(Of Integer) = Nothing, Optional maxMessageExpirySeconds As Nullable(Of Integer) = Nothing, Optional maxPacketSizeBytes As Nullable(Of Integer) = Nothing, Optional subscriberQueueLimit As SubscriberQueueLimit = Nothing, Optional maxReceiveMaximum As Nullable(Of Integer) = Nothing, Optional maxKeepAliveSeconds As Nullable(Of Integer) = Nothing) As BrokerClientConfig

Parameters

maxSessionExpirySeconds
Nullable<Int32>

Upper bound of Session Expiry Interval, in seconds.

maxMessageExpirySeconds
Nullable<Int32>

Upper bound of Message Expiry Interval, in seconds.

maxPacketSizeBytes
Nullable<Int32>

Max message size for a packet in Bytes.

subscriberQueueLimit
SubscriberQueueLimit

The limit on the number of queued messages for a subscriber.

maxReceiveMaximum
Nullable<Int32>

Upper bound of Receive Maximum that a client can request in the CONNECT packet.

maxKeepAliveSeconds
Nullable<Int32>

Upper bound of a client's Keep Alive, in seconds.

Returns

A new BrokerClientConfig instance for mocking.

Applies to