我已经使用
导入了swagger文件resource "azurerm_api_management_api" "xxxapim" {
name = "xxxxx"
resource_group_name = "${azurerm_resource_group.xxxx.name}"
api_management_name = "${azurerm_api_management.xxx.name}"
revision = "1"
display_name = "xxx"
path = "rmi/v1"
protocols = ["https"]
service_url ="https://xxxx.azurewebsites.net/api"
import {
content_format = "swagger-link-json"
content_value = "https://xxxx.blob.core.windows.net/json/xxxx.json"
}
现在,我需要在APIM中设置入站处理策略。请让我知道是否可以使用Terraform或Powershell脚本
致谢
Jafer