CertificateClient.GetCertificateOperation(String, CancellationToken) Method

Definition

Gets a pending CertificateOperation from the key vault. This operation requires the certificates/get permission.

public virtual Azure.Security.KeyVault.Certificates.CertificateOperation GetCertificateOperation (string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCertificateOperation : string * System.Threading.CancellationToken -> Azure.Security.KeyVault.Certificates.CertificateOperation
override this.GetCertificateOperation : string * System.Threading.CancellationToken -> Azure.Security.KeyVault.Certificates.CertificateOperation
Public Overridable Function GetCertificateOperation (certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As CertificateOperation

Parameters

certificateName
String

The name of the certificate for which an operation is pending.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

The given certificate's current pending operation.

Exceptions

certificateName is empty.

certificateName is null.

Applies to