다음을 통해 공유


TestJobOperationsExtensions.CreateAsync 메서드

정의

오버로드

CreateAsync(ITestJobOperations, String, String, TestJobCreateParameters)
CreateAsync(ITestJobOperations, String, String, String, TestJobCreateParameters, CancellationToken)

Runbook의 테스트 작업을 만듭니다. http://aka.ms/azureautomationsdk/testjoboperations

CreateAsync(ITestJobOperations, String, String, TestJobCreateParameters)

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

매개 변수

operations
ITestJobOperations
resourceGroupName
String
automationAccount
String

반환

적용 대상

CreateAsync(ITestJobOperations, String, String, String, TestJobCreateParameters, CancellationToken)

Runbook의 테스트 작업을 만듭니다. http://aka.ms/azureautomationsdk/testjoboperations

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

매개 변수

operations
ITestJobOperations

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

resourceGroupName
String

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

automationAccountName
String

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

runbookName
String

테스트 작업 만들기 작업에 제공된 매개 변수입니다.

parameters
TestJobCreateParameters

테스트 작업 만들기 작업에 제공된 매개 변수입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상