AlertsSuppressionRuleProperties Constructors
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.
Overloads
AlertsSuppressionRuleProperties() |
Initializes a new instance of the AlertsSuppressionRuleProperties class. |
AlertsSuppressionRuleProperties(String, String, RuleState, Nullable<DateTime>, Nullable<DateTime>, String, SuppressionAlertsScope) |
Initializes a new instance of the AlertsSuppressionRuleProperties class. |
AlertsSuppressionRuleProperties()
Initializes a new instance of the AlertsSuppressionRuleProperties class.
public AlertsSuppressionRuleProperties ();
Public Sub New ()
Applies to
AlertsSuppressionRuleProperties(String, String, RuleState, Nullable<DateTime>, Nullable<DateTime>, String, SuppressionAlertsScope)
Initializes a new instance of the AlertsSuppressionRuleProperties class.
public AlertsSuppressionRuleProperties (string alertType, string reason, Microsoft.Azure.Management.Security.Models.RuleState state, DateTime? lastModifiedUtc = default, DateTime? expirationDateUtc = default, string comment = default, Microsoft.Azure.Management.Security.Models.SuppressionAlertsScope suppressionAlertsScope = default);
new Microsoft.Azure.Management.Security.Models.AlertsSuppressionRuleProperties : string * string * Microsoft.Azure.Management.Security.Models.RuleState * Nullable<DateTime> * Nullable<DateTime> * string * Microsoft.Azure.Management.Security.Models.SuppressionAlertsScope -> Microsoft.Azure.Management.Security.Models.AlertsSuppressionRuleProperties
Public Sub New (alertType As String, reason As String, state As RuleState, Optional lastModifiedUtc As Nullable(Of DateTime) = Nothing, Optional expirationDateUtc As Nullable(Of DateTime) = Nothing, Optional comment As String = Nothing, Optional suppressionAlertsScope As SuppressionAlertsScope = Nothing)
Parameters
- alertType
- String
Type of the alert to automatically suppress. For all alert types, use '*'
- reason
- String
The reason for dismissing the alert
- state
- RuleState
Possible states of the rule Possible values include: 'Enabled', 'Disabled', 'Expired'
Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.
- comment
- String
Any comment regarding the rule
- suppressionAlertsScope
- SuppressionAlertsScope
The suppression conditions