Lindorm包年包月类型实例续费。
接口说明
为包年包月类型实例进行续费操作,续费周期:月、年,续费时长 1 ~ 9(月),1 ~ 3(年)。
请确保在使用该接口前,已充分了解 Lindorm 产品的收费方式和价格。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
实例所属的地域 ID,可调用 DescribeRegions 接口获取。 |
cn-shanghai |
| InstanceId |
string |
是 |
实例 ID,可调用 GetLindormInstanceList 接口获取。 |
ld-bp1z3506imz2f**** |
| PricingCycle |
string |
是 |
实例购买的付费周期,取值:
|
Month |
| Duration |
integer |
是 |
实例包年包月的时间,取值:
|
1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果 |
||
| RequestId |
string |
请求 ID。 |
1556DCB0-043A-4444-8BD9-CF4A68E7EE64 |
| InstanceId |
string |
实例 ID |
ld-bp1z3506imz2f**** |
| OrderId |
integer |
订单 ID。您可以在阿里云费用与成本的订单管理中获取。 |
213465921640411 |
| AccessDeniedDetail |
string |
访问被拒绝的详细原因。 |
{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"} |
示例
正常返回示例
JSON格式
{
"RequestId": "1556DCB0-043A-4444-8BD9-CF4A68E7EE64",
"InstanceId": "ld-bp1z3506imz2f****",
"OrderId": 213465921640411,
"AccessDeniedDetail": "{\"AuthAction\":\"xxx\",\"AuthPrincipalDisplayName\":\"222\",\"AuthPrincipalOwnerId\":\"111\",\"AuthPrincipalType\":\"SubUser\",,\"NoPermissionType\":\"ImplicitDeny\",\"PolicyType\":\"AccountLevelIdentityBasedPolicy\",\"EncodedDiagnosticMessage\":\"xxxxxx\"}"
}
错误码
|
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. | |
| 403 | API.Forbidden | The API operation is forbidden in this environment. | 操作失败,当前环境中该API无法使用。 |
| 403 | Lindorm.Errorcode.ServiceLinkedRoleNoPermission | No permission to create service linked role. | 操作失败,请先申请创建服务关联角色的权限。 |
| 404 | Lindorm.Errorcode.PayType.IsNotValid | Pay type is not valid. | |
| 404 | Lindorm.Errorcode.Commodity.NotFound | Commodity is not found. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。