共用方式為


ActionGroupsOperationsExtensions.CreateNotificationsAtResourceGroupLevelAsync Method

Definition

Send test notifications to a set of provided receivers

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

Parameters

operations
IActionGroupsOperations

The operations group for this extension method.

resourceGroupName
String

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

notificationRequest
NotificationRequestBody

The notification request body which includes the contact details

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to