UpdateCacheReserveSpec - 缓存保持变配

缓存保持变配。

调试

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

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用前面加 * 表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
esa:UpdateCacheReserveSpeccreate
*全部资源
*

请求参数

名称类型必填描述示例值
InstanceIdstring

实例 ID。

esa-cr-9tuv*********
TargetQuotaGblong

cache 申请大小,单位 GB。

1000
ChargeTypestring

计费类型

  • PREPAY:预付费。
  • POSTPAY:后付费。
PREPAY
AutoPayboolean

自动支付。

true

返回参数

名称类型描述示例值
object

响应结构。

RequestIdstring

请求 ID。

40423A7F-A83D-1E24-B80E-86DD25790759
OrderIdstring

订单 ID。

2223332122***
InstanceIdstring

实例 ID。

esa-cr-9tuv*********

示例

正常返回示例

JSON格式

{
  "RequestId": "40423A7F-A83D-1E24-B80E-86DD25790759\n",
  "OrderId": "2223332122***\n",
  "InstanceId": "esa-cr-9tuv*********"
}

错误码

HTTP status code错误码错误信息描述
400InternalErrorAn internal exception occurred, please try again later.触发内部异常,请稍后再试。
400CheckPlanFailedInvalid plan name or code. Check and try again.您配置的套餐名或套餐Code不正确,请确保已传入正确的套餐名或套餐Code后重试。
400InvalidSiteICPThe specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again.您配置的站点未备案或ICP备案信息不合法,请确保站点已完成备案后重试。
400InvalidSiteNameInvalid website name. Check and try again.您配置的站点名称不正确,请确保传入正确的站点名称后重试。
400SYSTEM.NoSpecificCodeFailedInvalid subscription duration. Check and try again.您配置的套餐购买周期不正确,请检查后重试。
400Order.InstanceHasUnpaidOrderYou have an unpaid order. Complete the payment or cancel the order first.您购买套餐未支付,请支付或作废后再下单。
400InvalidInstanceThe instance ID is missing or invalid. Make sure that the instance ID is valid and try again.实例ID缺失或者参数无效,请确认实例ID无误后重试。
400InsufficientBalanceYour account balance is insufficient.您的账号余额不足,请充值后再购买。
400InsufficientAvailableQuotaYour account balance is insufficient.您的账号已欠费,请缴清欠费后再购买。
400UpdowngradeConfigNoChangeFailed to change the configuration because the new configuration you specified is the same as the current one in use. Specify a correct configuration and try again.升级或降配的配置未改变。
400InvalidComponentThe order parameters is invalid.订单配置参数不符合校验条件。

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