Share via


OpenIdConnectProviderOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates the OpenID Connect Provider.

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

Parameters

operations
IOpenIdConnectProviderOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

opid
String

Identifier of the OpenID Connect Provider.

parameters
OpenidConnectProviderContract

Create 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