DscCompilationJobOperationsExtensions.CreateAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
參數
- operations
- IDscCompilationJobOperations
- resourceGroupName
- String
- automationAccount
- String
- parameters
- DscCompilationJobCreateParameters
傳回
適用於
CreateAsync(IDscCompilationJobOperations, String, String, String, DscCompilationJobCreateParameters, CancellationToken)
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 組態識別碼。
- parameters
- DscCompilationJobCreateParameters
提供給建立編譯作業作業的參數。
- cancellationToken
- CancellationToken
取消語彙基元。