Share via


DevTestLabNotificationChannelResource.UpdateAsync Method

Definition

Allows modifying tags of notification channels. All other properties will be ignored.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
  • Operation Id: NotificationChannels_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabNotificationChannelResource>> UpdateAsync (Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabNotificationChannelResource>>
override this.UpdateAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabNotificationChannelResource>>
Public Overridable Function UpdateAsync (patch As DevTestLabNotificationChannelPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevTestLabNotificationChannelResource))

Parameters

patch
DevTestLabNotificationChannelPatch

A notification.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to