Método VariableOperationsExtensions.GetAsync (IVariableOperations, String, String)
Recupere a variável identificada pelo nome da variável. (consulte https://aka.ms/azureautomationsdk/variableoperations para obter mais informações)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (em Microsoft.WindowsAzure.Management.Automation.dll)
Sintaxe
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)
Parâmetros
operations
Type: Microsoft.WindowsAzure.Management.Automation.IVariableOperationsReferência para o Microsoft.WindowsAzure.Management.Automation.IVariableOperations.
automationAccount
Type: System.StringObrigatório. O nome da conta de automação.
variableName
Type: System.StringObrigatório. O nome da variável.
Valor de retorno
Type: System.Threading.Tasks.Task<VariableGetResponse>
O modelo de resposta para a operação de obtenção de variável.
Consulte também
Classe VariableOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation
Retornar ao topo