다음을 통해 공유


JobOperationsExtensions.CreateAsync 메서드

정의

오버로드

CreateAsync(IJobOperations, String, String, JobCreateParameters)
CreateAsync(IJobOperations, String, String, String, JobCreateParameters, String, CancellationToken)

Runbook의 작업을 만듭니다. http://aka.ms/azureautomationsdk/joboperations

CreateAsync(IJobOperations, String, String, JobCreateParameters)

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

매개 변수

operations
IJobOperations
resourceGroupName
String
automationAccount
String
parameters
JobCreateParameters

반환

적용 대상

CreateAsync(IJobOperations, String, String, String, JobCreateParameters, String, CancellationToken)

Runbook의 작업을 만듭니다. http://aka.ms/azureautomationsdk/joboperations

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

매개 변수

operations
IJobOperations

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

resourceGroupName
String

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

automationAccountName
String

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

jobName
String

작업 이름입니다.

parameters
JobCreateParameters

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

clientRequestId
String

이 특정 클라이언트 요청을 식별합니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상