Queries instance families provided by Elastic Compute Service (ECS).
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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 generation of the instance family. For more information, see Overview of instance families. Valid values:
| ecs-5 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"InstanceTypeFamilies": {
"InstanceTypeFamily": [
{
"Generation": "ecs-5",
"InstanceTypeFamilyId": "ecs.g6"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | The RegionId provided does not exist |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history