Uses of Class
com.azure.ai.metricsadvisor.administration.models.WebNotificationHook
Package
Description
Package containing model types for Metrics Advisor administration operations.
-
Uses of WebNotificationHook in com.azure.ai.metricsadvisor.administration.models
Modifier and TypeMethodDescriptionSets the user e-mails and clientIds with administrative rights to manage the hook.WebNotificationHook.setClientCertificate
(String certificate, String password) Sets the HTTPS certificate to use to access the endpoint.WebNotificationHook.setDescription
(String description) Sets web hook description.WebNotificationHook.setEndPoint
(String endpoint) The web endpoint to notify incident alerts.WebNotificationHook.setExternalLink
(String externalLink) Sets the customized external link, it will be included in the notification sent to the users, this is usually a reference to any troubleshooting guide.WebNotificationHook.setHttpHeaders
(HttpHeaders httpHeaders) Sets the HTTP headers to send while sending alert to the endpoint.Sets web hook name.WebNotificationHook.setUserCredentials
(String username, String password) Sets the credential to access the endpoint.