如何查看服务模板引用的属性?

问题描述 投票:0回答:1

我们正在使用具有以下内容的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/,但是我想进入该值的来源。

azure azure-devops arm-template
1个回答
0
投票

Microsoft.ApiManagement/service资源类型,而uat1api资源名称(在您的情况下,在API Management Service中)。

属性特定于每种资源类型,并在template reference中定义(以下链接用于API Management Service)。

[另一个重要资源是Azure resource explorer。并非所有属性都记录在模板参考中,而资源浏览器似乎提供了每种资源上可用属性的更准确的可见性。

Microsoft.ApiManagement service template reference

Azure Resource Explorer

© www.soinside.com 2019 - 2024. All rights reserved.