ArmSecurityCenterModelFactory.SecurityAutomationTriggeringRule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationTriggeringRule SecurityAutomationTriggeringRule(string propertyJPath = default, Azure.ResourceManager.SecurityCenter.Models.AutomationTriggeringRulePropertyType? propertyType = default, string expectedValue = default, Azure.ResourceManager.SecurityCenter.Models.AutomationTriggeringRuleOperator? operator = default);
static member SecurityAutomationTriggeringRule : string * Nullable<Azure.ResourceManager.SecurityCenter.Models.AutomationTriggeringRulePropertyType> * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.AutomationTriggeringRuleOperator> -> Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationTriggeringRule
Public Shared Function SecurityAutomationTriggeringRule (Optional propertyJPath As String = Nothing, Optional propertyType As Nullable(Of AutomationTriggeringRulePropertyType) = Nothing, Optional expectedValue As String = Nothing, Optional operator As Nullable(Of AutomationTriggeringRuleOperator) = Nothing) As SecurityAutomationTriggeringRule
Parameters
- propertyJPath
- String
The JPath of the entity model property that should be checked.
- propertyType
- Nullable<AutomationTriggeringRulePropertyType>
The data type of the compared operands (string, integer, floating point number or a boolean [true/false]].
- expectedValue
- String
The expected value.
- operator
- Nullable<AutomationTriggeringRuleOperator>
A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.
Returns
A new SecurityAutomationTriggeringRule instance for mocking.