查询产品规格
调用方法
请参见如何调用API。
URI
GET /v1.0/products
参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
instance_id | 是 | String | 实例ID。 |
product_id | 是 | String | 产品ID。 |
请求参数
无
响应参数
状态码: 200
参数 | 参数类型 | 描述 |
|---|---|---|
engine | String | 引擎类型。 |
versions | Array of strings | 支持的版本。 |
products | Array of ProductEntity objects | 产品详情列表。 |
参数 | 参数类型 | 描述 |
|---|---|---|
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 | 查询成功。 |
错误码
请参见错误码。


