IVariableOperations.GetAsync(String, String, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.VariableGetResponse> GetAsync (string automationAccount, string variableName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.VariableGetResponse>
Public Function GetAsync (automationAccount As String, variableName As String, cancellationToken As CancellationToken) As Task(Of VariableGetResponse)

Parameters

automationAccount
String

The automation account name.

variableName
String

The name of variable.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the get variable operation.

Applies to