查询指定业务的实例列表信息(如指定实例 ID,则仅查询指定实例的信息;如不指定实例 ID,则查询业务的所有实例)。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
| 参数 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| Action | String | 是 | ListPod | 接口名称。当前 API 的名称为 ListPod。 |
| Version | String | 是 | 2022-08-01 | 接口版本。当前 API 的版本为 2022-08-01。 |
| product_id | String | 是 | 163571455047xxxx | 实例所属业务 ID。可在「云手机控制台-业务管理-业务详情」中获取。 |
| pod_id | String | 否 | 163571455047xxxx | 筛选条件,实例 ID。可通过调用 ListPod 接口获取。 |
| pod_id_list | Array of String | 否 | 7330243741xxx,733024374xxxx | 筛选条件,实例 ID 列表。多个 ID 以英文逗号 , 分隔。 |
configuration_code_list | Array of String | 否 |
| 筛选条件,套餐 ID 列表。可选项为:
|
region_list | Array of String | 否 |
| 筛选条件,地区 ID 列表。可选项为:
|
online_list | Array of String | 否 |
| 筛选条件,实例运行状态列表。多个状态值以英文逗号
|
stream_status_list | Array of String | 否 |
| 筛选条件,实例推流状态列表。多个状态值以英文逗号
|
| tag_id_list | String | 否 | 7836293xxxxx,7973528231xxxx | 筛选条件,标签 ID 列表。可通过调用 ListTag 接口获取。 |
| dc_list | String | 否 | gdsz-xxxxx,gdsz-xxxxxx | 筛选条件,机房 ID 列表。多个机房 ID 列表以英文逗号 , 分隔。可通过调用 ListDc 接口获取。 |
| zone_id | String | 否 | gdsz-ctcucm-01 | 筛选条件,区域 ID 列表。可通过调用 ListDc 接口获取,也就是返回的 zone 参数。 |
| offset | Integer | 否 | 0 | 分页偏移量。 |
| count | Integer | 否 | 10 | 单页数量。 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
| 参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| total | Integer | 5 | 查询结果总量。 |
| row | Array of Row | - | 查询到的实例信息列表,详细信息,参考 Pod 定义。 |
GET https://open.volcengineapi.com?Action=ListPod&Version=2022-08-01&product_id=163571455047xxxx&pod_id=163575047xxxx
{ "ResponseMetadata": { "Action": "ListPod", "Region": "cn-north-1", "RequestId": "2024020211201***40E94DED4A20B5", "Service": "ACEP", "Version": "2022-08-01" }, "Result": { "row": [ { "product_id": "174310***490040832", "pod_id": "7330195***6121014", "pod_name": "旗舰型", "image_id": "img-71848194", "image_name": "paas平台公共镜像AOSP10(2024-01-18)", "tag": { "tag_id": "", "tag_name": "", "pod_num": 0, "product_id": "", "tag_desc": "" }, "dc_info": { "dc": "gdsz-ctcucm-01-xxxx", "dc_name": "广东深圳三线01", "region": "cn-south", "isp": 7 }, "configuration": { "configuration_code": "ultimate", "configuration_name": "旗舰型", "configuration_type": 1 }, "data_size": "16Gi", "data_size_used": "0.621Gi", "display_layout_id": "single-display-portrait", "display_status": {}, "adb": "", "adb_status": 0, "adb_expire_time": 0, "online": 2, "intranet_ip": "", "stream_status": 2, "up_bandwidth_limit": 0, "down_bandwidth_limit": 0, "aosp_version": "10", "create_at": 1706694221, "authority_expire_time": 0, "authority_status": 1 }, { "product_id": "1743101***90040832", "pod_id": "733016919***092553", "pod_name": "加强型", "image_id": "img-71848194", "image_name": "paas平台公共镜像AOSP10(2024-01-18)", "tag": { "tag_id": "", "tag_name": "", "pod_num": 0, "product_id": "", "tag_desc": "" }, "dc_info": { "dc": "gdsz-ctcucm-01-xxx", "dc_name": "广东深圳三线01", "region": "cn-south", "isp": 7 }, "configuration": { "configuration_code": "elementary", "configuration_name": "低配型", "configuration_type": 1 }, "data_size": "16Gi", "data_size_used": "0.000Gi", "display_layout_id": "single-display-portrait", "display_status": {}, "adb": "", "adb_status": 0, "adb_expire_time": 0, "online": 2, "intranet_ip": "", "stream_status": 0, "up_bandwidth_limit": 0, "down_bandwidth_limit": 0, "aosp_version": "10", "create_at": 1706688102, "authority_expire_time": 0, "authority_status": 1 }, { "product_id": "174310***0040832", "pod_id": "73256314***0695562", "pod_name": "入门型1080", "image_id": "img-124885506", "image_name": "paas平台公共镜像AOSP10(2024-01-05)", "tag": { "tag_id": "", "tag_name": "", "pod_num": 0, "product_id": "", "tag_desc": "" }, "dc_info": { "dc": "gdsz-ctcucm-01-xxx", "dc_name": "广东深圳三线01", "region": "cn-south", "isp": 7 }, "configuration": { "configuration_code": "sample", "configuration_name": "入门型", "configuration_type": 1 }, "data_size": "8Gi", "data_size_used": "0.748Gi", "display_layout_id": "single-display-portrait", "display_status": {}, "adb": "", "adb_status": 0, "adb_expire_time": 0, "online": 1, "intranet_ip": "", "stream_status": 2, "up_bandwidth_limit": 0, "down_bandwidth_limit": 0, "aosp_version": "10", "create_at": 1705631598, "authority_expire_time": 0, "authority_status": 1 }, { "product_id": "1743101***90040832", "pod_id": "73253219***216420", "pod_name": "旗舰4g1080和60", "image_id": "img-124885506", "image_name": "paas平台公共镜像AOSP10(2024-01-05)", "tag": { "tag_id": "", "tag_name": "", "pod_num": 0, "product_id": "", "tag_desc": "" }, "dc_info": { "dc": "gdsz-ctcucm-01-xxx", "dc_name": "广东深圳三线01", "region": "cn-south", "isp": 7 }, "configuration": { "configuration_code": "ultimate", "configuration_name": "旗舰型", "configuration_type": 1 }, "data_size": "8Gi", "data_size_used": "7.082Gi", "display_layout_id": "single-display-portrait", "display_status": {}, "adb": "", "adb_status": 0, "adb_expire_time": 0, "online": 1, "intranet_ip": "", "stream_status": 2, "up_bandwidth_limit": 0, "down_bandwidth_limit": 0, "aosp_version": "10", "create_at": 1705559556, "authority_expire_time": 0, "authority_status": 1 }, { "product_id": "174310***90040832", "pod_id": "73205227***603465", "pod_name": "基础型", "image_id": "img-124885506", "image_name": "paas平台公共镜像AOSP10(2024-01-05)", "tag": { "tag_id": "", "tag_name": "", "pod_num": 0, "product_id": "", "tag_desc": "" }, "dc_info": { "dc": "gdsz-ctcucm-01-xxx", "dc_name": "广东深圳三线01", "region": "cn-south", "isp": 7 }, "configuration": { "configuration_code": "common", "configuration_name": "通用型", "configuration_type": 1 }, "data_size": "256Gi", "data_size_used": "0.771Gi", "display_layout_id": "single-display-portrait-720p", "display_status": {}, "adb": "", "adb_status": 0, "adb_expire_time": 0, "online": 1, "intranet_ip": "", "stream_status": 2, "up_bandwidth_limit": 0, "down_bandwidth_limit": 0, "aosp_version": "10", "create_at": 1704442096, "authority_expire_time": 0, "authority_status": 1 } ], "total": 5 } }
您可访问公共错误码,获取更多错误码信息。