【发布时间】:2021-03-10 22:21:02
【问题描述】:
我有私有 DNS 区域 zone.private,它已经部署在资源组中,我正在尝试使用下面的 ARM 模板向它添加一条记录,但失败并显示 Status Message: Can not perform requested operation on nested resource. Parent resource 'zone.private' not found. (Code:ParentResourceNotFound)
我应该能够参考部署在同一资源组中的资源来部署嵌套资源,但无论出于何种原因它都失败了。我将另一个名为 zone.domain.com 的区域部署到同一个资源组,并且部署成功,没有任何问题。
{
"type": "Microsoft.Network/dnsZones/A",
"apiVersion": "2018-05-01",
"name": "[concat('zone.private', '/', 'webexport-lb')]",
"properties": {
"TTL": 3600,
"ARecords": [
{
"ipv4Address": "1.1.1.1"
}
]
}
},
【问题讨论】:
-
请问您是否已经创建了
zone.private区域?