Azure / azure-cli

Azure Command-Line Interface
MIT License
4.02k stars 2.99k forks source link

Support `az containerapp stop` and `az containerapp start` #27433

Open maskati opened 1 year ago

maskati commented 1 year ago

Related command az containerapp

Is your feature request related to a problem? Please describe. Azure Container Apps REST API supports stopping and starting container apps. This same capability should be supported through Azure CLI.

Describe the solution you'd like Add support for az containerapp stop and az containerapp start mapping to the REST API.

Describe alternatives you've considered Use the REST API directly az rest -m post -u "/subscriptions/.../resourceGroups/.../providers/Microsoft.App/containerapps/.../stop?api-version=2023-05-01".

yonzhan commented 1 year ago

Thank you for opening this issue, we will look into it.

microsoft-github-policy-service[bot] commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @calvinsID.

rajeshkaremane commented 5 months ago

use the powershell https://learn.microsoft.com/en-us/powershell/module/az.app/start-azcontainerapp?view=azps-11.6.0