Share via


CertificateOperationsExtensions.CreateAsync Method

Create a 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 parameters As CertificateCreateParameters
Dim returnValue As Task(Of CertificateCreateResponse)

returnValue = CertificateOperationsExtensions.CreateAsync(operations, automationAccount, parameters)

Syntax

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

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.ICertificateOperations.
  • automationAccount
    Required. The automation account name.
  • parameters
    Required. The parameters supplied to the create certificate operation.

Return Value

The response model for the create certificate operation.

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