Partager via


VoiceServicesCommunicationsGatewayResource.UpdateAsync Méthode

Définition

Mettre à jour un CommunicationsGateway

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}
  • IdCommunicationsGateways_Update d’opération
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))

Paramètres

patch
VoiceServicesCommunicationsGatewayPatch

Propriétés de ressource à mettre à jour.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à