Azure / azure-cli

Azure Command-Line Interface
MIT License
4.03k stars 3k forks source link

Implement Powershell commands Start-AzSpringCloudAppDeployment and Stop-AzSpringCloudAppDeployment #25643

Open thuneby opened 1 year ago

thuneby commented 1 year ago

Related command Powershell Start-AzSpringCloudAppDeployment and Stop-AzSpringCloudAppDeployment

Is your feature request related to a problem? Please describe. The current AZ CLI only allows you to delete a spring app deployment, rather than stopping it, but when one uses Infrastructure as Code, it is likely to conflict with the terraform state, resulting in clashes between app deployment and infrastructure deployment.

Describe the solution you'd like Migarte the two PS commands

Describe alternatives you've considered Although it is possible to mix and match AZ cli and PS, one receives warnings when doing so:


Code:


Execution: Running Az PowerShell Script /usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command /home/runner/work/_temp/5e0cea5d-5a0a-4b45-800a-409f5d312cb0.ps1 WARNING: Start-AzSpringCloudAppDeployment_Start is not found. The most similar Azure PowerShell commands are: Start-AzSpringCloudAppDeployment Start-AzSpringCloudAppDeploymentJfr WARNING: The intelligent recommendation feature is in preview. Help us improve it by sharing your experience: https://go.microsoft.com/fwlink/?linkid=2202[43](https://github.com/almbrand/spring-archetype-testenv1/actions/runs/4303445141/jobs/7503206415#step:11:44)6 Start-AzSpringCloudAppDeployment_Start: /home/runner/work/_temp/5e0cea5d-5a0a-4b45-800a-409f5d312cb0.ps1:2 Line | 2 | Start-AzSpringCloudAppDeployment -AppName spring-archetype-testenv1-p … | ~~~~~~~~~~~~~~~~~ | 112404: Exit code 1: application error, please refer to | https://aka.ms/exitcode

Script execution Complete


Additional context image

ghost commented 1 year ago

Thank you for your feedback. This has been routed to the support team for assistance.

yonzhan commented 1 year ago

route to CXP team