Udostępnij za pośrednictwem


IConnectionOperations.CreateAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ConnectionCreateResponse> CreateAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.ConnectionCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.ConnectionCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ConnectionCreateResponse>
Public Function CreateAsync (automationAccount As String, parameters As ConnectionCreateParameters, cancellationToken As CancellationToken) As Task(Of ConnectionCreateResponse)

Parameters

automationAccount
String

The automation account name.

parameters
ConnectionCreateParameters

The parameters supplied to the create connection operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the create connection operation.

Applies to