다음을 통해 공유


CertificateClient.MergeCertificateAsync Method

Definition

Merges a certificate or a certificate chain with a key pair currently available in the service. This operation requires the certificate/create permission.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificateWithPolicy>> MergeCertificateAsync (Azure.Security.KeyVault.Certificates.MergeCertificateOptions mergeCertificateOptions, System.Threading.CancellationToken cancellationToken = default);
abstract member MergeCertificateAsync : Azure.Security.KeyVault.Certificates.MergeCertificateOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificateWithPolicy>>
override this.MergeCertificateAsync : Azure.Security.KeyVault.Certificates.MergeCertificateOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificateWithPolicy>>
Public Overridable Function MergeCertificateAsync (mergeCertificateOptions As MergeCertificateOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KeyVaultCertificateWithPolicy))

Parameters

mergeCertificateOptions
MergeCertificateOptions

The details of the certificate or certificate chain to merge into the key vault.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

The merged certificate.

Exceptions

mergeCertificateOptions is null.

Applies to