ArmIotOperationsModelFactory.SubscriberQueueLimit Method

Definition

public static Azure.ResourceManager.IotOperations.Models.SubscriberQueueLimit SubscriberQueueLimit(long? length = default, Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy? strategy = default);
static member SubscriberQueueLimit : Nullable<int64> * Nullable<Azure.ResourceManager.IotOperations.Models.SubscriberMessageDropStrategy> -> Azure.ResourceManager.IotOperations.Models.SubscriberQueueLimit
Public Shared Function SubscriberQueueLimit (Optional length As Nullable(Of Long) = Nothing, Optional strategy As Nullable(Of SubscriberMessageDropStrategy) = Nothing) As SubscriberQueueLimit

Parameters

length
Nullable<Int64>

The maximum length of the queue before messages start getting dropped.

strategy
Nullable<SubscriberMessageDropStrategy>

The strategy to use for dropping messages from the queue.

Returns

A new SubscriberQueueLimit instance for mocking.

Applies to