Share via


ConnectionOperationsExtensions.GetAsync Method (IConnectionOperations, String, String)

 

Retrieve the connection identified by connection name. (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<ConnectionGetResponse> GetAsync(
    this IConnectionOperations operations,
    string automationAccount,
    string connectionName
)
public:
[ExtensionAttribute]
static Task<ConnectionGetResponse^>^ GetAsync(
    IConnectionOperations^ operations,
    String^ automationAccount,
    String^ connectionName
)
static member GetAsync : 
        operations:IConnectionOperations *
        automationAccount:string *
        connectionName:string -> Task<ConnectionGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
    operations As IConnectionOperations,
    automationAccount As String,
    connectionName As String
) As Task(Of ConnectionGetResponse)

Parameters

  • automationAccount
    Type: System.String

    Required. The automation account name.

  • connectionName
    Type: System.String

    Required. The name of connection.

Return Value

Type: System.Threading.Tasks.Task<ConnectionGetResponse>

The response model for the get connection operation.

See Also

ConnectionOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top