You can call this operation to query the instance type family list provided by ECS.


You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Name Type Required Example Description
RegionId String Yes cn-hangzhou

The region ID of the instance. You can call the DescribeRegions operation to view the latest region list.

Action String No DescribeInstanceTypeFamilies

The operation that you want to perform. Set the value to DescribeInstanceTypeFamilies.

Generation String No ecs-3

The generation of the instance type family. For more information, see Instance type families. Valid values:

  • ecs-1: Generation I, which consists of the earliest and cost-effective instance types.
  • ecs-2: Generation II, which is available later than the first generation of instance type families.
  • ecs-3: Generation III, which consists of the quick-response and high-performance instance types.
  • ecs-4: Generation IV, which consists of the latest, low-latency, and wide-application instance types.

Response parameters

Name Type Example Description

The returned instance type family information. It is an array that consists of InstanceTypeFamilyItemType data.

 └Generation String ecs-1

The generation of the instance type family.

 └InstanceTypeFamilyId String ecs.g5

The ID of the instance type family.

RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The request ID.


Sample requests
&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

View error codes