CertificateClient.MergeCertificateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET