Class AlertProperties
java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.AlertProperties
Alert property bag.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontext()
Get the context property: Information specific to the monitor service that gives more contextual details about the alert.Get the egressConfig property: Config which would be used for displaying the data in portal.Get the essentials property: This object contains consistent fields across different monitor services.void
validate()
Validates the instance.withEssentials
(Essentials essentials) Set the essentials property: This object contains consistent fields across different monitor services.
-
Constructor Details
-
AlertProperties
public AlertProperties()
-
-
Method Details
-
essentials
Get the essentials property: This object contains consistent fields across different monitor services.- Returns:
- the essentials value.
-
withEssentials
Set the essentials property: This object contains consistent fields across different monitor services.- Parameters:
essentials
- the essentials value to set.- Returns:
- the AlertProperties object itself.
-
context
Get the context property: Information specific to the monitor service that gives more contextual details about the alert.- Returns:
- the context value.
-
egressConfig
Get the egressConfig property: Config which would be used for displaying the data in portal.- Returns:
- the egressConfig value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-