Partilhar via


AutomationAccountResource.GetDscCompilationJobAsync Método

Definição

Recupere o trabalho de compilação de configuração do Dsc identificado pela ID do trabalho.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • Operação IdDscCompilationJob_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscCompilationJobResource>> GetDscCompilationJobAsync (string compilationJobName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDscCompilationJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscCompilationJobResource>>
override this.GetDscCompilationJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscCompilationJobResource>>
Public Overridable Function GetDscCompilationJobAsync (compilationJobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DscCompilationJobResource))

Parâmetros

compilationJobName
String

A ID de configuração de DSC.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

compilationJobName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

compilationJobName é nulo.

Aplica-se a