DevTestLabNotificationChannelResource.UpdateAsync 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.
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
- Default Api Version: 2018-09-15
- Resource: DevTestLabNotificationChannelResource
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
A notification.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.