- OpenAPI 概览
- 变更历史
- 授权信息
- 数据结构
- 所有错误码
- 实例
- 镜像
- SSH密钥对
- 云盘
- 快照
- 网络
- 交换机
- 安全组
- 弹性公网IP(EIP)
- NAT网关
- 边缘负载均衡(ELB)
- 弹性网卡
- 高可用VIP
- 网络ACL
- 协同存储NAS
- 协同存储EOS
- 存储网关
- 存储卷
- 辅助IP
- 边缘容器
- 场景计算
- 边缘云安卓(AIC)
- 边缘应用托管
- 节点资源信息
- 标签
- 带宽
- 计量计费
- 其他
- 释放实例ReleaseInstance
- 创建边缘服务CreateEnsService
- 新建边边网络实例CreateEpnInstance
- 删除边边通信实例DeleteEpnInstance
- 查询可创建边缘服务资源地域DescribeEnsNetDistrict
- 查询边边网络带宽用量DescribeEpnBandWidthData
- 查询边边网络计费值DescribeEpnBandwitdhByInternetChargeType
- 查询边边通组网信息DescribeEpnInstanceAttribute
- 查询边边网络实例DescribeEpnInstances
- 获取用户边缘网络计量数据DescribeEpnMeasurementData
- 公网实例组网JoinPublicIpsToEpnInstance
- 进行组网JoinVSwitchesToEpnInstance
- 修改边边通信实例ModifyEpnInstance
- 删除公网组网下的实例RemovePublicIpsFromEpnInstance
- 删除组网信息RemoveVSwitchesFromEpnInstance
- 启动边边通信实例StartEpnInstance
- 停止边边通信实例StopEpnInstance
- 查询资源用量DescribeEnsResourceUsage
- 实例计费类型转换ModifyInstanceChargeType
- 分页查询流量带宽明细数据DescribeInstanceBandwidthDetail
- 修改实例启动配置ModifyInstanceBootConfiguration
- 查询路由表DescribeEnsRouteTables
- 删除高可用VIPDeleteHaVips
- 修改SNAT条目ModifySnatEntry
- 查询交换机的配置信息DescribeVSwitchAttributes
- 修改ENS自定义路由ModifyEnsRouteEntry
- 获取所有产品能力ListProductAbilities
- 查询实例启动配置DescribeInstanceBootConfiguration
- 导入镜像ImportImage
ModifyInstanceChargeType - 实例计费类型转换
吐槽
获取元数据调用ModifyInstanceChargeType更换一台或者多台ENS实例的计费方式。支持在实例级后付费实例和包年包月实例间相互转换,同时针对实例级后付费实例可以将随实例创建的后付费云盘转换为包年包月云盘。
更新时间: 2024-05-22 06:18
插件下载了解更多
Alibaba Cloud Developer ToolkitbetaAlibaba Cloud OpenAPI
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
Alibaba Cloud Developer ToolkitbetaAlibaba Cloud OpenAPI
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.
接口说明
请确保在使用该接口前,已充分了解 ENS 产品的收费方式和价格。
目标实例的状态必须为运行中或者已停止,并且无欠费的情况下才能修改计费方式。
流控信息
请求速率为100/1(s)。
授权信息
请求参数
字段名称 | 字段详情 |
---|---|
InstanceIdsarray<string> | 实例 ID 列表。 子级条数 <= 20子级条数 >= 1 |
InstanceChargeTypestring | 实例需要修改的目标计费方式。取值:展开详情 示例值:PostPaid枚举值:PostPaidPrePaid参考取值来源: CreateEipInstance |
AutoRenewboolean | 实例级后付费转为包年包月的时候是否开启自动续费。取值:展开详情 示例值:false |
Periodstring | 实例级后付费转为包年包月的时候的包年包月时长,如果是此场景下该字段必填。取值:展开详情 示例值:1枚举值:12345678912 |
PeriodUnitstring | 实例级后付费转为包年包月的时候的购买资源的时长单位,如果是此场景下该字段必填。取值:展开详情 示例值:Month枚举值:YearMonthDay |
IncludeDataDisksboolean | 实例级后付费转为包年包月的时候是否将随实例创建的所有按量付费数据盘一起转换为包年包月数据盘。取值:展开详情 示例值:true |
AutoPayboolean | 实例级后付费转为包年包月的时候是否自动支付。取值:展开详情 示例值:false |
返回参数
字段名称 | 字段详情 |
---|---|
RequestIdstring | 请求 ID。 示例值:E2CE5821-7A18-5F7B-A18A-1C751B933D2A |
InstanceIdsarray<string> | 实例 ID 列表。 |
OrderIdinteger<int64> | 生成的订单 ID。 注意
请注意,该值为 Long 类型,在某些语言中可能存在精度丢失的风险,请小心使用。 示例值:21522202681**** |
返回示例
错误码
没有我想要的错误码, 点击 反馈
全局错误码HTTP 状态码 | 错误码 | 错误信息 | 操作 |
---|---|---|---|
400 | VALIDATE.MODULE.FAILED | Required module is not selected. | 诊断 |
400 | ens.interface.error | Failed to call API. | 诊断 |
400 | OrderFailed | Order failed, please try again. | 诊断 |
400 | SystemUseCouponFailed | Failed to use coupon. | 诊断 |
400 | SystemUseStoredCardFailed | Failed to use stored value card. | 诊断 |
400 | System.SystemError | system error. | 诊断 |
400 | SystemCanRefundCheckFailed | The business rule check of the cloud product fails, and this order cannot be refunded. | 诊断 |
400 | SystemOtsSystem | ots storage error. | 诊断 |
400 | SystemQueryImmortalError | Failed to call Juxiange. | 诊断 |
400 | SystemQueryInstanceInfoFailed | Failed to find instance information. | 诊断 |
400 | SystemResellerPayCalRefundUnitError | Ecological payment channel calculation unsubscribe information error. | 诊断 |
400 | SystemSaleValidateFailed | Sales Expression Validation System Error. | 诊断 |
400 | SystemTransferDeleteOldResourceFailed | Failed to delete the transferred instance in the transfer order. | 诊断 |
400 | SystemUnSupportOperationType | Unsupported operation type. | 诊断 |
400 | RiskRiskControlRejection | Risk Control Rejection. | 诊断 |
400 | AuthRamAuthFailed | ram sub-account authentication failed. | 诊断 |
400 | CommodityInvalidComponent | The module you purchased is illegal, please re-select. | 诊断 |
400 | CommodityInvalidItemCode | Specification code illegal. | 诊断 |
400 | PriceHsfTimeoutError | Time out when calling the request for quotation interface. | 诊断 |
400 | PricePatingConfigError | Inquiry related goods configuration error. | 诊断 |
400 | PricePricingPlanResultNotFound | Pricing plan price result not found. | 诊断 |
400 | PriceRatingGetRatingpricingPlan | Obtain a valid pricing plan exception. | 诊断 |
400 | OrderAbnormalResourceStatusForRenew | Invalid resource status for renewal. | 诊断 |
400 | OrderAccountStatusIllegal | Illegal account status. | 诊断 |
400 | OrderArrearage | User Arrears. | 诊断 |
400 | OrderBidUserOrderForbidden | Bid users cannot buy on the official website. | 诊断 |
400 | OrderCaptureFailed | The paid order of the instance has not been deducted successfully. | 诊断 |
400 | OrderExistsReleasedInstances | There are already released instances. | 诊断 |
400 | OrderGroupOrderSizeOverflow | The quantity of bound combined payment order exceeds the limit. | 诊断 |
400 | OrderHomeCurrencyCanNotDowngrade | Users in current currency cannot downgrade. | 诊断 |
400 | OrderHomeCurrencyCanNotUpgradeByValueTransfer | Users of current currency cannot upgrade through residual value transfer. | 诊断 |
400 | OrderInstanceHasInactiveChange | Instances exist temporary upgrade. | 诊断 |
400 | OrderInstHasUnpaidOrder | The instance has an unpaid order. | 诊断 |
400 | OrderInstHasUnsettledBills | The instance has an unsettled bill. | 诊断 |
400 | OrderLatestOrderIsHandling | Recent order is being processed, please try again later. | 诊断 |
400 | OrderMainOrderSizeOverflow | The quantity of the main order exceeds the limit. | 诊断 |
400 | OrderMissingModuleInfoError | Module parameter not specified. | 诊断 |
400 | OrderNoRealNameAuthentication | No real-name authentication. | 诊断 |
400 | OrderNotFound | The specified order information is not found. | 诊断 |
400 | OrderOpend | You have activated this product. | 诊断 |
400 | OrderPeriodInvalid | Illegal order cycle. | 诊断 |
400 | OrderQuantityInvalid | Illegal quantity ordered. | 诊断 |
400 | OrderQueryInstanceError | Query instance error. | 诊断 |
400 | OrderQueryInstanceNotExists | Instance data does not exist. | 诊断 |
400 | OrderQueryOrderExchangeRateFail | Failed to query order exchange rate information. | 诊断 |
400 | OrderQueryUserSettleInfoFail | Failed to query user settlement information. | 诊断 |
400 | OrderQuotaExceeded | Quantity exceeds limit. | 诊断 |
400 | OrderSysConstraintInvalid | System constraint check failed. | 诊断 |
400 | OrderTradeCompleteSettleInfoFail | Failed to complete the order settlement currency amount information. | 诊断 |
400 | TradeTradeOrderAfterPayCheckError | You have already paid for the subsequent orders of this instance. The current order has been automatically voided and you cannot pay any more. | 诊断 |
400 | PurchaseExistRenewchangeProd | There is a renewal change subscription that has not yet taken effect. | 诊断 |
400 | PurchaseExistToBeValidProdRuleError | Currently, there are temporary orders that are not in effect, and the upgrade operation cannot be performed. | 诊断 |
400 | PurchaseExistToBeValidRenewChangeProdRuleError | Currently, there is an uneffective renewal change subscription, and temporary upgrade operation cannot be performed. | 诊断 |
400 | PurchaseExistValidProdRuleError | Currently, there is a temporary order in effect, and operations such as upgrade/downgrade/expansion/pre-transfer cannot be performed. | 诊断 |
400 | ProductInstanceReleased | Instance released. | 诊断 |
400 | ProductInstanceTypeNotSupported | The instance type is not supported. | 诊断 |
400 | PatRiskRejectForTradeData | Payment order problem leads to risk control rejection. | 诊断 |
400 | PayAccountBookNotExist | There is no insufficient account balance in the account book, please retry after recharging. | 诊断 |
400 | PayAmountLimitExceeded | Payment limit exceeded, please resubmit. | 诊断 |
400 | PayBeforePayRiskRuleValidateFailed | The payment was blocked by risk control, and the payment failed. | 诊断 |
400 | PayCounponNotExist | Counpon does not exist. | 诊断 |
400 | PayCouponAmountNotEnough | Insufficient voucher balance or expired. | 诊断 |
400 | PayCouponNotMeetConsumptionRule | The coupon does not meet the conditions for use. | 诊断 |
400 | PayCurrencyInconsistency | Currency mismatch. | 诊断 |
400 | PayCurrencyNotSupported | Currency not supported. | 诊断 |
400 | PayForbiddenNoReasonFefund | Banned five days no reason refund. | 诊断 |
400 | PayHsfTimeoutError | Call payment system timeout. | 诊断 |
400 | PayInsufficientBalance | Account balance is insufficient, please recharge and try again. | 诊断 |
400 | PayInvalidCreditCard | Invalid credit card. | 诊断 |
400 | PayInvalidPayMethod | Illegal payment method. | 诊断 |
400 | PayMegrePayOrderHasThanOneChagreChannel | Payment failed, please retry or submit work order feedback. | 诊断 |
400 | PayNoCreditCard | No valid payment method, please check the payment method and try again. | 诊断 |
400 | PayOrderPayTimeInvalid | Order effective time is invalid. | 诊断 |
400 | PayPartRefundNotSupport | Not Capture, no partial refund. | 诊断 |
400 | PayPayChannelPayOrderInvalidStatus | Illegal status of payment order in payment channel. | 诊断 |
400 | PayPayChannelPayOrderNotExist | Payment channel payment order does not exist. | 诊断 |
400 | PayPayerAccountIllegal | Illegal payment account. | 诊断 |
400 | PayPayFailedParentRelationchanged | If the financial custody relationship changes, please void the order and place a new order for payment. | 诊断 |
400 | PayPayForbidUserCoupon | Coupon prohibited for orders. | 诊断 |
400 | PayQueryAvailableAmountFailed | Failed to query user availability, please try again later. | 诊断 |
400 | PayQueryAvailableEnduserAmountFailed | Failed to query the availability of quota direct customer main user, please try again later. | 诊断 |
400 | PayQueryParentRelationshipFailed | Failed to query current user hosting relationship, please try again later. | 诊断 |
400 | PayQueryPayChangeChannelNotEqual | Multi-order payment channels are inconsistent, please check whether the original order data payment channel is correct. | 诊断 |
400 | PayRefundFailed | Accumulated refund amount exceeds payment order amount. | 诊断 |
400 | PayResellerPayGetUrlError | Order payment failed, please try again later. | 诊断 |
400 | PayRiskRejectForPayerAccount | Payment account problem leads to risk control rejection. | 诊断 |
400 | PayStoredCardNotExist | Stored value card does not exist. | 诊断 |
400 | PaySystemError | Error calling payment system. | 诊断 |
400 | PayTaxCalcFailed | Failed to get user tax address. | 诊断 |
400 | PayWithholdingAgreementIllegal | Withholding Agreement Status Illegal. | 诊断 |
400 | AccountAliyunAccountFrozen | Alibaba Cloud account is frozen. | 诊断 |
400 | AccountAliyunAccountNotExist | Alibaba Cloud account does not exist. | 诊断 |
400 | RefundRefundInstanceNotFound | Unable to find instance information. | 诊断 |
400 | RefundRefundNoValidProd | Refund is not available to unsubscribe. | 诊断 |
400 | RefundRefundParamInvalid | Abnormal refund parameter. | 诊断 |
400 | RefundRefundQueryOrderFail | Failed to query order for refund field. | 诊断 |
400 | SystemConcurrentOperate | Concurrent operation causes failure. | 诊断 |
400 | PricePricingPlanNotFound | Pricing plan tree not found. | 诊断 |
400 | OrderInstanceHasTempUpgrade | Instances exist temporary upgrade. | 诊断 |
400 | PayQueryParentRelationchangedFailed | The financial custody relationship may change, please refresh and pay again. | 诊断 |
400 | PayforCreditPayInsufficientBalance | Insufficient quota, please contact your channel partner to increase the quota. | 诊断 |
400 | PayforAccountMoneyValidateError | The available amount of your channel partner's account is insufficient, please contact your channel partner to recharge in time. | 诊断 |
400 | BasicInfoUncompleted | You have not completed your basic personal information. Please complete the information and re-operate it. | 诊断 |
400 | NoPermission | Permission denied. | 诊断 |
400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | 诊断 |
变更历史
变更时间 | 变更内容概要 | 操作 | |
---|---|---|---|
2024-08-19 | 变更错误码400 | ||
2024-06-13 | 新增错误码400 |
相关示例
暂无示例