Interface AlertsSuppressionRule
public interface AlertsSuppressionRule
An immutable client-side representation of AlertsSuppressionRule.
-
Method Summary
Modifier and TypeMethodDescriptionGets the alertType property: Type of the alert to automatically suppress.comment()
Gets the comment property: Any comment regarding the rule.Gets the expirationDateUtc property: Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.security.fluent.models.AlertsSuppressionRuleInner object.Gets the lastModifiedUtc property: The last time this rule was modified.name()
Gets the name property: The name of the resource.reason()
Gets the reason property: The reason for dismissing the alert.state()
Gets the state property: Possible states of the rule.Gets the suppressionAlertsScope property: The suppression conditions.type()
Gets the type property: The type of the resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
alertType
String alertType()Gets the alertType property: Type of the alert to automatically suppress. For all alert types, use '*'.- Returns:
- the alertType value.
-
lastModifiedUtc
OffsetDateTime lastModifiedUtc()Gets the lastModifiedUtc property: The last time this rule was modified.- Returns:
- the lastModifiedUtc value.
-
expirationDateUtc
OffsetDateTime expirationDateUtc()Gets the expirationDateUtc property: Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.- Returns:
- the expirationDateUtc value.
-
reason
String reason()Gets the reason property: The reason for dismissing the alert.- Returns:
- the reason value.
-
state
RuleState state()Gets the state property: Possible states of the rule.- Returns:
- the state value.
-
comment
String comment()Gets the comment property: Any comment regarding the rule.- Returns:
- the comment value.
-
suppressionAlertsScope
SuppressionAlertsScope suppressionAlertsScope()Gets the suppressionAlertsScope property: The suppression conditions.- Returns:
- the suppressionAlertsScope value.
-
innerModel
AlertsSuppressionRuleInner innerModel()Gets the inner com.azure.resourcemanager.security.fluent.models.AlertsSuppressionRuleInner object.- Returns:
- the inner object.
-