Aracılığıyla paylaş


CertificateClient.DeleteIssuerAsync(String, CancellationToken) Method

Definition

Deletes the specified certificate CertificateIssuer from the vault. This operation requires the certificates/deleteissuers permission.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.CertificateIssuer>> DeleteIssuerAsync (string issuerName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteIssuerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.CertificateIssuer>>
override this.DeleteIssuerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.CertificateIssuer>>
Public Overridable Function DeleteIssuerAsync (issuerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CertificateIssuer))

Parameters

issuerName
String

The name of the CertificateIssuer to delete.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

The deleted certificate issuer.

Exceptions

issuerName is empty.

issuerName is null.

Applies to