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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET