Actions63
- Account Actions
- Auto-Scale Profile Actions
- Backup Actions
- Cost Estimator Actions
- Desktop Image Actions
- Group Actions
- Host Actions
- Host Pool Actions
- Job Actions
- Network Actions
- Recovery Vault Actions
- Reservation Actions
- Resource Group Actions
- Schedule Actions
- Scripted Action Actions
- Secure Variable Actions
- Storage Actions
- Test Actions
- User Actions
- User Session Actions
Desktop Image → Create
AI-generatedSummary
Creates a new desktop image from a specified source VM in the chosen account.
Inputs
- accountId (required) — The account to operate on. Choose from the list, or specify an ID using an expression.
- name (required) — The name of the desktop image.
- waitForCompletion — Whether to wait for the job to complete before returning. Defaults to true.
- maxWaitSeconds — Maximum time to wait for job completion in seconds. Defaults to 300.
- description — Description of the desktop image.
- sourceVmId — The ID of the source VM to create the image from.
Output shape
A single item containing the API response (often includes a job object).
If 'Wait for Completion' is true (default), the node polls for job status and returns the final job details.
Examples
Example 1: Create a desktop image named 'Dev-Image' from VM 'dev-vm-001' with a description.
Resource: Desktop Image, Operation: Create, Name: 'Dev-Image', Additional Fields: description='Dev Image', sourceVmId='dev-vm-001'
Example 2: Create a desktop image and continue immediately without waiting for the background job to finish.
Resource: Desktop Image, Operation: Create, Name: 'Quick-Image', Wait for Completion: false