Publish Master Image version

Dispatches a background job that clones the Master VM into a temporary publish VM,
runs AVD Agent Update and optional SXS Stack Update, runs sysprep, captures an ACG Image Version,
then cleans up the temporary publish VM. The Master VM must be in Ready status and stopped (deallocated).

Path Params
uuid
required

The Master Image identifier

Body Params

Publish parameters (version, target regions, SXS toggle)

Request DTO for publishing a Master Image (sysprep + capture to ACG).

string
required
length ≥ 1
^\d+\.\d+\.\d+$

Semantic version for the new image version (e.g., "1.0.0").
Must follow major.minor.patch format.

boolean
Defaults to true

Whether to run the AVD Agent Update script before sysprep.
When true, stops AVD services, clears registry keys, and removes blocking AppX packages.
Defaults to true when omitted.

boolean
Defaults to false

Whether to run the SXS Stack Update script before sysprep.
Defaults to false when omitted.

targetRegions
array of strings
required
length ≥ 1

Target Azure regions for image version replication.
At least one region must be specified.

targetRegions*
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json