/// <summary>
 /// Move a hybrid worker to a different group.
 /// <see href="http://aka.ms/azureautomationsdk/hybridrunbookworkeroperations" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of an Azure Resource group.
 /// </param>
 /// <param name='automationAccountName'>
 /// The name of the automation account.
 /// </param>
 /// <param name='hybridRunbookWorkerGroupName'>
 /// The hybrid runbook worker group name
 /// </param>
 /// <param name='hybridRunbookWorkerId'>
 /// The hybrid runbook worker id
 /// </param>
 /// <param name='hybridRunbookWorkerMoveParameters'>
 /// The hybrid runbook worker move parameters
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task MoveAsync(this IHybridRunbookWorkersOperations operations, string resourceGroupName, string automationAccountName, string hybridRunbookWorkerGroupName, string hybridRunbookWorkerId, HybridRunbookWorkerMoveParameters hybridRunbookWorkerMoveParameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.MoveWithHttpMessagesAsync(resourceGroupName, automationAccountName, hybridRunbookWorkerGroupName, hybridRunbookWorkerId, hybridRunbookWorkerMoveParameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Move a hybrid worker to a different group.
 /// <see href="http://aka.ms/azureautomationsdk/hybridrunbookworkeroperations" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of an Azure Resource group.
 /// </param>
 /// <param name='automationAccountName'>
 /// The name of the automation account.
 /// </param>
 /// <param name='hybridRunbookWorkerGroupName'>
 /// The hybrid runbook worker group name
 /// </param>
 /// <param name='hybridRunbookWorkerId'>
 /// The hybrid runbook worker id
 /// </param>
 /// <param name='hybridRunbookWorkerMoveParameters'>
 /// The hybrid runbook worker move parameters
 /// </param>
 public static void Move(this IHybridRunbookWorkersOperations operations, string resourceGroupName, string automationAccountName, string hybridRunbookWorkerGroupName, string hybridRunbookWorkerId, HybridRunbookWorkerMoveParameters hybridRunbookWorkerMoveParameters)
 {
     operations.MoveAsync(resourceGroupName, automationAccountName, hybridRunbookWorkerGroupName, hybridRunbookWorkerId, hybridRunbookWorkerMoveParameters).GetAwaiter().GetResult();
 }