ApiManagementLoggerResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates an existing logger.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerId}
- Operation Id: Logger_Update
- Default Api Version: 2021-08-01
- Resource: ApiManagementLoggerResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementLoggerResource>> UpdateAsync (Azure.ETag ifMatch, Azure.ResourceManager.ApiManagement.Models.ApiManagementLoggerPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ETag * Azure.ResourceManager.ApiManagement.Models.ApiManagementLoggerPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementLoggerResource>>
override this.UpdateAsync : Azure.ETag * Azure.ResourceManager.ApiManagement.Models.ApiManagementLoggerPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementLoggerResource>>
Public Overridable Function UpdateAsync (ifMatch As ETag, patch As ApiManagementLoggerPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApiManagementLoggerResource))
Parameters
- ifMatch
- ETag
ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.
- patch
- ApiManagementLoggerPatch
Update parameters.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應