-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AmqpC2DMessagesNotInAllowedRange.cs
38 lines (33 loc) · 2.07 KB
/
AmqpC2DMessagesNotInAllowedRange.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.SecurityCenter.Models
{
/// <summary> Number of cloud to device messages (AMQP protocol) is not in allowed range. </summary>
public partial class AmqpC2DMessagesNotInAllowedRange : TimeWindowCustomAlertRule
{
/// <summary> Initializes a new instance of AmqpC2DMessagesNotInAllowedRange. </summary>
/// <param name="isEnabled"> Status of the custom alert. </param>
/// <param name="minThreshold"> The minimum threshold. </param>
/// <param name="maxThreshold"> The maximum threshold. </param>
/// <param name="timeWindowSize"> The time window size in iso8601 format. </param>
public AmqpC2DMessagesNotInAllowedRange(bool isEnabled, int minThreshold, int maxThreshold, TimeSpan timeWindowSize) : base(isEnabled, minThreshold, maxThreshold, timeWindowSize)
{
RuleType = "AmqpC2DMessagesNotInAllowedRange";
}
/// <summary> Initializes a new instance of AmqpC2DMessagesNotInAllowedRange. </summary>
/// <param name="displayName"> The display name of the custom alert. </param>
/// <param name="description"> The description of the custom alert. </param>
/// <param name="isEnabled"> Status of the custom alert. </param>
/// <param name="ruleType"> The type of the custom alert rule. </param>
/// <param name="minThreshold"> The minimum threshold. </param>
/// <param name="maxThreshold"> The maximum threshold. </param>
/// <param name="timeWindowSize"> The time window size in iso8601 format. </param>
internal AmqpC2DMessagesNotInAllowedRange(string displayName, string description, bool isEnabled, string ruleType, int minThreshold, int maxThreshold, TimeSpan timeWindowSize) : base(displayName, description, isEnabled, ruleType, minThreshold, maxThreshold, timeWindowSize)
{
RuleType = ruleType ?? "AmqpC2DMessagesNotInAllowedRange";
}
}
}