Queries the instance families provided by Elastic Compute Service (ECS). You can call the DescribeInstanceTypeFamilies operation to obtain information about different series of instance families. This helps you better understand the available instance types and choose appropriate instance types to create ECS instances.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the instance family. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| Generation |
string |
No |
The series of the instance family. For more information, see Overview of instance families. Valid values:
|
ecs-5 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| InstanceTypeFamilies |
object |
||
| InstanceTypeFamily |
array<object> |
The instance families. |
|
|
object |
The series of the instance family. |
||
| Generation |
string |
The series of the instance family. |
ecs-5 |
| InstanceTypeFamilyId |
string |
The ID of the instance family. |
ecs.g6 |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"InstanceTypeFamilies": {
"InstanceTypeFamily": [
{
"Generation": "ecs-5",
"InstanceTypeFamilyId": "ecs.g6"
}
]
}
}
Error response
JSON format
{
"RequestId": "540CFF28-407A-40B5-B6A5-74Bxxxxxxxxx",
"HostId": "ecs.aliyuncs.com",
"Code": "IncompleteSignature",
"Message": "The request signature does not conform to Aliyun standards."
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | Region information error |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.