我正在使用Azure DevOps Pipeline为Azure Monitoring中的警报和工作簿部署ARM模板。问题是,每次管道运行时,都会提到许多资源。它们的状态为"已忽略",因此不会更改,但每次都会提到它们。我不明白为什么会提到它们,如果有一天它们会更改,这将破坏整个基础设施?我正在使用订阅范围来部署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。它与警报和工作簿有什么关系?
1条答案
按热度按时间ecfsfe2w1#
请参见假设部署手册页以获取参考。
在模板中 * 定义 * 但符合模板的资源将显示为 NoChange。