Condividi tramite


CommunicationServiceResource.UpdateAsync Metodo

Definizione

Overload

UpdateAsync(CommunicationServiceResourcePatch, CancellationToken)

Operazione per aggiornare un servizio di comunicazione esistente.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CommunicationServices/{communicationServices/{communicationServiceName}
  • Operazione IdCommunicationServices_Update
UpdateAsync(WaitUntil, CommunicationServiceResourcePatch, CancellationToken)

Operazione per aggiornare un servizio di comunicazione esistente.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CommunicationServices/{communicationServices/{communicationServiceName}
  • Operazione IdCommunicationServices_Update

UpdateAsync(CommunicationServiceResourcePatch, CancellationToken)

Operazione per aggiornare un servizio di comunicazione esistente.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CommunicationServices/{communicationServices/{communicationServiceName}
  • Operazione IdCommunicationServices_Update
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))

Parametri

patch
CommunicationServiceResourcePatch

Parametri per l'operazione di aggiornamento.

cancellationToken
CancellationToken

Token di annullamento da usare.

Restituisce

Eccezioni

patch è null.

Si applica a

UpdateAsync(WaitUntil, CommunicationServiceResourcePatch, CancellationToken)

Operazione per aggiornare un servizio di comunicazione esistente.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CommunicationServices/{communicationServices/{communicationServiceName}
  • Operazione IdCommunicationServices_Update
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.CommunicationServiceResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.CommunicationServiceResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.CommunicationServiceResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As CommunicationServiceResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of CommunicationServiceResource))

Parametri

waitUntil
WaitUntil

Completed se il metodo deve attendere il ritorno fino al completamento dell'operazione a esecuzione prolungata nel servizio; Started se deve restituire dopo l'avvio dell'operazione. Per altre informazioni sulle operazioni a esecuzione prolungata, vedere Esempi di operazioni di Azure.Core Long-Running.

patch
CommunicationServiceResourcePatch

Parametri per l'operazione di aggiornamento.

cancellationToken
CancellationToken

Token di annullamento da usare.

Restituisce

Eccezioni

patch è null.

Si applica a