> Host group object主机组对象
The following objects are directly related to the hostgroup
API.以下对象与“主机组”API直接相关。
Host group主机组
The host group object has the following properties.主机组对象具有以下属性。
属性 | 类型 | 说明 |
---|---|---|
groupid | string | (readonly) ID of the host group.主机组的ID |
name(required) | string | Name of the host group. 主机组的名称 |
flags | integer | (readonly) Origin of the host group. 主机组的来源。Possible values: 可能的值0 - a plain host group;一个普通的主机组 4 - a discovered host group. 被发现的主机组。 |
internal | integer | (readonly) Whether the group is used internally by the system. An internal group cannot be deleted. 该组是否由系统内部使用。无法删除内部组。Possible values: 可能的额值:0 - (default默认) not internal;不是内部的 1 - internal.内部的 |