HybridRunbookWorkerResource.MoveAsync Method

Definition

Move a hybrid worker to a different group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}/move
  • Operation Id: HybridRunbookWorkers_Move
public virtual System.Threading.Tasks.Task<Azure.Response> MoveAsync (Azure.ResourceManager.Automation.Models.HybridRunbookWorkerMoveContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member MoveAsync : Azure.ResourceManager.Automation.Models.HybridRunbookWorkerMoveContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.MoveAsync : Azure.ResourceManager.Automation.Models.HybridRunbookWorkerMoveContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function MoveAsync (content As HybridRunbookWorkerMoveContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

content
HybridRunbookWorkerMoveContent

The hybrid runbook worker move parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to