DevTestLabNotificationChannelResource.NotifyAsync メソッド

定義

指定されたチャンネルに通知を送信します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}/notify
  • 操作IdNotificationChannels_Notify
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)

パラメーター

content
DevTestLabNotificationChannelNotifyContent

通知を生成するためのプロパティ。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

content が null です。

適用対象