Udostępnij za pośrednictwem


ConnectionOperationsExtensions.CreateAsync Method

Definition

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

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

Parameters

operations
IConnectionOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IConnectionOperations.

automationAccount
String

Required. The automation account name.

parameters
ConnectionCreateParameters

Required. The parameters supplied to the create connection operation.

Returns

The response model for the create connection operation.

Applies to