Partager via


HybridRunbookWorkerGroupResource.GetHybridRunbookWorkerAsync Méthode

Définition

Récupérer un Runbook Worker hybride.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkerId}
  • IdHybridRunbookWorkers_Get d’opération
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))

Paramètres

hybridRunbookWorkerId
String

ID de runbook worker hybride.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

hybridRunbookWorkerId est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

hybridRunbookWorkerId a la valeur null.

S’applique à