我们正在使用具有以下内容的ARM json模板:
"outputs": {
"gatewayurl": {
"type": "string",
"value": "[reference('Microsoft.ApiManagement/service/uat1api'), '2018-01-01', 'Full').properties.gatewayUrl]"
}
Microsoft.ApiManagement/service/uat1api
到底是什么?如何进入Microsoft.ApiManagement/service/uat1api
并查看properties
?
我可以看到该值最终为https://uat1api.azure-api.net/,但是我想进入该值的来源。
Microsoft.ApiManagement/service
是资源类型,而uat1api
是资源名称(在您的情况下,在API Management Service中)。
属性特定于每种资源类型,并在template reference
中定义(以下链接用于API Management Service)。
[另一个重要资源是Azure resource explorer
。并非所有属性都记录在模板参考中,而资源浏览器似乎提供了每种资源上可用属性的更准确的可见性。