Condividi tramite


CommunicationServiceResource.Update Metodo

Definizione

Overload

Update(CommunicationServiceResourcePatch, CancellationToken)

Operazione per aggiornare un servizio di comunicazione esistente.

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

Update(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 Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource> Update (Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>
override this.Update : Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>
Public Overridable Function Update (patch As CommunicationServiceResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As 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

Update(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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.CommunicationServiceResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.CommunicationServiceResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Communication.Models.CommunicationServiceResourcePatch * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.CommunicationServiceResource>
Public Overridable Function Update (waitUntil As WaitUntil, patch As CommunicationServiceResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As 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