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