Udostępnij za pośrednictwem


KeyVaultClientExtensions.GetCertificateOperationAsync Method

Definition

Gets the creation operation of a certificate.

public static System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.CertificateOperation> GetCertificateOperationAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, string certificateName, System.Threading.CancellationToken cancellationToken = default);
static member GetCertificateOperationAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.CertificateOperation>
<Extension()>
Public Function GetCertificateOperationAsync (operations As IKeyVaultClient, vaultBaseUrl As String, certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CertificateOperation)

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

vaultBaseUrl
String

The vault name, for example https://myvault.vault.azure.net.

certificateName
String

The name of the certificate.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission.

Applies to