清单

系统标签清单(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"
    }
  ]
}

用户标签清单(UserTag inventory)

名字 描述 可选的 可选的参数值 起始支持版本
uuid 请参见资源结构 0.6
createDate 请参见资源结构 0.6
lastOpDate 请参见资源结构 0.6
resourceUuid 用户指定的资源UUID,若指定,系统不会为该资源随机分配UUID 0.6
resourceType 当创建一个标签时, 用户必须指定标签所关联的资源类型(resource type) 0.6
tag 标签字符串 0.6
type 保留域, 请不要使用它 0.6
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 0.6
systemTags 系统标签, 请参见 创建系统标签(CreateSystemTag) 0.6
userTags 用户标签, 请参见 创建用户标签(CreateUserTag) 0.6
示例
{
  "inventories": [
    {
      "uuid": "ae4f2dd05a513e1e8d350d448c2071a9",
      "resourceType": "DiskOfferingVO",
      "tag": "for-large-DB",
      "type": "User",
      "createDate": "Nov 14, 2017 10:20:57 PM",
      "lastOpDate": "Nov 14, 2017 10:20:57 PM"
    }
  ]
}