@kain wei Apology for the delay. Unfortunately as of now, there is no CLI/ARM template that can help you to achieve the same functionality as the portal does for the "Create from Azure Resource" option. The portal does make multiple REST calls and internal logic to get the APIs from the App service and then call individual APIs to create the API and operation on your APIM instance. You can always take the F12/fiddler traces to know what is REST call that portal makes if you want to achieve the same functionality.
Feel free to create the feature request here and for CLI here if this is something you want to achieve using CLI/ARM template.
Azure cli/armtemplate create api managment api from azure resource, like: app service
kain wei
1
Reputation point
azure api management can create api from azure resource like a app service, I want to know how to use command line to do that.
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,446 questions
1 answer
Sort by: Most helpful
-
MayankBargali-MSFT 70,936 Reputation points Moderator
2022-03-28T12:19:38.347+00:00