你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NotificationRecipientEmail interface
表示 NotificationRecipientEmail 的接口。
方法
方法详细信息
checkEntityExists(string, string, string, string, NotificationRecipientEmailCheckEntityExistsOptionalParams)
确定通知收件人Email是否订阅了通知。
function checkEntityExists(resourceGroupName: string, serviceName: string, notificationName: string, email: string, options?: NotificationRecipientEmailCheckEntityExistsOptionalParams): Promise<NotificationRecipientEmailCheckEntityExistsResponse>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- serviceName
-
string
API 管理服务的名称。
- notificationName
-
string
通知名称标识符。
-
string
Email标识符。
返回
createOrUpdate(string, string, string, string, NotificationRecipientEmailCreateOrUpdateOptionalParams)
将电子邮件地址添加到通知收件人列表。
function createOrUpdate(resourceGroupName: string, serviceName: string, notificationName: string, email: string, options?: NotificationRecipientEmailCreateOrUpdateOptionalParams): Promise<RecipientEmailContract>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- serviceName
-
string
API 管理服务的名称。
- notificationName
-
string
通知名称标识符。
-
string
Email标识符。
选项参数。
返回
Promise<RecipientEmailContract>
delete(string, string, string, string, NotificationRecipientEmailDeleteOptionalParams)
从通知列表中删除电子邮件。
function delete(resourceGroupName: string, serviceName: string, notificationName: string, email: string, options?: NotificationRecipientEmailDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- serviceName
-
string
API 管理服务的名称。
- notificationName
-
string
通知名称标识符。
-
string
Email标识符。
选项参数。
返回
Promise<void>
listByNotification(string, string, string, NotificationRecipientEmailListByNotificationOptionalParams)
获取订阅通知的通知收件人电子邮件列表。
function listByNotification(resourceGroupName: string, serviceName: string, notificationName: string, options?: NotificationRecipientEmailListByNotificationOptionalParams): Promise<RecipientEmailCollection>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- serviceName
-
string
API 管理服务的名称。
- notificationName
-
string
通知名称标识符。
返回
Promise<RecipientEmailCollection>