ARM部署提到了Azure资源的大范围



我正在使用Azure DevOps Pipeline在Azure监控中部署警报和工作簿的ARM模板。问题是,每次管道运行时,都会提到许多资源是pipeline。他们的状态是"忽略",所以他们没有被改变,但他们每次都被提到。我不明白为什么要提到它们,如果有一天它们会被改变,那会破坏整个基础设施怎么办?我使用订阅范围来部署ARM模板。它看起来是这样的:

Resource and property changes are indicated with these symbols:
= Nochange
* Ignore
The deployment will update the following scope:
Scope: /subscriptions/***/resourceGroups/***
= microsoft.insights/metricalerts/***
* Microsoft.Compute/diskEncryptionSets/***
* Microsoft.Compute/sshPublicKeys/***
* Microsoft.ContainerService/managedClusters/***
* Microsoft.Insights/scheduledqueryrules/***
* Microsoft.ManagedIdentity/userAssignedIdentities/***
* Microsoft.Network/privateDnsZones/***
* Microsoft.Network/privateDnsZones/***/virtualNetworkLinks/***
* Microsoft.Network/privateDnsZones/***/virtualNetworkLinks/***
* Microsoft.OperationalInsights/workspaces/***
* Microsoft.OperationsManagement/solutions/ContainerInsights(***)
* microsoft.insights/metricalerts/***
...
* microsoft.insights/scheduledqueryrules/***
* microsoft.insights/scheduledqueryrules/***
* microsoft.insights/workbooks/***
* microsoft.insights/workbooks/***
Resource changes: 1 no change, 21 to ignore.
Finishing: ARM deployment plan

谢谢!

我特别困惑提到diskEncryptionSets, sshPublicKeys和privateDnsZones。它与提醒和工作簿有什么关系?

忽略的资源表示存在于部署范围内(在本例中是在目标订阅范围内)但未在当前ARM模板中定义的资源。

请参考手册中的what-if部署。

在模板中定义但符合模板的资源将显示为NoChange

相关内容

  • 没有找到相关文章

最新更新