有人知道是否可以通过REST API将电子邮件地址添加到Azure API管理的通知列表中吗?具体来说,我希望能够添加到正在处理的订阅配额限制"中.我看到在UI中有一种方法可以做到这一点,但我正在寻找一种通过REST调用或PowerShell Commandlet(如果可能)来实现此目的的方法.
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).
推荐答案文档仍在进行中,可能会有一些变化,但总之:
The docs are still in progress, and stuff might change a bit, but in short:
获取/notifications-获取系统中所有通知的列表
GET /notifications - get list of all notifications in system
获取/notifications/{nid}获得单个通知
GET /notifications/{nid} get single notification
获取/notifications/{nid}/收件人-获取单个通知的收件人列表
GET /notifications/{nid}/recipients - get list of recipients for single notification
获取/notifications/{nid}/收件人/电子邮件-获取订阅通知的电子邮件收件人列表
GET /notifications/{nid}/recipients/emails - get list of email recipients subscribed to notification
获取/notifications/{nid}/收件人/用户-获取订阅通知的用户收件人列表
GET /notifications/{nid}/recipients/users- get list of user recipients subscribed to notification
GET/HEAD/PUT/DELETE/notifications/{nid}/收件人/电子邮件/{email}-获取/管理单个电子邮件收件人
GET/HEAD/PUT/DELETE /notifications/{nid}/recipients/emails/{email} - get/manage single email recipient
GET/HEAD/PUT/DELETE/notifications/{nid}/收件人/用户/{user}-获取/管理单用户收件人
GET/HEAD/PUT/DELETE /notifications/{nid}/recipients/users/{user} - get/manage single user recipient
更多推荐
使用REST API的Azure API管理的通知列表
发布评论