I would like to have the steps for stopping the azure APIM service using CLI or PS1.
As of my knowledge I don't think we have any option in portal to perform these operations(stop/start/restart).
I would like to have the steps for stopping the azure APIM service using CLI or PS1.
As of my knowledge I don't think we have any option in portal to perform these operations(stop/start/restart).
APIM is an Azure service. You don't start/stop/restart it. It just runs in the background as needed. This isn't a Windows service or REST API but a product, potentially scaled on demand. The only thing you can do with APIM is add/update/remove APIs/users/products to it. There are no other management options needed.
Why do you need to be able to stop/start it? Note that you're paying for the resource itself so whether it is running or not (as you might define by a service) is irrelevant. So if you think you're going to save money by "stopping" the service, you won't.
Hello @MadalaHanumantharao-5095, Thanks for posting the question. As @cooldadtx explained, I am afraid it couldn't be done. As long as service is up it would incur the cost irrespective of API(s) being used or not.
If the cost is the concern here, you may consider consumption or developer instances.
Here are the pricing and feature details for your reference:
https://azure.microsoft.com/en-in/pricing/details/api-management/
https://docs.microsoft.com/en-us/azure/api-management/api-management-features
Please let me know if the answer helps. If yes, please "Accept the answer" and "Up-vote" so that it helps others in the community.
8 people are following this question.