다음을 통해 공유


VariableOperationsExtensions.GetAsync 메서드

정의

오버로드

GetAsync(IVariableOperations, String, String, String)
GetAsync(IVariableOperations, String, String, String, CancellationToken)

변수 이름으로 식별되는 변수를 검색합니다. 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)

매개 변수

operations
IVariableOperations
resourceGroupName
String
automationAccount
String
variableName
String

반환

적용 대상

GetAsync(IVariableOperations, String, String, String, CancellationToken)

변수 이름으로 식별되는 변수를 검색합니다. 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)

매개 변수

operations
IVariableOperations

이 확장 메서드에 대한 작업 그룹입니다.

resourceGroupName
String

Azure 리소스 그룹의 이름입니다.

automationAccountName
String

자동화 계정의 이름입니다.

variableName
String

변수의 이름입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상