CertificateClient.UpdateCertificateProperties(CertificateProperties, CancellationToken) Method

Definition

Updates the specified KeyVaultCertificate with the specified values for its mutable properties. This operation requires the certificates/update permission.

public virtual Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificate> UpdateCertificateProperties (Azure.Security.KeyVault.Certificates.CertificateProperties properties, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateCertificateProperties : Azure.Security.KeyVault.Certificates.CertificateProperties * System.Threading.CancellationToken -> Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificate>
override this.UpdateCertificateProperties : Azure.Security.KeyVault.Certificates.CertificateProperties * System.Threading.CancellationToken -> Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificate>
Public Overridable Function UpdateCertificateProperties (properties As CertificateProperties, Optional cancellationToken As CancellationToken = Nothing) As Response(Of KeyVaultCertificate)

Parameters

properties
CertificateProperties

The CertificateProperties object with updated properties.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

Response<KeyVaultCertificate>

The updated KeyVaultCertificate.

Exceptions

properties is null.

Applies to