Share via


VoiceServicesTestLineResource.UpdateAsync Method

Definition

Update a TestLine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesTestLineResource>> UpdateAsync (Azure.ResourceManager.VoiceServices.Models.VoiceServicesTestLinePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.VoiceServices.Models.VoiceServicesTestLinePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesTestLineResource>>
override this.UpdateAsync : Azure.ResourceManager.VoiceServices.Models.VoiceServicesTestLinePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesTestLineResource>>
Public Overridable Function UpdateAsync (patch As VoiceServicesTestLinePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VoiceServicesTestLineResource))

Parameters

patch
VoiceServicesTestLinePatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to