VariableOperationsExtensions.GetAsync 方法 (IVariableOperations, String, String)
检索由变量的名称标识的变量。 (请参阅 https://aka.ms/azureautomationsdk/variableoperations 有关详细信息)
命名空间: Microsoft.WindowsAzure.Management.Automation
程序集: Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)
语法
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)
参数
operations
Type: Microsoft.WindowsAzure.Management.Automation.IVariableOperations对 Microsoft.WindowsAzure.Management.Automation.IVariableOperations 引用。
automationAccount
Type: System.String必需。 自动管理帐户名称。
variableName
Type: System.String必需。 变量的名称。
返回值
Type: System.Threading.Tasks.Task<VariableGetResponse>
获取变量操作该响应模型。
请参阅
VariableOperationsExtensions 类
Microsoft.WindowsAzure.Management.Automation 命名空间
返回页首