VariableOperationsExtensions.GetAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.VariableGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Automation.IVariableOperations operations, string automationAccount, string variableName);
static member GetAsync : Microsoft.WindowsAzure.Management.Automation.IVariableOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.VariableGetResponse>
<Extension()>
Public Function GetAsync (operations As IVariableOperations, automationAccount As String, variableName As String) As Task(Of VariableGetResponse)

Parameters

operations
IVariableOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IVariableOperations.

automationAccount
String

Required. The automation account name.

variableName
String

Required. The name of variable.

Returns

The response model for the get variable operation.

Applies to