CommunicationServiceResource.Update 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Update(CommunicationServiceResourcePatch, CancellationToken) |
更新現有 CommunicationService 的作業。
|
Update(WaitUntil, CommunicationServiceResourcePatch, CancellationToken) |
更新現有 CommunicationService 的作業。
|
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)
參數
更新作業的參數。
- 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作業範例。
更新作業的參數。
- cancellationToken
- CancellationToken
要使用的取消權杖。
傳回
例外狀況
patch
為 null。