Hello , Welcome to MS Q&A
If I understood right , I think to address the issue of the API Management service gateway being unavailable during deployments, you can consider implementing a multi-region deployment. This approach allows you to add regional API gateways to your existing API Management instance, which helps to reduce request latency and improve service availability.
In case a region goes offline, API requests can be automatically routed to the next closest gateway, ensuring that the API Management service remains operational. Additionally, during deployments, you can temporarily disable routing to a specific regional gateway by updating the gateway's disableGateway property to true, allowing you to configure and test the backend service without affecting the overall availability.
References:
- Deploy an Azure API Management instance to multiple Azure regions
- Ensure API Management availability and reliability
Please accept answer if it helps
Thanks
Deepanshu