共用方式為


CertificateOperationsExtensions.BeginDeleteAsync 方法

定義

警告

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.CertificateDeleteHeaders> BeginDeleteAsync (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 BeginDeleteAsync : Microsoft.Azure.Management.Batch.ICertificateOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.CertificateDeleteHeaders>
<Extension()>
Public Function BeginDeleteAsync (operations As ICertificateOperations, resourceGroupName As String, accountName As String, certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CertificateDeleteHeaders)

參數

operations
ICertificateOperations

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

resourceGroupName
String

包含 Batch 帳戶的資源組名。

accountName
String

Batch 帳戶的名稱。

certificateName
String

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

cancellationToken
CancellationToken

取消語彙基元。

傳回

屬性

備註

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

適用於