Class NotificationHook

java.lang.Object
com.azure.ai.metricsadvisor.administration.models.NotificationHook
Direct Known Subclasses:
EmailNotificationHook, WebNotificationHook

public abstract class NotificationHook extends Object
Describes a hook that receives anomaly incident alerts.
  • Constructor Details

    • NotificationHook

      public NotificationHook()
  • Method Details

    • getId

      public String getId()
      Gets the id of the NotificationHook.
      Returns:
      The id of the NotificationHook.
    • getName

      public abstract String getName()
      Gets the name for the Notification hook.
      Returns:
      The name.
    • getDescription

      public abstract String getDescription()
      Gets the description for the Notification hook.
      Returns:
      The description.
    • getAdmins

      public List<String> getAdmins()
      Gets the list of user e-mails and clientIds with administrative rights to manage the hook.

      The administrators have total control over the hook, being allowed to update or delete the hook. Each element in this list represents a user with administrator access, but the value of each string element is either user email address or clientId uniquely identifying the user service principal.

      Returns:
      A list containing email or clientId of admins