ConnectionOperationsExtensions.CreateAsync Method (IConnectionOperations, String, ConnectionCreateParameters)
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
public static Task<ConnectionCreateResponse> CreateAsync(
this IConnectionOperations operations,
string automationAccount,
ConnectionCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<ConnectionCreateResponse^>^ CreateAsync(
IConnectionOperations^ operations,
String^ automationAccount,
ConnectionCreateParameters^ parameters
)
static member CreateAsync :
operations:IConnectionOperations *
automationAccount:string *
parameters:ConnectionCreateParameters -> Task<ConnectionCreateResponse>
<ExtensionAttribute>
Public Shared Function CreateAsync (
operations As IConnectionOperations,
automationAccount As String,
parameters As ConnectionCreateParameters
) As Task(Of ConnectionCreateResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Automation.IConnectionOperationsReference to the Microsoft.WindowsAzure.Management.Automation.IConnectionOperations.
automationAccount
Type: System.StringRequired. The automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.ConnectionCreateParametersRequired. The parameters supplied to the create connection operation.
Return Value
Type: System.Threading.Tasks.Task<ConnectionCreateResponse>
The response model for the create connection operation.
See Also
ConnectionOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace
Return to top