Share via


TrustedSigningCertificateProfileResource.RevokeCertificateAsync Method

Definition

Revoke a certificate under a certificate profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}/revokeCertificate
  • Operation Id: CertificateProfiles_RevokeCertificate
  • Default Api Version: 2024-02-05-preview
  • Resource: TrustedSigningCertificateProfileResource
public virtual System.Threading.Tasks.Task<Azure.Response> RevokeCertificateAsync (Azure.ResourceManager.TrustedSigning.Models.RevokeCertificateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RevokeCertificateAsync : Azure.ResourceManager.TrustedSigning.Models.RevokeCertificateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RevokeCertificateAsync : Azure.ResourceManager.TrustedSigning.Models.RevokeCertificateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RevokeCertificateAsync (content As RevokeCertificateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

content
RevokeCertificateContent

Parameters to revoke the certificate profile.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to