다음을 통해 공유


AuthorizationServerOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates new authorization server or updates an existing authorization server.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerContract> CreateOrUpdateAsync (this Microsoft.Azure.Management.ApiManagement.IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, string authsid, Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerContract parameters, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ApiManagement.IAuthorizationServerOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerContract * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerContract>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IAuthorizationServerOperations, resourceGroupName As String, serviceName As String, authsid As String, parameters As AuthorizationServerContract, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AuthorizationServerContract)

Parameters

operations
IAuthorizationServerOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

authsid
String

Identifier of the authorization server.

parameters
AuthorizationServerContract

Create or update parameters.

ifMatch
String

ETag of the Entity. Not required when creating an entity, but required when updating an entity.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to