簡體   English   中英

Azure 資源的大 scope 被 ARM 部署提及

[英]Big scope of Azure Resources is mentioned by ARM deployment

我正在使用 Azure DevOps 管道在 Azure 監控中部署 ARM 警報和工作簿模板。 問題是,每次管道運行時,很多資源都被提到是管道。 它們的狀態是“被忽略”,因此它們不會被更改,但每次都會被提及。 我不明白為什么要提到它們,如果有一天它們會被改變,這會破壞整個基礎設施怎么辦? 我正在使用訂閱 scope 來部署 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 特別困惑。 它與警報和工作簿有什么關系?

忽略的資源表示部署的 scope 中存在的資源(在本例中為目標訂閱中),但未在當前 ARM 模板中定義。

請參閱有關假設部署的手冊頁以供參考。

在模板定義但符合模板的資源將顯示為NoChange

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM