共用方式為


ActionGroupsOperationsExtensions.PostTestNotificationsAsync Method

Definition

Send test notifications to a set of provided receivers

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)

Parameters

operations
IActionGroupsOperations

The operations group for this extension method.

notificationRequest
NotificationRequestBody

The notification request body which includes the contact details

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to