tencent cloud

All product documents
APIs
OpenProVersionPrepaid
Last updated: 2019-06-26 20:07:59
OpenProVersionPrepaid
Last updated: 2019-06-26 20:07:59

1. API Description

Domain name for API request: yunjing.tencentcloudapi.com.

This API (OpenProVersionPrepaid) is used to activate HS Pro (prepaid).

Default request rate limit: 20/sec.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common parameter. The value​used for this API: OpenProVersionPrepaid.
Version Yes String Common parameter. The value used for this API: 2/28/2018
Region No String Common parameter. This parameter is not required for this API.
ChargePrepaid Yes ChargePrepaid Purchase-related parameter.
Machines.N Yes Array of ProVersionMachine Array of information of the hosts with HS Pro activated.

3. Output Parameters

Parameter Name Type Description
DealIds Array of String Order ID list.
RequestId String The unique ID of a request, which is required for each troubleshooting case.

4. Example

Example 1 Activate HS Pro (prepaid)

Input example

https://yunjing.tencentcloudapi.com/?Action=OpenProVersionPrepaid
&ChargePrepaid.Period=1
&Machines.0.MachineType=CVM
&Machines.0.MachineRegion=ap-guangzhou
&Machines.0.Quuid=add4a78a-0d59-11e8-b7ab-00e081e1a5c5
&<Common request parameters>

Output example

{
  "Response": {
    "RequestId": "354f4ac3-8546-4516-8c8a-69e3ab73aa8a",
    "DealIds": [
      "20171201110011"
    ]
  }
}

5. Resources for Developers

API Explorer

This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using cloud APIs.

6. Error Codes

The following only lists the error codes related to this API. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation.TradeError Transaction error.
InternalError Internal error.
InvalidParameter.InvalidFormat Incorrect parameter format.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon