共用方式為


DevTestLabNotificationChannelResource.NotifyAsync Method

Definition

Send notification to provided channel.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}/notify
  • Operation Id: NotificationChannels_Notify
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabNotificationChannelResource
public virtual System.Threading.Tasks.Task<Azure.Response> NotifyAsync (Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelNotifyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member NotifyAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelNotifyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.NotifyAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelNotifyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function NotifyAsync (content As DevTestLabNotificationChannelNotifyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

content
DevTestLabNotificationChannelNotifyContent

Properties for generating a Notification.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to