清单
系统标签清单(SystemTag inventory)
名字 | 描述 | 可选的 | 可选的参数值 | 起始支持版本 |
---|---|---|---|---|
uuid | 请参见资源结构 | 0.6 | ||
createDate | 请参见资源结构 | 0.6 | ||
lastOpDate | 请参见资源结构 | 0.6 | ||
resourceUuid | 资源uuid | 0.6 | ||
resourceType | 资源类型 | 0.6 | ||
tag | 标签字符串 | 0.6 | ||
type | 保留域 | 0.6 | ||
groupBy | 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type | 是 | 1.9 | |
systemTags | 系统标签, 请参见 创建系统标签(CreateSystemTag) | 是 | 0.6 | |
userTags | 用户标签, 请参见 创建用户标签(CreateUserTag) | 是 | 0.6 |
资源标签清单(Tag inventory)
名字 | 描述 | 可选的 | 可选的参数值 | 起始支持版本 |
---|---|---|---|---|
uuid | 请参见资源结构 | 3.2.0 | ||
createDate | 请参见资源结构 | 3.2.0 | ||
lastOpDate | 请参见资源结构 | 3.2.0 | ||
value | 3.2.0 | |||
description | 资源的详细描述 | 3.2.0 | ||
color | 3.2.0 | |||
type | 保留域 | 3.2.0 | ||
groupBy | 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type | 是 | 3.2.0 | |
systemTags | 系统标签, 请参见 创建系统标签(CreateSystemTag) | 是 | 3.2.0 | |
userTags | 用户标签, 请参见 创建用户标签(CreateUserTag) | 是 | 3.2.0 |
示例
{
"inventories": [
{
"uuid": "f7ac675964d0386b89d8df713f68aee0",
"name": "SSD",
"value": "SSD",
"description": "SSD volume",
"color": "#FFFFFF",
"type": "simple",
"createDate": "Nov 14, 2017 10:20:57 PM",
"lastOpDate": "Nov 14, 2017 10:20:57 PM"
}
]
}