Share via


ConnectionTypeOperationsExtensions.CreateAsync Method

Create a connectiontype. (see https://aka.ms/azureautomationsdk/connectiontypeoperations for more information)

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

Usage

'Usage
Dim operations As IConnectionTypeOperations
Dim automationAccount As String
Dim parameters As ConnectionTypeCreateParameters
Dim returnValue As Task(Of ConnectionTypeCreateResponse)

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

Syntax

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

Parameters

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

Return Value

The response model for the create connection type 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

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