Compartir a través de


CertificateClient.GetCertificateVersionAsync Método

Definición

Obtiene una versión específica de KeyVaultCertificate. Esta operación requiere el permiso certificates/get.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificate>> GetCertificateVersionAsync (string certificateName, string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCertificateVersionAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificate>>
override this.GetCertificateVersionAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificate>>
Public Overridable Function GetCertificateVersionAsync (certificateName As String, version As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KeyVaultCertificate))

Parámetros

certificateName
String

Nombre del objeto KeyVaultCertificate que se va a recuperar.

version
String

Versión de que KeyVaultCertificate se va a recuperar.

cancellationToken
CancellationToken

Control CancellationToken de la duración de la solicitud.

Devoluciones

KeyVaultCertificate solicitado.

Excepciones

certificateName está vacía.

certificateName es null.

Se aplica a