获取uredis升级价格信息 - DescribeURedisUpgradePrice
简介
获取uredis升级价格信息
定义
公共参数
| 参数名 | 类型 | 描述信息 | 必填 | 
|---|---|---|---|
| Action | string | 对应的 API 指令名称,当前 API 为 DescribeURedisUpgradePrice | Yes | 
| PublicKey | string | 用户公钥,可从 控制台 获取 | Yes | 
| Signature | string | 根据公钥及 API 指令生成的用户签名,参见 签名算法 | Yes | 
请求参数
| 参数名 | 类型 | 描述信息 | 必填 | 
|---|---|---|---|
| Region | string | 地域。 参见 地域和可用区列表 | Yes | 
| Zone | string | 可用区。参见 可用区列表 | No | 
| ProjectId | string | 项目ID。不填写为默认项目,子帐号必须填写。 请参考GetProjectList接口 | No | 
| Size | int | 购买uredis大小,单位:GB,范围是[1-32] | Yes | 
| GroupId | string | 要升级的空间的GroupId,请参考DescribeURedisGroup接口 | Yes | 
| HighPerformance | boolean | 查询高性能Redis, 默认为false, 或者不填, 查询高性能为true | No | 
响应字段
| 字段名 | 类型 | 描述信息 | 必填 | 
|---|---|---|---|
| RetCode | int | 返回状态码,为 0 则为成功返回,非 0 为失败 | Yes | 
| Action | string | 操作指令名称 | Yes | 
| Message | string | 返回错误消息,当 RetCode非 0 时提供详细的描述信息 | No | 
| Price | float | 价格 | No | 
| OriginalPrice | int | 原价 | No | 
示例
请求示例
https://api.tnqacloud.com/?Action=DescribeURedisUpgradePrice
&Region=cn-bj2
&Size=16
&GroupId=uredis-grxxxxx
&ProjectId=ePbWLFiU
&Type=QeoRUuSZ
&ProjectId=HOQJvXVm
&Type=hHdYSEwJ
&HighPerformance=false响应示例
{
  "Action": "DescribeURedisUpgradePriceResponse",
  "OriginalPrice": 16865,
  "Price": 16965,
  "RetCode": 0
}