Import Azure Function Slot to Api Management

Victor Goldaracena 5 Reputation points

Hey everyone! we have a couple of functions behind of an APIM. Everything works great but we want to take advantage of the Slots features.

We are thinking to use the slots for a development enrionment with specific settings just for the particular slot and use behind the APIM.

It is possible to import a slot into the APIM? and do you think it is a good practice to do it?

Thanks in advance

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,646 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,992 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Andrew Dello Stritto 80 Reputation points

    Yes, it is possible to import a slot into an Azure API Management (APIM) service. By doing so, you can take advantage of the slot-specific settings, such as custom configurations and different routing rules, in your development environment.

    To import a slot into an APIM service, you can use the Azure Portal, the Azure CLI, or the Azure PowerShell module. The process typically involves creating a new API in the APIM service and linking it to the slot of your Azure Functions app. Once the API is created, you can then configure the routing rules, policies, and other settings as needed.