Lindorm包年包月类型实例续费。
接口说明
为包年包月类型实例进行续费操作,续费周期:月、年,续费时长 1 ~ 9(月),1 ~ 3(年)。
请确保在使用该接口前,已充分了解 Lindorm 产品的收费方式和价格。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
RegionId | string | 是 | 实例所属的地域 ID,可调用 DescribeRegions 接口获取。 | cn-shanghai |
InstanceId | string | 是 | 实例 ID,可调用 GetLindormInstanceList 接口获取。 | ld-bp1z3506imz2f**** |
PricingCycle | string | 是 | 实例购买的付费周期,取值:
| Month |
Duration | integer | 是 | 实例包年包月的时间,取值:
| 1 |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "1556DCB0-043A-4444-8BD9-CF4A68E7EE64",
"InstanceId": "ld-bp1z3506imz2f****",
"OrderId": 213465921640411
}
错误码
HTTP status code | 错误码 | 错误信息 |
---|---|---|
400 | Lindorm.Errorcode.ParameterInvaild | The parameter is invalid. |
400 | Lindorm.Errorcode.Order.CreateFailed | Create order failed. |
403 | Lindorm.Errorcode.OperationDenied | You are not authorized to operate on the specified resource. |
404 | Lindorm.Errorcode.PayType.IsNotValid | Pay type is not valid. |
404 | Lindorm.Errorcode.Commodity.NotFound | Commodity is not found. |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史