DscCompilationJobOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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)
Parameters
- operations
- IDscCompilationJobOperations
- resourceGroupName
- String
- automationAccount
- String
- parameters
- DscCompilationJobCreateParameters
Returns
Applies to
CreateAsync(IDscCompilationJobOperations, String, String, String, DscCompilationJobCreateParameters, CancellationToken)
Creates the Dsc compilation job of the configuration. 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)
Parameters
- operations
- IDscCompilationJobOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of an Azure Resource group.
- automationAccountName
- String
The name of the automation account.
- compilationJobName
- String
The DSC configuration Id.
- parameters
- DscCompilationJobCreateParameters
The parameters supplied to the create compilation job operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET