Class AlertProperties

java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.AlertProperties

public final class AlertProperties extends Object
Alert property bag.
  • Constructor Details

    • AlertProperties

      public AlertProperties()
  • Method Details

    • essentials

      public Essentials essentials()
      Get the essentials property: This object contains consistent fields across different monitor services.
      Returns:
      the essentials value.
    • withEssentials

      public AlertProperties withEssentials(Essentials essentials)
      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

      public Object context()
      Get the context property: Information specific to the monitor service that gives more contextual details about the alert.
      Returns:
      the context value.
    • egressConfig

      public Object 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.