
# 查询产品规格
#### 功能介绍
查询产品规格信息。
![](https://support.huaweicloud.com/api-hrm/public_sys-resources/note_3.0-zh-cn.png)
当前页面API为历史版本API，未来可能停止维护。请使用[查询产品规格列表](https://support.huaweicloud.com/api-hrm/ListEngineProducts.html)。
#### 调用方法
请参见[如何调用API](https://support.huaweicloud.com/api-hrm/api-call-process.html)。
#### URI
GET /v1.0/products
表1Query参数 
| 参数          | 是否必选 | 参数类型   | 描述    |
|:---|:---|:---|:---|
| instance_id | 是    | String | 实例ID。 |
| product_id  | 是    | String | 产品ID。 |
   
#### 请求参数
无
#### 响应参数
**状态码： 200**
表2响应Body参数 
| 参数       | 参数类型                                                                      | 描述      |
|:---|:---|:---|
| engine   | String                                                                    | 引擎类型。   |
| versions | Array of strings                                                          | 支持的版本。  |
| products | Array of [ProductEntity] objects | 产品详情列表。 |
   
 表3ProductEntity 
| 参数                    | 参数类型             | 描述                    |
|:---|:---|:---|
| type                  | String           | 产品类型，single或者cluster。 |
| product_id            | String           | 产品ID。                 |
| ecs_flavor_id         | String           | ECS的flavor id。        |
| billing_code          | String           | CBC的规格码。              |
| arch_types            | Array of strings | 架构类型。                 |
| charging_mode         | Object           | 计费模式。                 |
| ios                   | Object           | 支持的io类型。              |
| support_features      | Object           | 支持的特性。                |
| properties            | Object           | 产品特性。                 |
| available_zones       | Array of strings | 可用分区。                 |
| unavailable_zones     | Array of strings | 不可用分区。                |
| qingtian_incompatible | Boolean          | 是否为擎天实例。              |
   
#### 请求示例
```
GET https://{endpoint}/v1.0/products
```
#### 响应示例
**状态码： 200**
查询成功。
```
{
  "engine" : "rocketmq",
  "versions" : [ ],
  "products" : [ ]
}
```
#### 状态码
| 状态码 | 描述    |
|:---|:---|
| 200 | 查询成功。 |
   
#### 错误码
请参见[错误码](https://support.huaweicloud.com/api-hrm/ErrorCode.html)。
