I use this template, https://learn.microsoft.com/en-us/azure/templates/microsoft.apimanagement/2019-01-01/service#ApiManagementServiceSkuProperties, and this scrpit,
az group deployment create -g MyResourceGroup --template-file blank-api.json
to get a "blank-apim". But how can import/add an api to this apim? I can not use the portal and i have to script evrything?
It is available now. See Api Reference.
{
"properties": {
"format": "swagger-link-json",
"value": "http://petstore.swagger.io/v2/swagger.json",
"path": "petstore"
}
}