Share via


CertificateOperationsExtensions.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 operations As ICertificateOperations
Dim automationAccount As String
Dim certificateName As String
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = CertificateOperationsExtensions.DeleteAsync(operations, automationAccount, certificateName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function DeleteAsync ( _
    operations As ICertificateOperations, _
    automationAccount As String, _
    certificateName As String _
) As Task(Of AzureOperationResponse)
[ExtensionAttribute] 
public static Task<AzureOperationResponse> DeleteAsync (
    ICertificateOperations operations,
    string automationAccount,
    string certificateName
)
[ExtensionAttribute] 
public:
static Task<AzureOperationResponse^>^ DeleteAsync (
    ICertificateOperations^ operations, 
    String^ automationAccount, 
    String^ certificateName
)
/** @attribute ExtensionAttribute() */ 
public static Task<AzureOperationResponse> DeleteAsync (
    ICertificateOperations operations, 
    String automationAccount, 
    String certificateName
)
ExtensionAttribute 
public static function DeleteAsync (
    operations : ICertificateOperations, 
    automationAccount : String, 
    certificateName : String
) : Task<AzureOperationResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.ICertificateOperations.
  • automationAccount
    Required. The automation account name.
  • certificateName
    Required. The name of certificate.

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

CertificateOperationsExtensions Class
CertificateOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace