Share via


CommunicationServiceResource.UpdateAsync Method

Definition

Operation to update an existing CommunicationService.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Operation Id: CommunicationServices_Update
  • Default Api Version: 2023-04-01
  • Resource: CommunicationServiceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>> UpdateAsync (Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>>
override this.UpdateAsync : Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>>
Public Overridable Function UpdateAsync (patch As CommunicationServiceResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CommunicationServiceResource))

Parameters

patch
CommunicationServiceResourcePatch

Parameters for the update operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to