다음을 통해 공유


DscCompilationJobOperationsExtensions.CreateAsync 메서드

정의

오버로드

CreateAsync(IDscCompilationJobOperations, String, String, DscCompilationJobCreateParameters)
CreateAsync(IDscCompilationJobOperations, String, String, String, DscCompilationJobCreateParameters, CancellationToken)

구성의 Dsc 컴파일 작업을 만듭니다. http://aka.ms/azureautomationsdk/dscconfigurationcompilejoboperations

CreateAsync(IDscCompilationJobOperations, String, String, DscCompilationJobCreateParameters)

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

매개 변수

resourceGroupName
String
automationAccount
String

반환

적용 대상

CreateAsync(IDscCompilationJobOperations, String, String, String, DscCompilationJobCreateParameters, CancellationToken)

구성의 Dsc 컴파일 작업을 만듭니다. http://aka.ms/azureautomationsdk/dscconfigurationcompilejoboperations

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

매개 변수

operations
IDscCompilationJobOperations

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

resourceGroupName
String

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

automationAccountName
String

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

compilationJobName
String

DSC 구성 ID입니다.

parameters
DscCompilationJobCreateParameters

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상