使用REST API的Azure API管理的通知列表

编程入门 行业动态 更新时间:2024-10-28 14:37:00
本文介绍了使用REST API的Azure API管理的通知列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有人知道是否可以通过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管理的通知列表

本文发布于:2023-10-07 10:21:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1469122.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:通知   列表   REST   API   Azure

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!