Nerdio icon

Nerdio

Manage Azure Virtual Desktop and Windows 365 with Nerdio Manager for MSP

Actions63

Host → Restart

AI-generated

Summary

Initiates a restart for a specific Azure Virtual Desktop host.

Inputs

  • accountId (required) — The account to operate on. Choose from the list, or specify an ID using an expression.
  • hostId (required) — The host to operate on. Choose from the list, or specify an ID using an expression.
  • waitForCompletion — Whether to wait for the job to complete before returning (default: true).
  • maxWaitSeconds — Maximum time to wait for job completion (default: 300).

Output shape

An item containing the API response. If waitForCompletion is true, the response includes the completed job details.

The operation returns immediately with a job ID if waitForCompletion is false. If true, it polls the job status until Completed, Succeeded, Failed, or Cancelled, or until the maxWaitSeconds limit is reached.

Examples

Example 1: Restart a host and wait for completion

Select 'Host' resource, 'Restart' operation. Choose an Account and a Host from the dropdowns. Leave 'Wait for Completion' as default.

Example 2: Restart a host and continue workflow immediately

Select 'Host' resource, 'Restart' operation. Choose an Account and a Host from the dropdowns. Uncheck 'Wait for Completion' to return immediately with a job ID.

Links

Discussion