다음을 통해 공유


TestJobOperationsExtensions.GetAsync 메서드

정의

오버로드

GetAsync(ITestJobOperations, String, String, String)
GetAsync(ITestJobOperations, String, String, String, CancellationToken)

지정된 Runbook에 대한 테스트 작업을 검색합니다. http://aka.ms/azureautomationsdk/testjoboperations

GetAsync(ITestJobOperations, String, String, String)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.TestJobGetResponse> GetAsync (this Microsoft.Azure.Management.Automation.ITestJobOperations operations, string resourceGroupName, string automationAccount, string runbookName);
static member GetAsync : Microsoft.Azure.Management.Automation.ITestJobOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.TestJobGetResponse>
<Extension()>
Public Function GetAsync (operations As ITestJobOperations, resourceGroupName As String, automationAccount As String, runbookName As String) As Task(Of TestJobGetResponse)

매개 변수

operations
ITestJobOperations
resourceGroupName
String
automationAccount
String
runbookName
String

반환

적용 대상

GetAsync(ITestJobOperations, String, String, String, CancellationToken)

지정된 Runbook에 대한 테스트 작업을 검색합니다. http://aka.ms/azureautomationsdk/testjoboperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.TestJob> GetAsync (this Microsoft.Azure.Management.Automation.ITestJobOperations operations, string resourceGroupName, string automationAccountName, string runbookName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.ITestJobOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.TestJob>
<Extension()>
Public Function GetAsync (operations As ITestJobOperations, resourceGroupName As String, automationAccountName As String, runbookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TestJob)

매개 변수

operations
ITestJobOperations

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

resourceGroupName
String

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

automationAccountName
String

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

runbookName
String

Runbook 이름입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상