VariableOperationsExtensions.GetAsync Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
GetAsync(IVariableOperations, String, String, String) | |
GetAsync(IVariableOperations, String, String, String, CancellationToken) |
Hämta variabeln som identifieras med variabelnamnet. 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)
Parametrar
- operations
- IVariableOperations
- resourceGroupName
- String
- automationAccount
- String
- variableName
- String
Returer
Gäller för
GetAsync(IVariableOperations, String, String, String, CancellationToken)
Hämta variabeln som identifieras med variabelnamnet. 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)
Parametrar
- operations
- IVariableOperations
Åtgärdsgruppen för den här tilläggsmetoden.
- resourceGroupName
- String
Namnet på en Azure-resursgrupp.
- automationAccountName
- String
Namnet på automationskontot.
- variableName
- String
Namnet på variabeln.
- cancellationToken
- CancellationToken
Annulleringstoken.
Returer
Gäller för
Azure SDK for .NET