简体   繁体   English

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

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

I am using Azure DevOps Pipeline to deploy ARM Templates for Alerts and Workbooks in Azure Monitoring.我正在使用 Azure DevOps 管道在 Azure 监控中部署 ARM 警报和工作簿模板。 The problem is, every time the pipeline is running, many resources are mentioned is Pipeline.问题是,每次管道运行时,很多资源都被提到是管道。 The status of them is 'ignored', so they are not getting changed, but they are mentioned every time.它们的状态是“被忽略”,因此它们不会被更改,但每次都会被提及。 I do not understand why they are mentioned and what if one day they will be changed, which will break the whole infrastructure?我不明白为什么要提到它们,如果有一天它们会被改变,这会破坏整个基础设施怎么办? I am using Subscription scope to deploy ARM Templates.我正在使用订阅 scope 来部署 ARM 模板。 This is how it looks like:这是它的样子:

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

Thank you!谢谢!

I am especially confused about mentioned diskEncryptionSets, sshPublicKeys and privateDnsZones.我对提到的 diskEncryptionSets、sshPublicKeys 和 privateDnsZones 特别困惑。 What does it have to do with Alerts and Workbooks?它与警报和工作簿有什么关系?

The ignored resources represent resources that are present within the scope of the deployment (in this case within the target subscription) but are not defined within the current ARM template.忽略的资源表示部署的 scope 中存在的资源(在本例中为目标订阅中),但未在当前 ARM 模板中定义。

See the manual page on what-if deployments for reference.请参阅有关假设部署的手册页以供参考。

Resource that are defined within the template but are in compliance with the template will show as NoChange .在模板定义但符合模板的资源将显示为NoChange

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure 管道发布管道:ARM 模板部署:资源组 scope 失败,错误代码:部署失败” - Azure pipeline Release pipeline: ARM Template deployment: Resource Group scope fails with ,,Error code: DeploymentFailed" 销毁ARM模板部署创建的资源 - Destroy resources created by ARM template deployment 在 Azure 中实际部署之前获取 Azure 部署模板中定义的资源列表 PowerShell - Get a list of resources defined in an Azure deployment template prior to actual deployment in Azure PowerShell 如何在 Azure Enterprise Scale Landing Zone deployment ARM 模板中添加除 corp 和 online 之外的新登陆区域? - How to add new landing zones in addition to corp and online in Azure Enterprise Scale Landing Zone deployment ARM template? AWS CDK 部署 - 资源排序 - AWS CDK Deployment - ordering of resources Azure 策略无效部署 - Azure Policy Invalid Deployment Azure 突触部署失败 - Azure synapse deployment failing Azure 媒体视频分析器 - ARM_ACCOUNT_MUST_BE_MANAGED_BY_ARM - Azure Video Analyzer for Media - ARM_ACCOUNT_MUST_BE_MANAGED_BY_ARM Azure DevOps IIS 部署失败 - Azure DevOps IIS Deployment failing ARM 文件中的标签在 Azure 门户中不可见 - Tags in ARM file not visible in Azure portal
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM