Share via


VariableOperationsExtensions.GetAsync Method (IVariableOperations, String, String)

 

Retrieve the variable identified by variable name. (see https://aka.ms/azureautomationsdk/variableoperations for more information)

Namespace:   Microsoft.WindowsAzure.Management.Automation
Assembly:  Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Syntax

public static Task<VariableGetResponse> GetAsync(
    this IVariableOperations operations,
    string automationAccount,
    string variableName
)
public:
[ExtensionAttribute]
static Task<VariableGetResponse^>^ GetAsync(
    IVariableOperations^ operations,
    String^ automationAccount,
    String^ variableName
)
static member GetAsync : 
        operations:IVariableOperations *
        automationAccount:string *
        variableName:string -> Task<VariableGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
    operations As IVariableOperations,
    automationAccount As String,
    variableName As String
) As Task(Of VariableGetResponse)

Parameters

  • automationAccount
    Type: System.String

    Required. The automation account name.

  • variableName
    Type: System.String

    Required. The name of variable.

Return Value

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

The response model for the get variable operation.

See Also

VariableOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top