DescribeImages
Last updated
Last updated
This API is used to view the list of images.
Note
The images in the list are not applicable to all instance models. You can query the imageIds
returned by DescribeInstanceTypes
to get the images applicable to specific models.
The following request parameter list only provides API request parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Parameter Name | Type | Description |
---|---|---|
Query the information of images without any parameters.
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
HTTP Status Code | Error Code | Description |
---|---|---|
imageIds
No
Array of String
List of image IDs.
imageName
No
String
Image name.
catalog
No
String
Image catalog. The optional values are as follows:
CentOS
Windows
Ubuntu
Debian
ESXi
imageType
No
String
Image type. The optional values are as follows:
PUBLIC_IMAGE: public images
CUSTOM_IMAGE: custom images
You cannot create a custom image by yourself currently. If necessary, please submit a ticket.
osType
No
String
Operating system type. The optional values are as follows:
Windows
Linux
instanceTypeId
No
String
Supported instance model ID.
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
images
Array of ImageInfo
Information on images.
404
INVALID_INSTANCE_TYPE_NOT_FOUND
Instance type not found.