Azure Function App - Stop/disable Slot

n cloud 46 Reputation points
2021-07-22T14:48:25.627+00:00

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.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,993 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,451 Reputation points
    2021-07-23T02:42:17.82+00:00

    @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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.