VariableOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAsync(IVariableOperations, String, String, String) | |
GetAsync(IVariableOperations, String, String, String, CancellationToken) |
Retrieve the variable identified by variable name. http://aka.ms/azureautomationsdk/variableoperations |
GetAsync(IVariableOperations, String, String, String)
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.VariableGetResponse> GetAsync (this Microsoft.Azure.Management.Automation.IVariableOperations operations, string resourceGroupName, string automationAccount, string variableName);
static member GetAsync : Microsoft.Azure.Management.Automation.IVariableOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.VariableGetResponse>
<Extension()>
Public Function GetAsync (operations As IVariableOperations, resourceGroupName As String, automationAccount As String, variableName As String) As Task(Of VariableGetResponse)
Parameters
- operations
- IVariableOperations
- resourceGroupName
- String
- automationAccount
- String
- variableName
- String
Returns
Applies to
GetAsync(IVariableOperations, String, String, String, CancellationToken)
Retrieve the variable identified by variable name. http://aka.ms/azureautomationsdk/variableoperations
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Variable> GetAsync (this Microsoft.Azure.Management.Automation.IVariableOperations operations, string resourceGroupName, string automationAccountName, string variableName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.IVariableOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Variable>
<Extension()>
Public Function GetAsync (operations As IVariableOperations, resourceGroupName As String, automationAccountName As String, variableName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Variable)
Parameters
- operations
- IVariableOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of an Azure Resource group.
- automationAccountName
- String
The name of the automation account.
- variableName
- String
The name of variable.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for