NotificationHook Class
- java.
lang. Object - com.
azure. ai. metricsadvisor. administration. models. NotificationHook
- com.
public abstract class NotificationHook
Describes a hook that receives anomaly incident alerts.
Constructor Summary
Constructor | Description |
---|---|
NotificationHook() |
Creates a new instance of Notification |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
getAdmins()
Gets the list of user e-mails and client |
abstract String |
getDescription()
Gets the description for the Notification hook. |
String |
getId()
Gets the id of the Notification |
abstract String |
getName()
Gets the name for the Notification hook. |
Methods inherited from java.lang.Object
Constructor Details
NotificationHook
public NotificationHook()
Creates a new instance of NotificationHook.
Method Details
getAdmins
public List
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:
getDescription
public abstract String getDescription()
Gets the description for the Notification hook.
Returns:
getId
public String getId()
Gets the id of the NotificationHook.
Returns:
getName
public abstract String getName()
Gets the name for the Notification hook.
Returns:
Applies to
Azure SDK for Java