TrustedSigningCertificateProfileResource.RevokeCertificateAsync 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET