文档

RenewBackupPlan - 续费备份计划

更新时间:

该接口用于续费一个DBS备份计划。

调试

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

授权信息

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

请求参数

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

备份计划 ID,可通过调用 DescribeBackupPlanList 接口获取此参数的值。

dbstooi01exxx
Periodstring

指定预付费实例为包年或者包月类型,取值:

  • Year:包年
  • Month:包月
Month
UsedTimeinteger

指定购买时长,取值:

  • 当参数 Period 为 Year 时,UsedTime 取值为 1~5。
  • 当参数 Period 为 Month 时,UsedTime 取值为 1~11。
1
ClientTokenstring

用于保证请求的幂等性,防止重复提交请求。

HKAJHFIUEQWBFIJSNFOIWHN

返回参数

名称类型描述示例值
object
HttpStatusCodeinteger

Http 状态码。

200
RequestIdstring

请求 ID。

D6E068C3-25BC-455A-85FE-45F0B22ECB1F
ErrCodestring

错误码。

Param.NotFound
Successboolean

是否调用成功。

true
ErrMessagestring

错误信息。

The specified parameter %s value is not valid.
BackupPlanIdstring

备份计划 ID。

dbstooi01exxx
OrderIdstring

订单 ID。

202020202020

示例

正常返回示例

JSON格式

{
  "HttpStatusCode": 200,
  "RequestId": "D6E068C3-25BC-455A-85FE-45F0B22ECB1F",
  "ErrCode": "Param.NotFound",
  "Success": true,
  "ErrMessage": "The specified parameter %s value is not valid. ",
  "BackupPlanId": "dbstooi01exxx",
  "OrderId": "202020202020"
}

错误码

HTTP status code错误码错误信息描述
403Request.ForbiddenHave no Permissions当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作

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

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
文档反馈