The content of this article is about how to renew a prepaid instance easily and quickly. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
RenewInstance
Renew a prepaid instance.
Description
When calling this interface, you need to pay attention:
This interface only supports renewal of annual and monthly ECS instances. .
Except for 0 discount accounts, when making payment, the coupons available under your account will be used first by default.
Your account must support account balance payment or credit payment.
Request parameters
##Return parameters
are all public return parameters. See Public ParametersExample
Request Example
https://ecs.aliyuncs.com/?Action=RenewInstance &InstanceId=i-instance1 &Period=1 &<公共请求参数>
Return Example
XML format
<ModifyInstanceSpecResponse> <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId> </ModifyInstanceSpecResponse>
JSON format
{ "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E" }
Error code
The following are error codes unique to this interface. For more error codes, please visit the API Error Center.The above is the detailed content of How to renew a prepaid instance easily and quickly. For more information, please follow other related articles on the PHP Chinese website!