Skip to main content

DescribeImageSupportInstanceTypes

Description

call the DescribeImageSupportInstanceTypes to query the instance specifications supported by the specified image.

Request Method

POST

Request Path

/apsara/route/Ecs/DescribeImageSupportInstanceTypes

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
Filter.N.KeyBODYstringNoimageIdspecifies the filter condition Key. currently, only image ID can be filtered. the value range is: imageId: filter condition is mirror ID filter: the filter condition is mirror ID
ActionTypeBODYstringNoCreateEcsScenarios to be used for instance specifications. Value range: CreateEcs (default): create instance Upgrade: upgrade instance type Downgrade: degraded instance type
regionIdBODYstringYesNo sample value for this parameter.region id
Filter.N.ValueBODYstringNom-o6w3gy99qf89rkga****specify the filter value.
ImageIdBODYstringNom-o6w3gy99qf89rkga****mirror ID.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID to which the instance belongs. You can call the DescribeRegions to view the latest Alibaba Cloud region list.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}