Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,993 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
Is there is a way to stop/disable a slot (staging) that has been created for a function app using Azure CLI / Powershell. There is a CLI command to delete the slot, but I'm looking for an option to stop/disable instead.
@n cloud To stop the slot using CLI you can refer to this section.
az functionapp stop --name MyFunctionApp --resource-group MyResourceGroup --slot yourslotname
To disable the function please refer to the disable function document.
Note: Your app is stopped but the App service plan charges still apply.