共用方式為


CommunicationServiceResource.Update 方法

定義

多載

Update(CommunicationServiceResourcePatch, CancellationToken)

更新現有 CommunicationService 的作業。

  • 要求路徑/訂用帳戶/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • 作業IdCommunicationServices_Update
Update(WaitUntil, CommunicationServiceResourcePatch, CancellationToken)

更新現有 CommunicationService 的作業。

  • 要求路徑/訂用帳戶/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • 作業IdCommunicationServices_Update

Update(CommunicationServiceResourcePatch, CancellationToken)

更新現有 CommunicationService 的作業。

  • 要求路徑/訂用帳戶/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • 作業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)

參數

patch
CommunicationServiceResourcePatch

更新作業的參數。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

例外狀況

patch 為 null。

適用於

Update(WaitUntil, CommunicationServiceResourcePatch, CancellationToken)

更新現有 CommunicationService 的作業。

  • 要求路徑/訂用帳戶/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • 作業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)

參數

waitUntil
WaitUntil

Completed 如果 方法應該等候傳回,直到服務上長時間執行的作業完成為止; Started 如果它應該在啟動作業之後傳回,則為 。 如需長時間執行作業的詳細資訊,請參閱 Azure.Core Long-Running作業範例

patch
CommunicationServiceResourcePatch

更新作業的參數。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

例外狀況

patch 為 null。

適用於