다음을 통해 공유


CommunicationServiceResource.UpdateAsync 메서드

정의

오버로드

UpdateAsync(CommunicationServiceResourcePatch, CancellationToken)

기존 CommunicationService를 업데이트하는 작업입니다.

  • 요청 경로/구독/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • 작업 IdCommunicationServices_Update
UpdateAsync(WaitUntil, CommunicationServiceResourcePatch, CancellationToken)

기존 CommunicationService를 업데이트하는 작업입니다.

  • 요청 경로/구독/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • 작업 IdCommunicationServices_Update

UpdateAsync(CommunicationServiceResourcePatch, CancellationToken)

기존 CommunicationService를 업데이트하는 작업입니다.

  • 요청 경로/구독/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • 작업 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))

매개 변수

patch
CommunicationServiceResourcePatch

업데이트 작업에 대한 매개 변수입니다.

cancellationToken
CancellationToken

사용할 취소 토큰입니다.

반환

예외

patch가 null입니다.

적용 대상

UpdateAsync(WaitUntil, CommunicationServiceResourcePatch, CancellationToken)

기존 CommunicationService를 업데이트하는 작업입니다.

  • 요청 경로/구독/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • 작업 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))

매개 변수

waitUntil
WaitUntil

Completed 메서드가 서비스에서 장기 실행 작업이 완료될 때까지 반환될 때까지 기다려야 하면 이고, Started 작업을 시작한 후 를 반환해야 하는 경우 입니다. 장기 실행 작업에 대한 자세한 내용은 Azure.Core Long-Running 작업 샘플을 참조하세요.

patch
CommunicationServiceResourcePatch

업데이트 작업에 대한 매개 변수입니다.

cancellationToken
CancellationToken

사용할 취소 토큰입니다.

반환

예외

patch가 null입니다.

적용 대상