API URL 后缀 API 管理 ARM 模板
API URL suffix in API Management ARM Template
我找不到在 Azure APIM ARM 模板中指定或设置 "API URL suffix" 的位置。需要设置这个字段:
这里是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
的属性与APIURL后缀有关。
Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. 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
。
我找不到在 Azure APIM ARM 模板中指定或设置 "API URL suffix" 的位置。需要设置这个字段:
这里是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
的属性与APIURL后缀有关。
Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. 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
。