ArmSecurityCenterModelFactory.MqttC2DRejectedMessagesNotInAllowedRange Method

Definition

Initializes a new instance of MqttC2DRejectedMessagesNotInAllowedRange.

public static Azure.ResourceManager.SecurityCenter.Models.MqttC2DRejectedMessagesNotInAllowedRange MqttC2DRejectedMessagesNotInAllowedRange (string displayName = default, string description = default, bool isEnabled = false, int minThreshold = 0, int maxThreshold = 0, TimeSpan timeWindowSize = default);
static member MqttC2DRejectedMessagesNotInAllowedRange : string * string * bool * int * int * TimeSpan -> Azure.ResourceManager.SecurityCenter.Models.MqttC2DRejectedMessagesNotInAllowedRange
Public Shared Function MqttC2DRejectedMessagesNotInAllowedRange (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional isEnabled As Boolean = false, Optional minThreshold As Integer = 0, Optional maxThreshold As Integer = 0, Optional timeWindowSize As TimeSpan = Nothing) As MqttC2DRejectedMessagesNotInAllowedRange

Parameters

displayName
String

The display name of the custom alert.

description
String

The description of the custom alert.

isEnabled
Boolean

Status of the custom alert.

minThreshold
Int32

The minimum threshold.

maxThreshold
Int32

The maximum threshold.

timeWindowSize
TimeSpan

The time window size in iso8601 format.

Returns

A new MqttC2DRejectedMessagesNotInAllowedRange instance for mocking.

Applies to