[英]API URL suffix in API Management ARM Template
我沒有找到在 Azure APIM ARM 模板中指定或設置“API URL 后綴”的位置。 需要設置這個字段:
這是 JSON 的一部分。 有我可以使用的屬性嗎?
"resources": [
{
"type": "Microsoft.ApiManagement/service/apis",
"apiVersion": "2019-01-01",
"name": "[concat(parameters('apimName'), '/', parameters('apiName'))]",
"properties": {
"description": "Test Rating APIs",
"displayName": "Test Rating",
"serviceUrl": "[parameters('backEndServiceUrl')]",
"path": "[parameters('backEndServiceUrlPath')]",
"protocols": [
"https"
]
}
}
path
的屬性與API URL后綴有關。
相對 URL 唯一標識此 API 及其在 API 管理服務實例中的所有資源路徑。 It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
當我將helloworld
設置為Api url suffix
時,然后在 ARM 模板中,它顯示在path
中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.