In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to change the billing method for one or more instances? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
ModifyInstanceChargeType
Change the billing method for one or more instances. Switch between postpaid instances and prepaid (prepaid) instances is supported. At the same time, all postpaid cloud disks mounted to instances can be converted to prepaid cloud disks.
Description
When calling this interface, you need to be aware of:
Members who reach a certain level can use the prepaid pay-per-view function.
The billing method can only be modified if the status of the target instance must be Running or Stopped, and there is no arrears.
If the postpaid instance has set the release time, this API cannot be called.
Batch operations are supported, and the billing method of up to 20 instances can be modified at a time.
You can convert all postpaid data disks mounted to instances into prepaid data disks at the same time.
When a prepaid instance changes to a mortgage quantity instance, the new billing method will cover the entire life cycle of the instance. You will receive a refund of the price difference before and after the modification of the instance billing and return it to your original payment channel, and the used vouchers will not be returned.
After the billing method is changed, the fee will be deducted automatically by default. You need to make sure that the account balance is sufficient, otherwise an abnormal order will be generated and the order can only be cancelled at this time. If your account balance is insufficient, you can set the parameter AutoPay to false, and a normal unpaid order will be generated. You can log in to the ECS Management console to pay.
Request parameter
Return parameters
Example
Request example
Https://ecs.aliyuncs.com/?Action=ModifyInstanceChargeType&RegionId=cn-hangzhou&InstanceIds=["i-xxxxx1","i-xxxxx2"]&Period=1&PeriodUnit=Month&AutoPay=false&IncludeAllDisks=true&ClientToken=xxxxxxxxxxxxxx&
Return the example
XML format
04F0F334-1335-436C-A1D7-6C044FExxxxx 10111111111xxxxx
JSON format
{"RequestId": "04F0F334-1335-436C-A1D7-6C044FExxxxx", "OrderId": 1011111111111111,}
Error code
The following are the error codes specific to this API. For more error codes, please visit the API error Center.
Thank you for reading! After reading the above, do you have a general understanding of the billing method of how to replace one or more instances? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.