共用方式為


DevTestLabNotificationChannelResource.Notify 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
public virtual Azure.Response Notify (Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelNotifyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Notify : Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelNotifyContent * System.Threading.CancellationToken -> Azure.Response
override this.Notify : Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelNotifyContent * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Notify (content As DevTestLabNotificationChannelNotifyContent, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

content
DevTestLabNotificationChannelNotifyContent

Properties for generating a Notification.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to