Compartilhar via


NotificationHook Class

  • java.lang.Object
    • com.azure.ai.metricsadvisor.administration.models.NotificationHook

public abstract class NotificationHook

Describes a hook that receives anomaly incident alerts.

Constructor Summary

Constructor Description
NotificationHook()

Creates a new instance of NotificationHook.

Method Summary

Modifier and Type Method and Description
List<String> getAdmins()

Gets the list of user e-mails and clientIds with administrative rights to manage the hook.

abstract String getDescription()

Gets the description for the Notification hook.

String getId()

Gets the id of the NotificationHook.

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 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

getDescription

public abstract String getDescription()

Gets the description for the Notification hook.

Returns:

The description.

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.

Applies to