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?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help