Hi @Anonymous
The error message indicates that there are specific conditions and requirements that need to be met when updating the image version in a Virtual Machine Scale Set (VMSS). Let me break down the error message for you:
Image Version Compatibility: When updating the image version in a VMSS, the new image version must have the same number of data disks and Logical Unit Numbers (LUNs) as the old image version. This means that the disk configuration (including disk count and arrangement) must remain consistent between the old and new image versions.
Operating System Compatibility: The new image version must have the same operating system type as the old image version. This is important to ensure that the software and configurations within the VMSS are compatible with the new image version.
Plan Information: If the VMSS deployment relies on specific plan information (such as licensing or subscription details), only the version part of the gallery image reference can be updated. This means you can change the image version while keeping the other plan-related information intact.
In summary, when updating the image version of a Gallery image reference in a Virtual Machine Scale Set, you need to ensure that the new image version:
- It has the same number of data disks and LUNs as the old image version.
- It has the same operating system type as the old image version.
- If there is plan information required for deployment, only the version part of the gallery image reference can be updated.
If you're facing difficulties with this update process, you might want to review your new image version's specifications and configurations to ensure they adhere to these requirements. If needed, consult Azure technical support for more detailed guidance on updating VMSS image references.
If this does answer your question, please accept it as the answer as a token of appreciation.