Partilhar via


AutomationJobResource.GetAsync(String, CancellationToken) Método

Definição

Recupere o trabalho identificado pelo nome do trabalho.

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

Parâmetros

clientRequestId
String

Identifica essa solicitação de cliente específica.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a