Share via


ICertificateOperations.DeleteAsync Method

Delete the certificate. (see https://aka.ms/azureautomationsdk/certificateoperations for more information)

Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Usage

'Usage
Dim instance As ICertificateOperations
Dim automationAccount As String
Dim certificateName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = instance.DeleteAsync(automationAccount, certificateName, cancellationToken)

Syntax

'Declaration
Function DeleteAsync ( _
    automationAccount As String, _
    certificateName As String, _
    cancellationToken As CancellationToken _
) As Task(Of AzureOperationResponse)
Task<AzureOperationResponse> DeleteAsync (
    string automationAccount,
    string certificateName,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DeleteAsync (
    String^ automationAccount, 
    String^ certificateName, 
    CancellationToken cancellationToken
)
Task<AzureOperationResponse> DeleteAsync (
    String automationAccount, 
    String certificateName, 
    CancellationToken cancellationToken
)
function DeleteAsync (
    automationAccount : String, 
    certificateName : String, 
    cancellationToken : CancellationToken
) : Task<AzureOperationResponse>

Parameters

  • automationAccount
    The automation account name.
  • certificateName
    The name of certificate.
  • cancellationToken
    Cancellation token.

Return Value

A standard service response including an HTTP status code and request ID.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ICertificateOperations Interface
ICertificateOperations Members
Microsoft.WindowsAzure.Management.Automation Namespace