Udostępnij za pośrednictwem


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

Parameters

patch
DevTestLabNotificationChannelPatch

A notification.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to