次の方法で共有


CertificateOperationsExtensions.CancelDeletionAsync メソッド

定義

注意事項

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> CancelDeletionAsync (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 CancelDeletionAsync : Microsoft.Azure.Management.Batch.ICertificateOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.Certificate>
<Extension()>
Public Function CancelDeletionAsync (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

キャンセル トークン。

戻り値

属性

注釈

プールまたはコンピューティング ノードで使用されている証明書を削除しようとすると、証明書の状態が deleteFailed に変わります。 証明書を使用し続けることに決めた場合は、この操作を実行して、証明書のステータスを再度アクティブに設定することができます。 証明書を削除する場合は、削除が失敗した後、この操作を実行する必要はありません。 証明書がどのリソースでも使用されていないことを確認したら、証明書の削除を再試行することができます。

警告: この操作は非推奨であり、2024 年 2 月以降に削除されます。 代わりに [Azure KeyVault 拡張機能]( をhttps://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) 使用してください。

適用対象