https://api.yisu.com/redis/public/getConfigures
POST
application/x-www-form-urlencoded
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
| 名称 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| code | number | 非必须 | 错误码 | ||
| message | string | 非必须 | 错误信息 | ||
| data | object | 非必须 | 返回数据 | ||
| ├─ allAreas | object [] | 非必须 | 区域列表 | item 类型: object | |
| ├─ areaId | number | 必须 | 区域ID | ||
| ├─ areaName | string | 必须 | 区域名称 | ||
| ├─ allRegions | object [] | 非必须 | 机房列表 | item 类型: object | |
| ├─ regionId | number | 必须 | 机房ID | ||
| ├─ regionName | string | 必须 | 机房名称 | ||
| ├─ areaId | number | 必须 | 所属区域ID | ||
| ├─ allVersions | object [] | 非必须 | 版本 | item 类型: object | |
| ├─ versionId | string | 必须 | 版本ID | ||
| ├─ Version | string | 必须 | 版本名称 | ||
| ├─ versionClass | string | 必须 | 版本号 | ||
| ├─ allConfigures | object [] | 非必须 | 配置列表 | item 类型: object | |
| ├─ regionId | string | 必须 | 机房ID | ||
| ├─ configureName | string | 必须 | 配置名称 | ||
| ├─ configureClass | string | 必须 | 配置规格 | ||
| ├─ Memory | string | 必须 | 内存 | ||
| ├─ maxConnections | string | 必须 | 最大连接数 | ||
| ├─ maxInnerBandWidth | string | 必须 | 吞吐量(最大内网带宽) | ||
| ├─ versionClass | string | 必须 | 版本号 | ||
| requestId | string | 非必须 | 请求ID |
curl -XPOST"https://api.yisu.com/redis/public/getConfigures" \-H "content-type: application/x-www-form-urlencoded" \-d "accessId=abcdefghijklmnop&nonce=48693365&signature=wm8pQlU34oA5NAEffMtc8NQHues%3D&"
{"code": 200,"message": "请求成功","data": {"allAreas": [{"areaId": 27,"areaName": "华中"}],"allRegions": [{"regionId": 2,"regionName": "一区","areaId": 27}],"allVersions": [{"versionId": "1","Version": "Redis 5.0","versionClass": "5.0"}],"allConfigures": [{"regionId": "48","configureName": "1G主从版","configureClass": "redis-1-1-48","Memory": "1","maxConnections": "10000","maxInnerBandWidth": "12","versionClass": "5.0"}]},"requestId": "d3b7cb2e1a50c11af95ff27ac28b2ff7"}