共用方式為


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.Management.Batch.Models.Certificate> GetAsync (this Microsoft.Azure.Management.Batch.ICertificateOperations operations, string resourceGroupName, string accountName, string certificateName, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member GetAsync : Microsoft.Azure.Management.Batch.ICertificateOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.Certificate>
<Extension()>
Public Function GetAsync (operations As ICertificateOperations, resourceGroupName As String, accountName As String, certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Certificate)

參數

operations
ICertificateOperations

這個擴充方法的作業群組。

resourceGroupName
String

包含 Batch 帳戶的資源群組名稱。

accountName
String

Batch 帳戶的名稱。

certificateName
String

憑證的識別碼。 這必須由以虛線分隔的演算法和指紋組成,而且必須符合要求中的憑證資料。 例如 SHA1-a3d1c5。

cancellationToken
CancellationToken

取消語彙基元。

傳回

屬性

備註

警告:此作業已被取代,將在 2024 年 2 月之後移除。 請改用 [Azure KeyVault 擴充功能] (https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) 。

適用於