CertificateOperations.GetCertificateAsync Método

Definición

Precaución

This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

Advertencia: esta operación está en desuso y se quitará después de febrero de 2024. Use la extensión De Azure KeyVault en su lugar. Obtiene la clase Certificate especificada.

[System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)]
public System.Threading.Tasks.Task<Microsoft.Azure.Batch.Certificate> GetCertificateAsync (string thumbprintAlgorithm, string thumbprint, Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)>]
member this.GetCertificateAsync : string * string * Microsoft.Azure.Batch.DetailLevel * seq<Microsoft.Azure.Batch.BatchClientBehavior> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Certificate>
Public Function GetCertificateAsync (thumbprintAlgorithm As String, thumbprint As String, Optional detailLevel As DetailLevel = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Certificate)

Parámetros

thumbprintAlgorithm
String

Algoritmo utilizado para derivar el thumbprint parámetro . Debe ser sha1.

thumbprint
String

Huella digital del certificado que se va a obtener.

detailLevel
DetailLevel

que DetailLevel se usa para controlar qué propiedades se recuperan del servicio.

additionalBehaviors
IEnumerable<BatchClientBehavior>

Colección de BatchClientBehavior instancias que se aplican a la solicitud de servicio de Batch después de CustomBehaviors y detailLevel.

cancellationToken
CancellationToken

para CancellationToken controlar la duración de la operación asincrónica.

Devoluciones

que Certificate contiene información sobre el certificado especificado en la cuenta de Azure Batch.

Atributos

Comentarios

La operación get certificate se ejecuta de forma asincrónica.

Se aplica a