> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/run-the-platform/zh/xi-tong-guan-li/tags.md).

# 标签

## 概述

VergeOS 标记系统是一个灵活的标签引擎，可让管理员使用自定义标签对系统对象进行分类。这些标签按用户定义的类别组织，便于在管理活动中高效地对资产进行索引、识别和选择。

组织可以根据自身的具体运营需求定制标签。不同环境中的标签类别和单个标签可能差异很大。

### 示例用例

* 按已安装的操作系统为虚拟机（VM）添加标签
* 按已安装的应用程序为虚拟机添加标签
* 按环境为虚拟机添加标签（例如，生产与测试）
* 按支持级别为租户添加标签
* 按时区为租户添加标签

***

## 类别

一个 **类别** 定义一种标签类别或类型。管理员配置类别以指定：

* 标签可分配给哪些对象类型
* 该类别是否支持每个对象选择单个或多个标签

### 示例类别

| 类别   | 可分配给    | 选择类型 | 示例标签                                 |
| ---- | ------- | ---- | ------------------------------------ |
| 操作系统 | 虚拟机     | 单选   | `Windows 11`, `Debian`               |
| 应用程序 | 虚拟机     | 多选   | `SQL Server`, `Apache`, `Salesforce` |
| 时区   | 租户、租户节点 | 单选   | `UTC-5`, `UTC+1`, `亚洲/东京`            |

管理员可以创建任意数量的类别，以适应其组织结构和工作流。

***

## 创建新的标签类别

1. 导航到 **系统** > **标签**.
2. 单击 **新建** 左侧菜单中的。
3. 输入一个描述性的 **名称** 用于该类别。
4. 可选地，添加一个 **描述**.
5. 配置 **单标签选择**：如果启用，则此类别中的标签一次只能分配一个到对象。例如，您可能希望某个 VM 仅有一个“操作系统”标签。
6. 切换 **支持的类型** 以启用对特定对象类型的标签功能。

{% hint style="success" %}
**默认情况下所有类型均为禁用。单击可在禁用/启用之间切换（启用 = 按钮在右侧）。**
{% endhint %}

7. 单击 **提交** 以保存该类别。

## 创建新的标签

{% hint style="success" %}
**标签必须属于现有类别。**
{% endhint %}

1. 导航到 **系统** > **标签**.
2. **双击所需类别** ，从列表中。
3. 单击 **新建** 左侧菜单中的。
4. 输入一个描述性的 **名称** 为该标签。
5. 可选地，添加一个 **描述**.
6. 单击 **提交** 以保存该标签。

## 将标签分配给对象

可从列表视图、对象仪表板或系统菜单中分配标签。

要从列表视图分配标签：

1. 导航到对象列表（例如， *虚拟机* > *列表*, *NAS* > *卷*，等等）
2. **选择** 所需的 **对象**.
3. 单击 **分配标签** 左侧菜单中的。
4. **从可用列表中** 选择所需的标签。

{% hint style="success" %}
**使用&#x20;*****搜索*****&#x20;选项可在大量标签中快速定位。**
{% endhint %}

5. 单击 **分配**.

## 查看、添加或删除对象上的标签

要从对象的仪表板管理标签：

1. 导航到对象仪表板（例如，要选择特定 VM： *虚拟机* > *列表*，然后双击该 VM）。
2. 滚动到 **标签** 部分。

### 操作：

* **删除标签：** 单击 **“x”** 位于标签右侧。
* **添加标签：** 单击 **“+ 分配标签”** 按钮。

***

## 最佳实践

* 使用 **描述性名称** 用于类别和标签，以确保清晰和一致性。
* 使标签结构与操作流程和报告需求保持一致。
* 定期检查标签使用情况，以保持相关性并避免混乱。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.verge.io/run-the-platform/zh/xi-tong-guan-li/tags.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
