다음을 통해 공유


CertificateOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates the certificate being used for authentication with the backend. https://azure.microsoft.com/en-us/documentation/articles/api-management-howto-mutual-certificates/

public static Microsoft.Azure.Management.ApiManagement.Models.CertificateContract CreateOrUpdate (this Microsoft.Azure.Management.ApiManagement.ICertificateOperations operations, string resourceGroupName, string serviceName, string certificateId, Microsoft.Azure.Management.ApiManagement.Models.CertificateCreateOrUpdateParameters parameters, string ifMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.ApiManagement.ICertificateOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.CertificateCreateOrUpdateParameters * string -> Microsoft.Azure.Management.ApiManagement.Models.CertificateContract
<Extension()>
Public Function CreateOrUpdate (operations As ICertificateOperations, resourceGroupName As String, serviceName As String, certificateId As String, parameters As CertificateCreateOrUpdateParameters, Optional ifMatch As String = Nothing) As CertificateContract

Parameters

operations
ICertificateOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

certificateId
String

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

parameters
CertificateCreateOrUpdateParameters

Create or Update parameters.

ifMatch
String

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

Returns

Applies to