镜像服务 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
123
{ "total_count": 36}
- action为filter时的响应示例
STATUS CODE 200
1 2 3 4 5 6 7 8 9101112131415161718192021222324252627282930313233343536373839404142434445464748
{ "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时的响应示例