Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
The Basic and Standard plans entered a retirement period on March 17, 2025. For more information, see the Azure Spring Apps retirement announcement.
This article describes breaking changes introduced into the Azure Spring Apps API.
The Azure Spring Apps service releases the new stable API version 2022-04-01. The new API version introduces breaking changes based on the previous stable API version 2020-07-01. We suggest that you update your API calls to the new API version.
Previous API deprecation date
The previous API version 2020-07-01 will not be supported starting April, 2025.
API breaking changes from 2020-07-01 to 2022-04-01
Deprecate number value CPU and MemoryInGB in Deployments
Deprecate field properties.deploymentSettings.cpu and properties.deploymentSettings.memoryInGB in the Spring/Apps/Deployments resource. Use properties.deploymentSettings.resourceRequests.cpu and properties.deploymentSettings.resourceRequests.memory instead.
RBAC role change for blue-green deployment
Deprecate field properties.activeDeploymentName in the Spring/Apps resource. Use POST/SUBSCRIPTIONS/RESOURCEGROUPS/PROVIDERS/MICROSOFT.APPPLATFORM/SPRING/APPS/SETACTIVEDEPLOYMENTS for blue-green deployment. This action needs a separate RBAC role spring/apps/setActiveDeployments/action to perform.
Move options from different property bags for the Spring/Apps/Deployments resource
- Deprecate
properties.createdTime. UsesystemData.createdAt. - Deprecate
properties.deploymentSettings.jvmOptions. Useproperties.source.jvmOptions. - Deprecate
properties.deploymentSettings.jvmOptions. Useproperties.source.runtimeVersion. - Deprecate
properties.deploymentSettings.netCoreMainEntryPath. Useproperties.source.netCoreMainEntryPath. - Deprecate
properties.appName, which you can extract fromid.
Updates in the Azure CLI extension
Add new RBAC role for blue-green deployment
You need to add RBAC role spring/apps/setActiveDeployments/action to perform the following Azure CLI commands:
az spring app set-deployment \
--resource-group <resource-group-name> \
--service <service-instance-name> \
--name <app-name> \
--deployment <deployment-name>
az spring app unset-deployment \
--resource-group <resource-group-name> \
--service <service-instance-name> \
--name <app-name>
Output updates
If you're using the Azure CLI spring-cloud extension with a version lower than 3.0.0, and you want to upgrade the extension version or migrate to the spring extension, then you should take care of the following output updates.
az spring appcommand output: Removeproperties.activeDeploymentName. Useproperties.activeDeployment.nameinstead.az spring appcommand output: Removeproperties.createdTime. UsesystemData.createdAtinstead.az spring appcommand output: Removeproperties.activeDeployment.properties.deploymentSettings.cpu. Useproperties.activeDeployment.properties.deploymentSettings.resourceRequests.cpuinstead.az spring appcommand output: Removeproperties.activeDeployment.properties.deploymentSettings.memoryInGB. Useproperties.activeDeployment.properties.deploymentSettings.resourceRequests.memoryinstead.az spring appcommand output: Removeproperties.activeDeployment.properties.deploymentSettings.jvmOptions. Useproperties.activeDeployment.properties.source.jvmOptionsinstead.az spring appcommand output: Removeproperties.activeDeployment.properties.deploymentSettings.runtimeVersion. Useproperties.activeDeployment.properties.source.runtimeVersioninstead.az spring appcommand output: Removeproperties.activeDeployment.properties.deploymentSettings.netCoreMainEntryPath. Useproperties.activeDeployment.properties.source.netCoreMainEntryPathinstead.