Dela via


DscCompilationJobOperationsExtensions.GetAsync Metod

Definition

Överlagringar

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

Hämta Dsc-konfigurationskompileringsjobbet som identifieras av jobb-ID: t. 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)

Parametrar

resourceGroupName
String
automationAccount
String
jobId
Guid

Returer

Gäller för

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

Hämta Dsc-konfigurationskompileringsjobbet som identifieras av jobb-ID: t. 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)

Parametrar

operations
IDscCompilationJobOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på en Azure-resursgrupp.

automationAccountName
String

Namnet på Automation-kontot.

compilationJobName
String

DSC-konfigurations-ID: t.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för