Compartilhar via


HybridRunbookWorkerGroupResource.GetHybridRunbookWorkerAsync Método

Definição

Recuperar um hybrid runbook worker.

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

Parâmetros

hybridRunbookWorkerId
String

A ID do hybrid runbook Worker.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

hybridRunbookWorkerId é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

hybridRunbookWorkerId é nulo.

Aplica-se a