共用方式為


ApiManagementAuthorizationServerResource.Update 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 Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementAuthorizationServerResource> Update (Azure.ETag ifMatch, Azure.ResourceManager.ApiManagement.Models.ApiManagementAuthorizationServerPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ETag * Azure.ResourceManager.ApiManagement.Models.ApiManagementAuthorizationServerPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementAuthorizationServerResource>
override this.Update : Azure.ETag * Azure.ResourceManager.ApiManagement.Models.ApiManagementAuthorizationServerPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementAuthorizationServerResource>
Public Overridable Function Update (ifMatch As ETag, patch As ApiManagementAuthorizationServerPatch, Optional cancellationToken As CancellationToken = Nothing) As 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