Compartilhar via


HybridRunbookWorkerCollection.GetAsync(String, CancellationToken) Método

Definição

Recuperar um runbook worker híbrido.

  • 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>> GetAsync (string hybridRunbookWorkerId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.HybridRunbookWorkerResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.HybridRunbookWorkerResource>>
Public Overridable Function GetAsync (hybridRunbookWorkerId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridRunbookWorkerResource))

Parâmetros

hybridRunbookWorkerId
String

A ID de trabalho do runbook híbrido.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

hybridRunbookWorkerId é nulo.

Aplica-se a