你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CertificateOperationsExtensions.GetAsync 方法

定义

注意

This operation is deprecated. Please do not use it any longer.

获取有关指定证书的信息。

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.Certificate> GetAsync (this Microsoft.Azure.Batch.Protocol.ICertificateOperations operations, string thumbprintAlgorithm, string thumbprint, Microsoft.Azure.Batch.Protocol.Models.CertificateGetOptions certificateGetOptions = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member GetAsync : Microsoft.Azure.Batch.Protocol.ICertificateOperations * string * string * Microsoft.Azure.Batch.Protocol.Models.CertificateGetOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.Certificate>
<Extension()>
Public Function GetAsync (operations As ICertificateOperations, thumbprintAlgorithm As String, thumbprint As String, Optional certificateGetOptions As CertificateGetOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Certificate)

参数

operations
ICertificateOperations

此扩展方法的操作组。

thumbprintAlgorithm
String

用于派生指纹参数的算法。 这必须是 sha1。

thumbprint
String

要获取的证书的指纹。

certificateGetOptions
CertificateGetOptions

操作的其他参数

cancellationToken
CancellationToken

取消标记。

返回

属性

注解

警告:此操作已弃用,将在 2024 年 2 月之后删除。 请改用 [Azure KeyVault 扩展] (https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) 。

适用于