Share via


IConnectionOperations.CreateAsync Method (String, ConnectionCreateParameters, CancellationToken)

 

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

Task<ConnectionCreateResponse> CreateAsync(
    string automationAccount,
    ConnectionCreateParameters parameters,
    CancellationToken cancellationToken
)
Task<ConnectionCreateResponse^>^ CreateAsync(
    String^ automationAccount,
    ConnectionCreateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateAsync : 
        automationAccount:string *
        parameters:ConnectionCreateParameters *
        cancellationToken:CancellationToken -> Task<ConnectionCreateResponse>
Function CreateAsync (
    automationAccount As String,
    parameters As ConnectionCreateParameters,
    cancellationToken As CancellationToken
) As Task(Of ConnectionCreateResponse)

Parameters

  • automationAccount
    Type: System.String

    The automation account name.

Return Value

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

The response model for the create connection operation.

See Also

IConnectionOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top