Share via


ConnectionOperationsExtensions.CreateAsync Method (IConnectionOperations, String, ConnectionCreateParameters)

 

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)

Syntax

public static Task<ConnectionCreateResponse> CreateAsync(
    this IConnectionOperations operations,
    string automationAccount,
    ConnectionCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<ConnectionCreateResponse^>^ CreateAsync(
    IConnectionOperations^ operations,
    String^ automationAccount,
    ConnectionCreateParameters^ parameters
)
static member CreateAsync : 
        operations:IConnectionOperations *
        automationAccount:string *
        parameters:ConnectionCreateParameters -> Task<ConnectionCreateResponse>
<ExtensionAttribute>
Public Shared Function CreateAsync (
    operations As IConnectionOperations,
    automationAccount As String,
    parameters As ConnectionCreateParameters
) As Task(Of ConnectionCreateResponse)

Parameters

  • automationAccount
    Type: System.String

    Required. The automation account name.

Return Value

Type: System.Threading.Tasks.Task<ConnectionCreateResponse>

The response model for the create connection operation.

See Also

ConnectionOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top