Delen via


ActionGroupsOperationsExtensions.CreateNotificationsAtActionGroupResourceLevelAsync Method

Definition

Send test notifications to a set of provided receivers

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

Parameters

operations
IActionGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

actionGroupName
String

The name of the action group.

notificationRequest
NotificationRequestBody

The notification request body which includes the contact details

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to