Sdílet prostřednictvím


CertificateClient.GetCertificateOperationAsync Method

Definition

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

public virtual System.Threading.Tasks.Task<Azure.Security.KeyVault.Certificates.CertificateOperation> GetCertificateOperationAsync (string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCertificateOperationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.KeyVault.Certificates.CertificateOperation>
override this.GetCertificateOperationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.KeyVault.Certificates.CertificateOperation>
Public Overridable Function GetCertificateOperationAsync (certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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