Share via


GatewayCertificateAuthorityOperationsExtensions.CreateOrUpdateAsync Method

Definition

Assign Certificate entity to Gateway entity as Certificate Authority.

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

Parameters

operations
IGatewayCertificateAuthorityOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

gatewayId
String

Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'

certificateId
String

Identifier of the certificate entity. Must be unique in the current API Management service instance.

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