ConnectionOperationsExtensions.CreateAsync Method (IConnectionOperations, String, ConnectionCreateParameters)
Create a connection. (see http://aka.ms/azureautomationsdk/connectionoperations for more information)
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
public static Task<ConnectionCreateResponse> CreateAsync( this IConnectionOperations operations, string automationAccount, ConnectionCreateParameters parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Automation.IConnectionOperations
Reference to the Microsoft.WindowsAzure.Management.Automation.IConnectionOperations.
- automationAccount
-
Type:
System.String
Required. The automation account name.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Automation.Models.ConnectionCreateParameters
Required. The parameters supplied to the create connection operation.
Return Value
Type: System.Threading.Tasks.Task<ConnectionCreateResponse>The response model for the create connection operation.
Show: