Share via


VoiceServicesCommunicationsGatewayResource.UpdateAsync Method

Definition

Update a CommunicationsGateway

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

Parameters

patch
VoiceServicesCommunicationsGatewayPatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to