镜像服务 IMS-按标签查询镜像:响应消息
响应消息
- 响应参数
参数
参数类型
描述
resources
Array of resource objects
镜像信息列表
total_count
Integer
总记录数
表7 resource字段数据结构说明 参数
参数类型
描述
resource_id
String
镜像ID
resource_detail
ResourceDetail object
镜像详情
tags
Array of Tags objects
镜像的标签列表
resource_name
String
镜像名称
- 响应样例
- action为count时的响应示例
STATUS CODE 200
1 2 3
{ "total_count": 36 }
- action为filter时的响应示例
STATUS CODE 200
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
{ "total_count": 36, "resources": [{ "resource_name": "test10002", "resource_detail": {"status": "active"}, "tags": [{ "value": "value4", "key": "key4" }, { "value": "valueXX", "key": "key3" }, { "value": "value2", "key": "key2" }, { "value": "value5", "key": "key5" }, { "value": "value8", "key": "key8" }, { "value": "valueXX", "key": "key6" }, { "value": "valueXX", "key": "key0" }, { "value": "value1", "key": "key1" }, { "value": "value7", "key": "key7" }, { "value": "valueXX", "key": "key9" }], "resource_id": "8693187d-1590-4f9f-ae34-eb9e3037cf68" }] }
- action为count时的响应示例