Freigeben über


DscCompilationJobOperationsExtensions.CreateAsync Methode

Definition

Überlädt

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

Erstellt den Dsc-Kompilierungsauftrag der Konfiguration. 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)

Parameter

resourceGroupName
String
automationAccount
String

Gibt zurück

Gilt für:

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

Erstellt den Dsc-Kompilierungsauftrag der Konfiguration. 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)

Parameter

operations
IDscCompilationJobOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name einer Azure-Ressourcengruppe.

automationAccountName
String

Der Name des Automation-Kontos.

compilationJobName
String

Die DSC-Konfigurations-ID.

parameters
DscCompilationJobCreateParameters

Die Parameter, die für den Erstellungsauftragsvorgang bereitgestellt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: