You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Images
DescribeAutoInstallPackages - Queries automatic installation packages supported by images and instance type families
Copy page
Download PDF
DescribeAutoInstallPackages - Queries automatic installation packages supported by images and instance type families
Call the DescribeAutoInstallPackages API to query the automatic installation packages supported for the specified image and instance type family.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters.​
Action string required Sample value: DescribeAutoInstallPackages​
The action that you want to perform. Value: DescribeAutoInstallPackages.​
​
Version string required Sample value: 2020-04-01​
The version of the API. Valid value: 2020-04-01.​
​
ImageId string required Sample value: image-3tksv4n6ay3vj0*****​
The image ID. To obtain it, call the DescribeImages API.​
​
InstanceTypeFamily string required Sample value: ecs.g3i​
The instance type family.​
​
​
​
Response parameters​
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure.​
Packages object[] Sample value: --​
The automatic installation packages supported by images.​
Items object[] Sample value: --​
The information about the automatic installation package.​
Bin string Sample value: CUDA​
The name of the automatic installation package.​
​
Version string Sample value: 11.4.1​
The version of the automatic installation package.​
​
​
PackgeId string Sample value: pkg-3tksv4n*****​
The ID of the automatic installation package.​
​
ScriptId string Sample value: script-3tksv4n*****​
The ID of the automatic installation script.​
​
​
​
​
Sample request​
​
GET /?Action=DescribeAutoInstallPackages&Version=2020-04-01&ImageId=image-3tksv4n6ay3vj0***** HTTP/1.1​
Host: ecs.cn-beijing.volcengineapi.com​
Region: cn-beijing​
Service: ecs​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "202106111445100102252431000052****",​
"Action": "DescribeAutoInstallPackages",​
"Version": "2020-04-01",​
"Service": "ecs",​
"Region": "cn-beijing"​
},​
"Result": {​
"Packages": [​
{​
"Items": [​
{​
"Bin": "CUDA",​
"Version": "11.4.1"​
}​
],​
"PackgeId": "pkg-3tksv4n*****",​
"ScriptId": "script-3tksv4n*****"​
}​
]​
}​
}​
​
Error codes​
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.​
​
Status code​
Error code​
Error message​
Description​
400​
MissingParameter.ImageId​
The required parameter ImageId is not supplied.​
The image ID cannot be empty.​
400​
MissingParameter.InstanceTypeFamily​
The required parameter InstanceTypeFamily is not supplied.​
The InstanceTypeFamily parameter cannot be left empty.​
​
​
Last updated: 2026.06.18 17:48:27