Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of setting the automatic renewal status of one or more prepaid instances

Shulou Source: shulou.com Published: 2022-06-02 04:27:29 10月02日 Update

The editor will share with you the method of setting the automatic renewal status of one or more prepaid instances. I hope you will gain a lot after reading this article. Let's discuss it together.

ModifyInstanceAutoRenewAttribute

Description

To reduce the maintenance cost of your resources upon expiration, you can set auto renewal for ECS instances with an annual or monthly plan. The automatic renewal deduction date is 9 days before the instance expires, and the deduction starts at 08:00:00 Beijing time (UTC + 8).

If the automatic debit fails on the previous day, it will continue on the next day until the debit succeeds or the instance expires 9 days later. You only need to make sure that your account balance or credit line is sufficient.

Request parameter

Return parameters

All are common return parameters. See common parameters.

Example

Request example

Https://ecs.aliyuncs.com/?Action=ModifyInstanceAutoRenewAttribute&RegionId=cn-hangzhou&InstanceId=i-instance1,i-instance2&Duration=2&AutoRenew=True&

Return the example

XML format

04F0F334-1335-436C-A1D7-6C044FE73368

JSON format

{"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"}

Error code

The following are the error codes specific to this API. For more error codes, please visit the API error Center.

After reading this article, I believe you have a certain understanding of the method of setting the automatic renewal status of one or more prepaid instances. If you want to know more about it, welcome to follow the industry information channel. Thank you for your reading!

Tags: Instance parameter error example multiple method status prepaid more format article sufficient success balance credit done cost deduction interface time Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux MariaDB Shulou Technology Apple Shulou Information