你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ActionGroupsOperationsExtensions.PostTestNotificationsAsync 方法

定义

向提供的一组接收方发送测试通知

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.ActionGroupsPostTestNotificationsHeaders> PostTestNotificationsAsync (this Microsoft.Azure.Management.Monitor.IActionGroupsOperations operations, Microsoft.Azure.Management.Monitor.Models.NotificationRequestBody notificationRequest, System.Threading.CancellationToken cancellationToken = default);
static member PostTestNotificationsAsync : Microsoft.Azure.Management.Monitor.IActionGroupsOperations * Microsoft.Azure.Management.Monitor.Models.NotificationRequestBody * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.ActionGroupsPostTestNotificationsHeaders>
<Extension()>
Public Function PostTestNotificationsAsync (operations As IActionGroupsOperations, notificationRequest As NotificationRequestBody, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ActionGroupsPostTestNotificationsHeaders)

参数

operations
IActionGroupsOperations

此扩展方法的操作组。

notificationRequest
NotificationRequestBody

包含联系人详细信息的通知请求正文

cancellationToken
CancellationToken

取消标记。

返回

适用于