/
SecurityAutomationTriggeringRule.cs
40 lines (35 loc) · 2.26 KB
/
SecurityAutomationTriggeringRule.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
39
40
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.SecurityCenter.Models
{
/// <summary> A rule which is evaluated upon event interception. The rule is configured by comparing a specific value from the event model to an expected value. This comparison is done by using one of the supported operators set. </summary>
public partial class SecurityAutomationTriggeringRule
{
/// <summary> Initializes a new instance of SecurityAutomationTriggeringRule. </summary>
public SecurityAutomationTriggeringRule()
{
}
/// <summary> Initializes a new instance of SecurityAutomationTriggeringRule. </summary>
/// <param name="propertyJPath"> The JPath of the entity model property that should be checked. </param>
/// <param name="propertyType"> The data type of the compared operands (string, integer, floating point number or a boolean [true/false]]. </param>
/// <param name="expectedValue"> The expected value. </param>
/// <param name="operator"> A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType. </param>
internal SecurityAutomationTriggeringRule(string propertyJPath, AutomationTriggeringRulePropertyType? propertyType, string expectedValue, AutomationTriggeringRuleOperator? @operator)
{
PropertyJPath = propertyJPath;
PropertyType = propertyType;
ExpectedValue = expectedValue;
Operator = @operator;
}
/// <summary> The JPath of the entity model property that should be checked. </summary>
public string PropertyJPath { get; set; }
/// <summary> The data type of the compared operands (string, integer, floating point number or a boolean [true/false]]. </summary>
public AutomationTriggeringRulePropertyType? PropertyType { get; set; }
/// <summary> The expected value. </summary>
public string ExpectedValue { get; set; }
/// <summary> A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType. </summary>
public AutomationTriggeringRuleOperator? Operator { get; set; }
}
}