全部产品
Search
文档中心

边缘安全加速:DescribeCacheReservePrice - 查询缓存保持价格

更新时间:Jun 25, 2026

调用DescribeCacheReservePrice查询缓存保持实例价格。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

Period

integer

购买周期(单位:月)。

2

QuotaGb

integer

缓存保持规格(单位:GB)。

512000

CrRegion

string

缓存保持区域

  • HK:中国香港

  • CN:中国大陆

HK

返回参数

名称

类型

描述

示例值

object

响应结构。

RequestId

string

请求 ID。

2430E05E-1340-5773-B5E1-B743929F46F2

PriceModel

object

价格信息。

Price

number

订单最终价,实际交易价。

1

Currency

string

币种:

  • JPY:日元。

  • USD:美元。

  • CNY:人民币。

CNY

TotalPrice

number

订单原价 = 订单实际交易价 + 订单优惠金额。

2

DiscountPrice

number

订单优惠金额。

1

Rule

object

RuleList

array<object>

命中策略。

object

Name

string

策略名称。

Policy A

RuleDescId

integer

策略 ID。

1

示例

正常返回示例

JSON格式

{
  "RequestId": "2430E05E-1340-5773-B5E1-B743929F46F2",
  "PriceModel": {
    "Price": 1,
    "Currency": "CNY",
    "TotalPrice": 2,
    "DiscountPrice": 1,
    "Rule": {
      "RuleList": [
        {
          "Name": "Policy A",
          "RuleDescId": 1
        }
      ]
    }
  }
}

错误码

HTTP status code

错误码

错误信息

描述

400 InternalError An internal exception occurred, please try again later. 触发内部异常,请稍后再试。
400 CheckPlanFailed Invalid plan name or code. Check and try again. 您配置的套餐名或套餐Code不正确,请确保已传入正确的套餐名或套餐Code后重试。
400 InvalidSiteICP The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. 您配置的站点未备案或ICP备案信息不合法,请确保站点已完成备案后重试。
400 InvalidSiteName Invalid website name. Check and try again. 您配置的站点名称不正确,请确保传入正确的站点名称后重试。
400 SYSTEM.NoSpecificCodeFailed Invalid subscription duration. Check and try again. 您配置的套餐购买周期不正确,请检查后重试。
400 InvalidComponent The order parameters is invalid. 订单配置参数不符合校验条件。

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情