CertificateOperationsExtensions.CancelDeletion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This operation is deprecated. Please do not use it any longer.
Cancels a failed deletion of a Certificate from the specified Account.
[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public static Microsoft.Azure.Batch.Protocol.Models.CertificateCancelDeletionHeaders CancelDeletion (this Microsoft.Azure.Batch.Protocol.ICertificateOperations operations, string thumbprintAlgorithm, string thumbprint, Microsoft.Azure.Batch.Protocol.Models.CertificateCancelDeletionOptions certificateCancelDeletionOptions = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member CancelDeletion : Microsoft.Azure.Batch.Protocol.ICertificateOperations * string * string * Microsoft.Azure.Batch.Protocol.Models.CertificateCancelDeletionOptions -> Microsoft.Azure.Batch.Protocol.Models.CertificateCancelDeletionHeaders
<Extension()>
Public Function CancelDeletion (operations As ICertificateOperations, thumbprintAlgorithm As String, thumbprint As String, Optional certificateCancelDeletionOptions As CertificateCancelDeletionOptions = Nothing) As CertificateCancelDeletionHeaders
Parameters
- operations
- ICertificateOperations
The operations group for this extension method.
- thumbprintAlgorithm
- String
The algorithm used to derive the thumbprint parameter. This must be sha1.
- thumbprint
- String
The thumbprint of the Certificate being deleted.
- certificateCancelDeletionOptions
- CertificateCancelDeletionOptions
Additional parameters for the operation
Returns
- Attributes
Remarks
If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.
Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.