AlertsSuppressionRule Interface

public interface AlertsSuppressionRule

An immutable client-side representation of AlertsSuppressionRule.

Method Summary

Modifier and Type Method and Description
abstract String alertType()

Gets the alertType property: Type of the alert to automatically suppress.

abstract String comment()

Gets the comment property: Any comment regarding the rule.

abstract OffsetDateTime expirationDateUtc()

Gets the expirationDateUtc property: Expiration date of the rule, if value is not provided or provided as null there will no expiration at all.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract AlertsSuppressionRuleInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.AlertsSuppressionRuleInner object.

abstract OffsetDateTime lastModifiedUtc()

Gets the lastModifiedUtc property: The last time this rule was modified.

abstract String name()

Gets the name property: The name of the resource.

abstract String reason()

Gets the reason property: The reason for dismissing the alert.

abstract RuleState state()

Gets the state property: Possible states of the rule.

abstract SuppressionAlertsScope suppressionAlertsScope()

Gets the suppressionAlertsScope property: The suppression conditions.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract String type()

Gets the type property: The type of the resource.

Method Details

alertType

public abstract String alertType()

Gets the alertType property: Type of the alert to automatically suppress. For all alert types, use '*'.

Returns:

the alertType value.

comment

public abstract String comment()

Gets the comment property: Any comment regarding the rule.

Returns:

the comment value.

expirationDateUtc

public abstract OffsetDateTime expirationDateUtc()

Gets the expirationDateUtc property: Expiration date of the rule, if value is not provided or provided as null there will no expiration at all.

Returns:

the expirationDateUtc value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract AlertsSuppressionRuleInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.AlertsSuppressionRuleInner object.

Returns:

the inner object.

lastModifiedUtc

public abstract OffsetDateTime lastModifiedUtc()

Gets the lastModifiedUtc property: The last time this rule was modified.

Returns:

the lastModifiedUtc value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

reason

public abstract String reason()

Gets the reason property: The reason for dismissing the alert.

Returns:

the reason value.

state

public abstract RuleState state()

Gets the state property: Possible states of the rule.

Returns:

the state value.

suppressionAlertsScope

public abstract SuppressionAlertsScope suppressionAlertsScope()

Gets the suppressionAlertsScope property: The suppression conditions.

Returns:

the suppressionAlertsScope value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

Applies to