Todos los productos
Search
Centro de documentos

ENS:RenewInstance

Última actualización: Sep 22, 2026

Renueva una instancia de suscripción.

Pruébelo ahora

Pruebe esta API en OpenAPI Explorer sin necesidad de firma manual. Las llamadas exitosas generan automáticamente código SDK acorde a sus parámetros. Descárguelo con seguridad de credenciales integrada para uso local.

Test

Autorización de RAM

La siguiente tabla describe la autorización necesaria para invocar esta API. Puede definirla en una directiva de Resource Access Management (RAM). A continuación, se detallan las columnas de la tabla:

  • Action: Estas acciones se utilizan en el elemento Action de las declaraciones de directivas de permisos de RAM para otorgar permisos que permitan realizar la operación.

  • API: La API que debe invocarse para llevar a cabo la acción.

  • Nivel de acceso: Nivel de acceso predefinido que se concede para cada API. Valores válidos: create, list, get, update y delete.

  • Tipo de recurso: Tipo de recurso que admite autorización para ejecutar la acción. Indica si la acción es compatible con permisos a nivel de recurso. El recurso especificado debe ser compatible con la acción; de lo contrario, la directiva no surtirá efecto.

    • En las API con permisos a nivel de recurso, los tipos de recursos obligatorios se marcan con un asterisco (*). Especifique el Alibaba Cloud Resource Name (ARN) correspondiente en el elemento Resource de la directiva.

    • Para las API sin permisos a nivel de recurso, se muestra All Resources. Utilice un asterisco (*) en el elemento Resource de la directiva.

  • Clave de condición: Claves de condición definidas por el servicio. Permiten un control granular y se aplican ya sea solo a acciones o a acciones asociadas con recursos específicos. Además de las claves de condición específicas del servicio, Alibaba Cloud proporciona un conjunto de common condition keys aplicables a todos los servicios compatibles con RAM.

  • Acción dependiente: Acciones dependientes necesarias para ejecutar la acción principal. Para completar la operación, el usuario de RAM o el rol de RAM debe contar con permisos para realizar todas las acciones dependientes.

Action

Nivel de acceso

Tipo de recurso

Clave de condición

Acción dependiente

ens:RenewInstance

none

*Todos los recursos.

*

Ninguna Ninguna

Parámetros de la solicitud

Parámetro

Tipo

Obligatorio

Descripción

Ejemplo

InstanceId

string

Sí

El ID de la instancia que desea renovar.

Solo se admiten las instancias de suscripción cuyo InstanceResourceType es EnsInstance. Las instancias de pago por uso no se pueden renovar.

i-56789acfmxazb4p****

Period

integer

Sí

La duración de la renovación de la suscripción.

Valores válidos:

  • 1 :

    1 ciclo de facturación.

  • 2 :

    2 ciclos de facturación.

  • 3 :

    3 ciclos de facturación.

  • 4 :

    4 ciclos de facturación.

  • 5 :

    5 ciclos de facturación.

  • 6 :

    6 ciclos de facturación.

  • 7 :

    7 ciclos de facturación.

  • 8 :

    8 ciclos de facturación.

  • 9 :

    9 ciclos de facturación.

  • 12 :

    12 ciclos de facturación.

1

Elementos de la respuesta

Elemento

Tipo

Descripción

Ejemplo

object

RequestId

string

El parámetro común. Cada solicitud tiene un ID único que puede utilizarse para solucionar problemas y localizar incidencias.

86A6D421-A0C7-4C01-8648-47377CA6A2CE

Ejemplos

Respuesta exitosa

JSON Formato

{
  "RequestId": "86A6D421-A0C7-4C01-8648-47377CA6A2CE"
}

Códigos de error

Código de estado HTTP

Código de error

Mensaje de error

Descripción

400 SystemError Interface call error, please re-match, or contact the product.
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.

Consulte Códigos de error para ver la lista completa.

Notas de la versión

Consulte Notas de la versión para ver la lista completa.