Home > Operation and Maintenance > Linux Operation and Maintenance > How to set the automatic renewal status of one or more prepaid instances

How to set the automatic renewal status of one or more prepaid instances

坏嘻嘻
Release: 2018-09-20 14:21:24
Original
2748 people have browsed it

This article introduces how to set the automatic renewal status of one or more prepaid instances, and focuses on the specific steps. The content of this article is compact, and I hope you can gain something from it.

ModifyInstanceAutoRenewAttribute

Description

In order to reduce your resource expiration maintenance costs, annual and monthly ECS instances can be set to automatically For renewal, the automatic renewal and deduction date is the 9th day before the instance expires, and the deduction starts at 08:00:00 Beijing time (UTC 8).

If the automatic deduction fails on the previous day, it will continue to be executed regularly on the next day until the deduction is successful or the instance expires and is locked after 9 days. You only need to ensure that your account has sufficient balance or credit limit.

Request parameters

How to set the automatic renewal status of one or more prepaid instances

##Return parameters

are all public return parameters. See Public Parameters.

Example

Request example

https://ecs.aliyuncs.com/?Action=ModifyInstanceAutoRenewAttribute
&RegionId=cn-hangzhou
&InstanceId=i-instance1,i-instance2
&Duration=2
&AutoRenew=True
&<公共请求参数>
Copy after login

Return example

XML format

<ModifyInstanceAutoRenewAttributeResponse>
    <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</ModifyInstanceAutoRenewAttributeResponse>
Copy after login

JSON format

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

Error code

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

How to set the automatic renewal status of one or more prepaid instances

The above is the detailed content of How to set the automatic renewal status of one or more prepaid instances. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template