ConnectionOperationsExtensions.CreateAsync Method

Create a connection. (see https://aka.ms/azureautomationsdk/connectionoperations for more information)

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

Usage

'Usage
Dim operations As IConnectionOperations
Dim automationAccount As String
Dim parameters As ConnectionCreateParameters
Dim returnValue As Task(Of ConnectionCreateResponse)

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

Syntax

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

Parameters

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

Return Value

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

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