Last updated: 2019-11-29 19:42:24


1. API Description

API domain name:

This API inquires about the price of scaling out the specified instance

Default API request rate limit: 20 requests/sec.

2. Input Parameters

The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common parameter. The name of this API: InquiryPriceScaleOutInstance
Version Yes String Common parameter. The version of this API: 2019-01-03
Region Yes String Common parameter. For more information, see the list of regions supported by the product.
TimeUnit Yes String Time unit, which is second in pay-as-you-go use cases.
TimeSpan Yes Integer Time span, which is 3,600 in pay-as-you-go use cases.
ZoneId Yes Integer Zone ID
PayMode Yes Integer Billing method
InstanceId Yes String Instance ID
CoreCount Yes Integer Number of core nodes to add
TaskCount Yes Integer Number of task nodes to add
Currency Yes String Currency

3. Output Parameters

Parameter name Type Description
Result InquiryPriceResult Scale-out price
RequestId String The ID of the request. Each request returns a unique ID. The RequestId is required to troubleshoot issues.

4. Examples

Example 1. Inquiring About the Price of Scale-out

Input Sample Code
&<Common request parameter>

Output Sample Code

  "Response": {
    "Result": {
      "OriginalCost": 0.09,
      "DiscountCost": 0.09,
      "TimeUnit": "m",
      "TimeSpan": 1
    "RequestId": "40c941da-fe3e-4f52-b816-dbddff308c47"

5. Developer Resources

API Explorer

This tool provides various capabilities such as online call, signature verification, SDK code generation, and quick API retrieval that significantly reduce the difficulty of using TencentCloud API.


TencentCloud API 3.0 integrates software development toolkits (SDKs) that support various programming languages to make it easier for you to call the APIs.

6. Error Codes

The following error codes are API business logic-related.

Error Code Description
InternalError.Test The selected spec is sold out.