Share via


DscCompilationJobOperationsExtensions.GetAsync Method

Definition

Overloads

GetAsync(IDscCompilationJobOperations, String, String, Guid)
GetAsync(IDscCompilationJobOperations, String, String, String, CancellationToken)

Retrieve the Dsc configuration compilation job identified by job id. http://aka.ms/azureautomationsdk/dsccompilationjoboperations

GetAsync(IDscCompilationJobOperations, String, String, Guid)

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

Parameters

resourceGroupName
String
automationAccount
String
jobId
Guid

Returns

Applies to

GetAsync(IDscCompilationJobOperations, String, String, String, CancellationToken)

Retrieve the Dsc configuration compilation job identified by job id. http://aka.ms/azureautomationsdk/dsccompilationjoboperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscCompilationJob> GetAsync (this Microsoft.Azure.Management.Automation.IDscCompilationJobOperations operations, string resourceGroupName, string automationAccountName, string compilationJobName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.IDscCompilationJobOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscCompilationJob>
<Extension()>
Public Function GetAsync (operations As IDscCompilationJobOperations, resourceGroupName As String, automationAccountName As String, compilationJobName As String, 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to