共用方式為


CertificateOperationsExtensions.CancelDeletion 方法

定義

警告

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

參數

operations
ICertificateOperations

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

resourceGroupName
String

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

accountName
String

Batch 帳戶的名稱。

certificateName
String

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

傳回

屬性

備註

如果您嘗試刪除集區或計算節點所使用的憑證,憑證的狀態會變更為 deleteFailed。 如果您決定繼續使用憑證,您可以使用此操作將憑證的狀態設回 active。 如果您想要刪除憑證,則在刪除失敗之後不需要執行此操作。 您必須確定憑證未由任何資源使用,然後就可以嘗試再一次刪除憑證。

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

適用於