Dela via


CommunicationServiceResource.Update Metod

Definition

Överlagringar

Update(CommunicationServiceResourcePatch, CancellationToken)

Åtgärd för att uppdatera en befintlig CommunicationService.

  • Sökväg/prenumerationer/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Åtgärd IdCommunicationServices_Update
Update(WaitUntil, CommunicationServiceResourcePatch, CancellationToken)

Åtgärd för att uppdatera en befintlig CommunicationService.

  • Sökväg/prenumerationer/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Åtgärd IdCommunicationServices_Update

Update(CommunicationServiceResourcePatch, CancellationToken)

Åtgärd för att uppdatera en befintlig CommunicationService.

  • Sökväg/prenumerationer/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Åtgärd 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)

Parametrar

patch
CommunicationServiceResourcePatch

Parametrar för uppdateringsåtgärden.

cancellationToken
CancellationToken

Den annulleringstoken som ska användas.

Returer

Undantag

patch är null.

Gäller för

Update(WaitUntil, CommunicationServiceResourcePatch, CancellationToken)

Åtgärd för att uppdatera en befintlig CommunicationService.

  • Sökväg/prenumerationer/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Åtgärd 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)

Parametrar

waitUntil
WaitUntil

Completed om metoden ska vänta tills den långvariga åtgärden har slutförts på tjänsten. Started om den ska returnera efter att åtgärden har startats. Mer information om långvariga åtgärder finns i Azure.Core Long-Running Åtgärdsexempel.

patch
CommunicationServiceResourcePatch

Parametrar för uppdateringsåtgärden.

cancellationToken
CancellationToken

Den annulleringstoken som ska användas.

Returer

Undantag

patch är null.

Gäller för