Share via


ApiManagementAuthorizationServerResource.UpdateAsync Method

Definition

Updates the details of the authorization server specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}
  • Operation Id: AuthorizationServer_Update
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementAuthorizationServerResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementAuthorizationServerResource>> UpdateAsync (Azure.ETag ifMatch, Azure.ResourceManager.ApiManagement.Models.ApiManagementAuthorizationServerPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ETag * Azure.ResourceManager.ApiManagement.Models.ApiManagementAuthorizationServerPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementAuthorizationServerResource>>
override this.UpdateAsync : Azure.ETag * Azure.ResourceManager.ApiManagement.Models.ApiManagementAuthorizationServerPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementAuthorizationServerResource>>
Public Overridable Function UpdateAsync (ifMatch As ETag, patch As ApiManagementAuthorizationServerPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApiManagementAuthorizationServerResource))

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
ApiManagementAuthorizationServerPatch

OAuth2 Server settings Update parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to