Provide AEM version in cloud manager environment data
Is your feature request related to a problem? Please describe.
In AEM as a Cloud Service pipelines are automatically triggered to update the underlying AEM, but the version an environment is currently using / going to be updated to is only available in the Cloud Manager UI. Since the version is displayed on several Cloud Manager screens, this information must be available somewhere and should be made accessible.
Describe the solution you'd like
It would be nice if the aem version could be added to the environment data (https://developer.adobe.com/experience-cloud/cloud-manager/reference/api/#tag/Environments/operation/getEnvironment) and/or returned by the cli. It can also be added as detail to buildImage step of a PipelineExecution (https://developer.adobe.com/experience-cloud/cloud-manager/reference/api/#tag/Pipeline-Execution/operation/stepState). The deploy step details contains information about environmentUrls and deploymentStepDescription, and something similar could be added to the buildImage step.
Describe alternatives you've considered I don't have any alternatives in mind.
Additional context
Since it would be available via api only, the version should return the full version including the -240600 suffix, e.g. 2024.6.16799.20240614T073455Z-240600 instead of just 2024.6.16799.20240614T073455Z
👍