Anybody know if it's possible to add email addresses to the notification list for Azure API Mangement via a REST API? Specifically, I would like to be able to add to the "Approaching subscription quota limit". I see that there's a way to do this in the UI, but I'm looking for a way to do this via REST call or PowerShell commandlet (if possible).
相关问题
- running headless chrome in an microsoft azure web
- Docker task in Azure devops won't accept "$(pw
- Design RESTful service with multiple ids
- How to Debug/Register a Permanent WMI Event Which
- Axios OPTIONS instead of POST Request. Express Res
相关文章
- 在vscode如何用code runner打开独立的控制台窗口,以及设置好调试模式时窗口的编码?
- C#调用PowerShell的问题
- EscapeDataString having differing behaviour betwee
- SQL Azure Reset autoincrement
- Got ActiveRecord::AssociationTypeMismatch on model
- Multiple parameters in AngularJS $resource GET
- PowerShell Change owner of files and folders
- Global Exception Handling in Jersey & Spring?
I just got a response from Microsoft. It turns out that it's only possible to add email addresses to the notification list by UI at the moment.
The docs are still in progress, and stuff might change a bit, but in short:
GET /notifications - get list of all notifications in system
GET /notifications/{nid} get single notification
GET /notifications/{nid}/recipients - get list of recipients for single notification
GET /notifications/{nid}/recipients/emails - get list of email recipients subscribed to notification
GET /notifications/{nid}/recipients/users- get list of user recipients subscribed to notification
GET/HEAD/PUT/DELETE /notifications/{nid}/recipients/emails/{email} - get/manage single email recipient
GET/HEAD/PUT/DELETE /notifications/{nid}/recipients/users/{user} - get/manage single user recipient