DevTestLabNotificationChannelResource.NotifyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Properties for generating a Notification.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.