什么是“隐藏链接:"? Azure资源管理器标签中的均值 [英] What does "hidden-link:" mean in Azure Resource Manager Tags

查看:93
本文介绍了什么是“隐藏链接:"? Azure资源管理器标签中的均值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从Azure上的资源组中导出了一个Azure Resource Manager JSON模板.我在生成的文件中看到一堆标签,例如:

I exported an Azure Resource Manager JSON template from my resource group on Azure. I see a bunch of tags in the generated file like:

"tags": {
    "hidden-link:/subscriptions/[my-subscription-id-here]/resourceGroups/[my-resource-group]/providers/Microsoft.Sql/servers/[my-database-server-name]/databases/[my-database-name]": "Resource"
},

我唯一可以找到的文档是来自使用标签来组织您的Azure资源,它表示:

The only documentation I can find on it is from Using tags to organize your Azure resources, which says:

您可能会看到以"hidden-"和"link:"开头的标签.这些是内部标签,您应该忽略这些标签,并避免对其进行更改.

You may see tags that start with "hidden-" and "link:". These are internal tags, which you should ignore and avoid changing.

问题是,我将把这个资源模板部署到一个与ID硬编码到标签中的订阅完全不同的订阅中.硬编码的订阅ID在此标签中的任何含义都将丢失.我可以安全地删除此标签吗?这是什么意思?部署后如何使用?

The problem is that I'm going to be deploying this resource template to a completely different subscription than the one whose ID is hard-coded into the tag. Any meaning that the hard-coded subscription id has in this tag will be lost. Can I safely remove this tag? What does it mean, and how is it used once deployed?

推荐答案

这些标签用于关联相关资源.它们用于填充链接资源"部分.删除标签将阻止资源显示为链接资源,但不会影响任何功能.

These tags are used to associate related resources. They are used to populate the Linked Resources section. Removing the tags will prevent resources from displaying as Linked Resources but will not impact any functionality.

这篇关于什么是“隐藏链接:"? Azure资源管理器标签中的均值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆