POST /api/v2/zec HTTP/1.1
Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: DescribeImages
<Common Request Params>
Request:
{
"zoneId": "asia-east-1a",
"osType": "linux",
"pageSize": 3
}
Response:
{
"requestId": "TD67947F8-9B29-451F-9965-58AEDB4E5B7C",
"response": {
"requestId": "TD67947F8-9B29-451F-9965-58AEDB4E5B7C",
"dataSet": [
{
"imageId": "ubuntu2404_20240712",
"imageName": "Ubuntu Server 24.04 LTS",
"imageType": "PUBLIC_IMAGE",
"imageSource": "OFFICIAL",
"imageSize": "20",
"imageDescription": null,
"imageVersion": "Server 24.04 LTS",
"imageStatus": "AVAILABLE",
"nicNetworkType": ["FailOver","VirtioOnly"],
"category": "Ubuntu",
"osType": "linux",
"tags":null
},
{
"imageId": "ubuntu2204_20240712",
"imageName": "Ubuntu Server 22.04 LTS",
"imageType": "PUBLIC_IMAGE",
"imageSource": "OFFICIAL",
"imageSize": "20",
"imageDescription": null,
"imageVersion": "Server 22.04 LTS",
"imageStatus": "AVAILABLE",
"nicNetworkType": ["FailOver","VirtioOnly"],
"category": "Ubuntu",
"osType": "linux",
"tags":null
},
{
"imageId": "ubuntu2004_20240712",
"imageName": "Ubuntu Server 20.04 LTS",
"imageType": "PUBLIC_IMAGE",
"imageSource": "MARKETING",
"imageSize": "20",
"imageDescription": null,
"imageVersion": "Server 20.04 LTS",
"imageStatus": "AVAILABLE",
"nicNetworkType": ["FailOver","VirtioOnly"],
"category": "Ubuntu",
"osType": "linux",
"tags":null
}
],
"totalCount": 16
}
}